ZyXEL p-662h-61 Mode D'Emploi

Page de 561
Prestige 662HW Series User’s Guide
551
Appendix Q Log Descriptions
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.
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.
 
Figure 331   Log Command Example
ras> sys logs load
ras> sys logs category access 3
ras> sys logs save
ras> sys logs display access
#  .time                 source                 destination            notes
    message
  7|01/01/2000 09:40:13 |192.168.1.1:3         |192.168.1.33:1        |ACCESS FO
RWARD
    Router reply ICMP packet: ICMP(type:3, code:1)
  8|01/01/2000 09:40:07 |192.168.1.1:3         |192.168.1.33:1        |ACCESS FO
RWARD
    Router reply ICMP packet: ICMP(type:3, code:1)
  9|01/01/2000 09:40:04 |192.168.1.1:3         |192.168.1.33:1        |ACCESS FO
RWARD
    Router reply ICMP packet: ICMP(type:3, code:1)
 10|01/01/2000 09:40:04 |192.168.1.33:1199     |207.69.188.186:110    |ACCESS FO
RWARD
    Firewall default policy: TCP (L to W)
 11|01/01/2000 09:40:04 |192.168.1.1:53        |192.168.1.33:1200     |ACCESS FO
RWARD
    none: UDP