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 |
|
| ||
512 events logged | : yes |
|
| |
suppression active |
|
| ||
suppression interval: | 10 |
|
| |
category settings | : | : normal , | , | |
| ||||
: normal , user | : normal , | |||
myZyXEL.com |
| : normal , zysh | : normal , | |
idp |
| : normal , | : normal , | |
ike |
| : normal , ipsec | : normal , | |
firewall |
| : normal , | : normal , | |
| : normal , | : normal , | ||
system |
| : normal , | ||
| : normal , | : normal , | ||
nat |
| : normal , pki | : normal , | |
interface |
| : normal , | , | |
account |
| : normal , | : normal , | |
| : normal , | : normal , | ||
| : normal , | : normal , | ||
| : normal , | : normal | , | |
cnm |
| : normal , | : no | , |
| : normal , | : 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 | |
|
|