A SERVICE OF

logo

show logging
CF-695
Cisco IOS Configuration Fundamentals Command Reference
July 2008
The following example shows that syslog messages from the system buffer are included, with time
stamps. In this example, the software image does not support XML formatting or ESM filtering of syslog
messages.
Router# show logging
Syslog logging:enabled (2 messages dropped, 0 flushes, 0 overruns)
Console logging:disabled
Monitor logging:level debugging, 0 messages logged
Buffer logging:level debugging, 4104 messages logged
Trap logging:level debugging, 4119 message lines logged
Logging to 192.168.111.14, 4119 message lines logged
Log Buffer (262144 bytes):
Jul 11 12:17:49 EDT:%BGP-4-MAXPFX:No. of prefix received from 209.165.200.225
(afi 0) reaches 24, max 24
! THE FOLLOWING LINE IS A DEBUG MESSAGE FROM NTP.
! NOTE THAT IT IS NOT PRECEEDED BY THE % SYMBOL.
Jul 11 12:17:48 EDT: NTP: Maxslew = 213866
Jul 11 15:15:41 EDT:%SYS-5-CONFIG:Configured from
tftp://host.com/addc5505-rsm.nyiix
.Jul 11 15:30:28 EDT:%BGP-5-ADJCHANGE:neighbor 209.165.200.226 Up
Trap logging: Logging to a remote host (syslog collector). Shows “disabled” or, if enabled,
the severity level limit, number of messages logged, and whether XML
formatting or ESM filtering is enabled.
(The word “trap” means a trigger in the system software for sending error
messages to a remote host.)
Corresponds to the configuration of the logging host command. The severity
level limit is set using the logging trap command.
SNMP logging Displays whether SNMP logging is enabled, the number of messages logged,
and the retransmission interval. If not shown on your platform, use the show
logging history command.
Logging Exception size
(8192 bytes)
Corresponds to the configuration of the logging exception command.
Count and timestamp
logging messages:
Corresponds to the configuration of the logging count command.
No active filter
modules.
Appears if no syslog filter modules are configured with the logging filter
command.
Syslog filter modules are Tcl script files used when the Embedded Syslog
Manager (ESM) is enabled. ESM is enabled when any of the filtered
keywords are used in the logging commands.
If configured, the URL and filename of configured syslog filter modules will
appear at this position in the output. Syslog filter modules are executed in the
order in which they appear here.
Log Buffer (8192
bytes):
The value in parentheses corresponds to the configuration of the logging
buffered buffer-size command. If no messages are currently in the buffer, the
output ends with this line. If messages are stored in the syslog buffer, they
appear after this line.
Table 90 show logging Field Descriptions (continued)
Field Description