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-2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 25 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 25-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 25-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 25-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 25-2
Configuring System Message Logging to a File, page 25-3
Configuring Module and Facility Messages Logged, page 25-4
Configuring syslog Servers, page 25-5
Configuring syslog Server Configuration Distribution, page 25-7
Displaying and Clearing Log Files, page 25-8
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. To configure the switch to log messages, perform
this task:
6 – informational Informational message only
7 – debugging Appears during debugging only
Table 25-1 System Message Severity Levels (continued)
Level Description