Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
25-9
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 25 Configuring System Message Logging
Verifying System Message Logging Configuration
Verifying System Message Logging Configuration
To display system message logging configuration information, perform one of the following tasks:
System Message Logging Example Configuration
The following example shows how to configure system message logging:
configure terminal
logging console 3
logging monitor 3
logging logfile my_log 6
logging module 3
logging level aaa 2
logging timestamp milliseconds
logging distribute
logging server 172.28.254.253
logging server 172.28.254.254 5 local3
logging commit
copy running-config startup-config
Command Purpose
show logging console Displays the console logging configuration.
show logging info Displays the logging configuration.
show logging internal info Displays the syslog distribution information.
show logging last number-lines Displays the last number of lines of the log file.
show logging level [facility] Displays the facility logging severity level
configuration.
show logging logfile [start-time yyyy mmm dd
hh:mm:ss] [end-time yyyy mmm dd hh:mm:ss]
Displays the messages in the log file.
show logging module Displays the module logging configuration.
show logging monitor Displays the monitor logging configuration.
show logging nvram [last number-lines] Displays the messages in the NVRAM log.
show logging pending Displays the syslog server pending distribution
configuration.
show logging pending-diff Displays the syslog server pending distribution
configuration differences.
show logging server Displays the syslog server configuration.
show logging session Displays the logging session status.
show logging status Displays the logging status.
show logging timestamp Displays the logging time-stamp units configuration.