
Chapter 36 Logs
36.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 , | : no | , |
| ||||
: 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 | , |
36.1.3 Debug Log Commands
This table lists the commands for the debug log settings.
Table 140 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 selected entries in the debug log. |
[category module_name] [srcip ip] [dstip ip] | pri: alert crit debug emerg error info notice |
[service service_name] [begin <1..1024> end | warn |
<1..1024>] [keyword keyword] | 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 | Displays the selected fields 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 |
<10..600> | log. The no command sets the interval to ten. |
clear logging debug buffer | Clears the debug log. |
| 243 |
NXC CLI Reference Guide | |
|
|