Cisco Systems 12000 series Switch User Manual


 
show logging
CF-692
Cisco IOS Configuration Fundamentals Command Reference
July 2008
show logging
To display the state of system logging (syslog) and the contents of the standard system logging buffer,
use the show logging command in privileged EXEC mode.
show logging [slot slot-number | summary]
Syntax Description
Command Modes Privileged EXEC
Command History
Usage Guidelines This command displays the state of syslog error and event logging, including host addresses, and which
logging destinations (console, monitor, buffer, or host) logging is enabled. This command also displays
Simple Network Management Protocol (SNMP) logging configuration parameters and protocol activity.
This command will also display the contents of the standard system logging buffer, if logging to the
buffer is enabled. Logging to the buffer is enabled or disabled using the [no] logging buffered command.
The number of system error and debugging messages in the system logging buffer is determined by the
configured size of the syslog buffer. This size of the syslog buffer is also set using the logging buffered
command.
To enable and set the format for syslog message timestamping, use the service timestamps log
command.
slot slot-number (Optional) Displays information in the syslog history table for a specific line
card. Slot numbers range from 0 to 11 for the Cisco 12012 Internet router
and 0 to 7 for the Cisco 12008 Internet router.
summary (Optional) Displays counts of messages by type for each line card.
Release Modification
10.0 This command was introduced.
11.2 GS The slot and summary keywords were added for the Cisco 12000.
12.2(8)T Command output was expanded to show the status of the logging count
facility (“Count and timestamp logging messages”).
12.2(15)T Command output was expanded to show the status of XML syslog
formatting.
12.3(2)T Command output was expanded (on supported software images) to show
details about the status of system logging processed through the Embedded
Syslog Manager (ESM). These lines appear as references to “filtering” or
“filter modules”.
12.3(2)XE This command was integrated into Cisco IOS Release 12.3(2)XE.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.4(11)T Command-line interface (CLI) output was modified to show message
discriminators defined at the router and syslog sessions associated with
those message discriminators.