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-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 25 Configuring System Message Logging
Configuring System Message Logging
The following example shows how to configure a syslog server:
switch# configure terminal
switch(config)# logging server 172.28.254.254 5 local3
switch(config)# show logging server
switch(config)# copy running-config startup-config
Configuring syslog Server Configuration Distribution
You can distribute the syslog server configuration to other switches in the network by using the Cisco
Fabric Services (CFS) infrastructure.
For more information about CFS, see the “Information About CFS” section on page 21-1.
After you enable syslog server configuration distribution, you can modify the syslog server
configuration and view the pending changes before committing the configuration for distribution. As
long as distribution is enabled, the switch maintains pending changes to the syslog server configuration.
Note If the switch is restarted, the syslog server configuration changes that are kept in volatile memory may
be lost.
To configure syslog server configuration distribution, perform this task:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# logging distribute
Enables distribution of syslog server configuration to
network switches using the CFS infrastructure. By
default, distribution is disabled.
switch(config)# no logging distribute
Disables distribution of syslog server configuration to
network switches using the CFS infrastructure. You
cannot disable distribution when configuration
changes are pending. See the logging commit and
logging abort commands. By default, distribution is
disabled.
Step 3
Enter syslog server configuration commands. See the “Configuring syslog Servers” section on
page 25-5.
Step 4
switch(config)# show logging pending
(Optional) Displays the pending changes to the syslog
server configuration.
Step 5
switch(config)# show logging
pending-diff
(Optional) Displays the differences from the current
syslog server configuration to the pending changes of
the syslog server configuration.