Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

DescriptionLevel
Normal but significant condition5 notification
Informational message only6 informational
Appears during debugging only7 debugging
The switch logs the most recent 100 messages of severity 0, 1, or 2 to the NVRAM log. You cannot configure
logging to the NVRAM.
You can configure which system messages should be logged based on the facility that generated the message
and its severity level.
Related Topics
Configuring Module and Facility Messages Logging, page 339
Configuring System Message Logging to a File, page 338
Configuring System Message Logging to Terminal Sessions, page 336
syslog Servers
syslog servers run on remote systems that are configured to log system messages based on the syslog protocol.
You can configure the Cisco Nexus 5000 Series to sends its logs to up to three syslog servers.
To support the same configuration of syslog servers on all switches in a fabric, you can use the Cisco Fabric
Services (CFS) to distribute the syslog server configuration.
When the switch first initializes, messages are sent to syslog servers only after the network is initialized.Note
Configuring System Message Logging
Configuring System Message Logging to Terminal Sessions
You can configure the switch to log messages by their severity level to console, Telnet, and SSH sessions.
By default, logging is enabled for terminal sessions.
Procedure
PurposeCommand or Action
Copies syslog messages from the console to the current
terminal session.
switch# terminal monitor
Step 1
Enters configuration mode.switch# configure terminal
Step 2
Enables the switch to log messages to the console session
based on a specified severity level or higher (a lower number
switch(config)# logging console
[severity-level]
Step 3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
336 OL-16597-01
Configuring System Message Logging
syslog Servers