Send feedback to nx5000-docfeedback@cisco.com
1-2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1      Configuring System Message Logging
Configuring System Message Logging
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. For information about configuring the severity level by module and 
facility, see the “Configuring Module and Facility Messages Logged” section on page 1-4.
syslog Servers
syslog servers run on remote systems that are configured to log system messages based on the syslog 
protocol. You can configure up to three syslog servers. For information about configuring syslog servers, 
see the “Configuring syslog Servers” section on page 1-5.
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. For information about distributing 
the syslog server configuration, see the “Configuring syslog Server Configuration Distribution” section 
on page 1-7.
Note When the switch first initializes, messages are sent to syslog servers only after the network is initialized.
Configuring System Message Logging
This section includes the following topics:
• Configuring System Message Logging to Terminal Sessions, page 1-2
• Configuring System Message Logging to a File, page 1-3
• Configuring Module and Facility Messages Logged, page 1-4
• Configuring syslog Servers, page 1-5
• Configuring syslog Server Configuration Distribution, page 1-7
• Displaying and Clearing Log Files, page 1-8
Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature 
might differ from the Cisco IOS commands that you would use. 
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.
6 – informational Informational message only
7 – debugging Appears during debugging only
Table 1-1 System Message Severity Levels (continued)
Level Description