ZyXEL Communications 4.04 Manuel D’Utilisation
Chapter 21 System Commands
ZyWALL (ZyNOS) CLI Reference Guide
156
21.5 Configuring What You Want the ZyWALL to Log
1 Use the
sys logs load
command to load the log settings for editing. Then you can
configure which logs the ZyWALL is to record.
2 Use
sys logs category
to view a list of the log categories.
Figure 8 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 9 Displaying Log Parameters Example
sys logs mail user [smtp-
username]
Specifies (or displays) the user name (up to 31 characters) for
the e-mail account the ZyWALL uses for e-mailing logs.
the e-mail account the ZyWALL uses for e-mailing logs.
R+B
sys logs save
Saves the log settings to non-volatile memory.
R+B
sys logs switch asmlog
<0:no|1:yes>
Enables or disables asymmetrical route logs.
R+B
sys logs switch bmlog
<0:no|1:yes>
Enables or disables broadcast and multicast logs.
R+B
sys logs switch display
Displays the switch log settings.
R+B
sys logs switch dynacllog
<0:no|1:yes>
Enables or disables dynamic firewall logs.
R+B
sys logs syslog active
[0:no|1:yes]
Enables or disables the UNIX syslog.
R+B
sys logs syslog display
Displays the syslog settings.
R+B
sys logs syslog facility <1-7>
Logs the messages to different files.
R+B
sys logs syslog server [domain
name|ip-address]
This sets the domain name and IP address for the syslog
server to send the logs.
server to send the logs.
R+B
sys logs updateSvrIP <minute>
Sets how often to resolve the mail and syslog server domain
name to an IP address.
name to an IP address.
R+B
Table 74 Logs Commands (continued)
COMMAND
DESCRIPTION
M
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]