ZyXEL Communications 3.1 User Manual

Page of 386
 Chapter 40 Logs
ZyWALL (ZLD) CLI Reference Guide
319
40.1.2.1  System Log Command Examples
The following command displays the current status of the system log.
40.1.3  Debug Log Commands
This table lists the commands for the debug log settings.
Router# configure terminal
Router(config)# show logging status system-log
512 events logged
suppression active  : yes
suppression interval: 10
category settings   :
    content-filter    : normal , forward-web-sites : no     ,
    blocked-web-sites : normal , user              : normal ,
    myZyXEL.com       : normal , zysh              : normal ,
    idp               : normal , app-patrol        : normal ,
    ike               : normal , ipsec             : normal ,
    firewall          : normal , sessions-limit    : normal ,
    policy-route      : normal , built-in-service  : normal ,
    system            : normal , connectivity-check: normal ,
    device-ha         : normal , routing-protocol  : normal ,
    nat               : normal , pki               : normal ,
    interface         : normal , interface-statistics: no     ,
    account           : normal , port-grouping     : normal ,
    force-auth        : normal , l2tp-over-ipsec   : normal ,
    anti-virus        : normal , white-list        : normal ,
    black-list        : normal , ssl-vpn           : normal ,
    cnm               : normal , traffic-log       : no     ,
    file-manage       : normal , dial-in           : normal ,
    adp               : normal , default           : all    ,
Table 189   
logging Commands: Debug Log Settings
COMMAND
DESCRIPTION
show logging debug status
Displays the current settings for the debug log.
show logging debug entries [priority pri
[category module_name] [srcip ip] [srcip6 
ipv6_addr] [dstip ip] [dstip6 ipv6_addr
[service service_name] [srciface interface_name
[dstiface interface_name] [protocol protocol
[begin <1..512> end <1..512>] [keyword keyword]
Displays the specified entries in the system log.
pri
: alert | crit | debug | emerg | error | info | notice | warn
keyword
: You can use alphanumeric and 
()+/:=?!*#@$_%-
 
characters, and it can be up to 63 characters long. This searches 
the message, source, destination, and notes fields.
show logging debug entries field field [begin 
<1..1024> end <1..1024>]
Displays the specified field in the debug log.
field
: time | msg | src | dst | note | pri | cat | all
[no] logging debug suppression
Enables log consolidation in the debug log. The 
no
 command 
disables log consolidation in the debug log.
[no] logging debug suppression interval 
<10..600>
Sets the log consolidation interval for the debug log. The 
no
 
command sets the interval to ten.
clear logging debug buffer
Clears the debug log.