beautypg.com

702 configuring what you want the zywall to log – ZyXEL Communications ZyXEL ZyWALL 2WG User Manual

Page 702

background image

Appendix I Command Interpreter

ZyWALL 2WG User’s Guide

702

Configuring What You Want the ZyWALL to Log

1 Use the

sys logs load

command to load the log setting buffer that allows you to

configure which logs the ZyWALL is to record.

2 Use

sys logs category

to view a list of the log categories.

Figure 469 Displaying Log Categories Example

3 Use

sys logs category

followed by a log category to display the parameters that

are available for the category.

Figure 470 Displaying Log Parameters Example

4 Use

sys logs category

followed by a log category and a parameter to decide what to

record.
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.

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.

ras> sys logs category
8021x access attack display
error icmp ike ipsec
javablocked mten packetfilter ppp
cdr pki tls remote
tcpreset traffic upnp urlblocked
urlforward wireless

ras> sys logs category access
Usage: [0:none/1:log/2:alert/3:both] [0:don't show debug type/
1:show debug type]