Configuring Syslog Servers - Cisco Nexus 5600 Series Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring System Message Logging
Step 3
Step 4
Step 5
The following example shows how to configure the time-stamp units of messages:
switch# configure terminal
switch(config)# logging timestamp milliseconds
switch(config)# exit
switch# show logging timestamp
Logging timestamp:

Configuring Syslog Servers

You can configure up to eight syslog servers that reference remote systems where you want to log system
messages.
Procedure
Step 1
Step 2
OL-31641-01
Command or Action
switch(config)# no logging timestamp
{microseconds | milliseconds | seconds}
switch# show logging timestamp
switch# copy running-config startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
logging server host [severity-level
[use-vrf vrf-name [facility
facility]]]
Example:
switch(config)# logging
server 172.28.254.254 5
use-vrf default facility
local3
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Purpose
(Optional)
Resets the logging time-stamp units to the
default of seconds.
(Optional)
Displays the logging time-stamp units
configured.
(Optional)
Copies the running configuration to the startup
configuration.
Milliseconds
Purpose
Enters global configuration mode.
Configures a host to receive syslog messages.
• The host argument identifies the hostname or the IPv4 or
IPv6 address of the syslog server host.
• The severity-level argument limits the logging of messages
to the syslog server to a specified level. Severity levels
range from 0 to 7. See
Levels , on page
• The use vrf vrf-name keyword and argument identify the
default or management values for the virtual routing and
forwarding (VRF) name. If a specific VRF is not identified,
management is the default. However, if management is
configured, it will not be listed in the output of the
show-running command because it is the default. If a
Configuring Syslog Servers
Table 12: System Message Severity
95.
103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents