Chapter 40 Logs

40.1.2.1 System Log Command Examples

The following command displays the current status of the system log.

Router# configure terminal

 

 

Router(config)# show logging status system-log

 

 

512 events logged

: yes

 

 

suppression active

 

 

suppression interval:

10

 

 

category settings

:

: normal , forward-web-sites : no

,

content-filter

 

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

,

 

 

 

 

 

40.1.3 Debug Log Commands

This table lists the commands for the debug log settings.

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]

Displays the specified entries in the system log.

[category module_name] [srcip ip] [srcip6

pri: alert crit debug emerg error info notice warn

ipv6_addr] [dstip ip] [dstip6 ipv6_addr]

 

[service service_name] [srciface interface_name]

keyword: You can use alphanumeric and ()+/:=?!*#@$_%-

[dstiface interface_name] [protocol protocol]

characters, and it can be up to 63 characters long. This searches

[begin <1..512> end <1..512>] [keyword keyword]

the message, source, destination, and notes fields.

 

 

show logging debug entries field field [begin

Displays the specified field in the debug log.

<1..1024> end <1..1024>]

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

Sets the log consolidation interval for the debug log. The no

<10..600>

command sets the interval to ten.

clear logging debug buffer

Clears the debug log.

 

319

ZyWALL (ZLD) CLI Reference Guide