Log Command Example - ZyXEL Communications P-660H-D Series User Manual

Adsl 2+ gateway
Hide thumbs Also See for P-660H-D Series:
Table of Contents

Advertisement

P-660R/H-D Series User's Guide
5 Step 5.Use the sys logs save command to store the settings in the Prestige (you must do
this in order to record logs).
Displaying Logs
• Use the sys logs display command to show all of the logs in the Prestige's log.
• Use the sys logs category display command to show the log settings for all of the log
categories.
• Use the sys logs display [log category] command to show the logs in an individual
Prestige log category.
• Use the sys logs clear command to erase all of the Prestige's logs.

Log Command Example

This example shows how to set the Prestige to record the access logs and alerts and then view
the results.
ras> sys logs load
ras> sys logs category access 3
ras> sys logs save
ras> sys logs display access
#.time
message
0|06/08/2004 05:58:21 |172.21.4.154
BLOCK
Firewall default policy: IGMP (W to W/ZW)
1|06/08/2004 05:58:20 |172.21.3.56
BLOCK
Firewall default policy: IGMP (W to W/ZW)
2|06/08/2004 05:58:20 |172.21.0.2
BLOCK
Firewall default policy: IGMP (W to W/ZW)
3|06/08/2004 05:58:20 |172.21.3.191
BLOCK
Firewall default policy: IGMP (W to W/ZW)
4|06/08/2004 05:58:20 |172.21.0.254
BLOCK
Firewall default policy: IGMP (W to W/ZW)
5|06/08/2004 05:58:20 |172.21.4.187:137
BLOCK
Firewall default policy: UDP (W to W/ZW)
411
Use 0 to not record logs for that category, 1 to record only logs for that
category, 2 to record only alerts for that category, and 3 to record both
logs and alerts for that category. Not every parameter is available with
every category.
source
destination
|224.0.1.24
|239.255.255.250
|239.255.255.254
|224.0.1.22
|224.0.0.1
|172.21.255.255:137
Appendix M Log Descriptions
notes
|ACCESS
|ACCESS
|ACCESS
|ACCESS
|ACCESS
|ACCESS

Advertisement

Table of Contents
loading

Table of Contents