Displaying logs, Log command example – ZyXEL Communications ZyXEL ZyWALL 35 User Manual

Page 690

Advertising
background image

ZyWALL 35 User’s Guide

688

Appendix S Log Descriptions

5 Step 5.Use the sys logs save command to store the settings in the ZyWALL (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 ZyWALL’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

ZyWALL log category.

• Use the sys logs clear command to erase all of the ZyWALL’s logs.

Log Command Example

This example shows how to set the ZyWALL 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 source destination notes
message
0|11/11/2002 15:10:12 |172.22.3.80:137 |172.22.255.255:137 |ACCESS
BLOCK
Firewall default policy: UDP(set:8)
1|11/11/2002 15:10:12 |172.21.4.17:138 |172.21.255.255:138 |ACCESS
BLOCK
Firewall default policy: UDP(set:8)
2|11/11/2002 15:10:11 |172.17.2.1 |224.0.1.60 |ACCESS
BLOCK
Firewall default policy: IGMP(set:8)
3|11/11/2002 15:10:11 |172.22.3.80:137 |172.22.255.255:137 |ACCESS
BLOCK
Firewall default policy: UDP(set:8)
4|11/11/2002 15:10:10 |192.168.10.1:520 |192.168.10.255:520 |ACCESS
BLOCK
Firewall default policy: UDP(set:8)
5|11/11/2002 15:10:10 |172.21.4.67:137 |172.21.255.255:137 |ACCESS
BLOCK

Advertising