Configuring Syslog Servers - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring System Message Logging
Step 5
Step 6
Step 7
Step 8

Configuring Syslog Servers

You can configure up to eight syslog servers that reference remote systems where you want to log system
messages.
Note
Cisco recommends that you configure the syslog server to use the management virtual routing and
forwarding (VRF) instance. For more information on VRFs, see the Cisco Nexus 7000 Series NX-OS
Unicast Routing Configuration Guide.
Procedure
Step 1
Step 2
Command or Action
show logging level [facility]
Example:
switch(config)# show logging
level aaa
[no] logging timestamp
{microseconds | milliseconds |
seconds}
Example:
switch(config)# logging
timestamp milliseconds
show logging timestamp
Example:
switch(config)# show logging
timestamp
copy running-config startup-config
Example:
switch(config)# copy
running-config startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
[no] logging server host [severity-level
[use-vrf vrf-name]]
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Purpose
(Optional)
Displays the logging level configuration and the system
default level by facility. If you do not specify a facility, the
device displays levels for all facilities.
Sets the logging time-stamp units. By default, the units are
seconds.
Note
This command applies to logs that are kept in the
switch. It does not apply to the external logging
server.
(Optional)
Displays the logging time-stamp units configured.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Configures a syslog server at the specified hostname or
IPv4 or IPv6 address. You can limit logging of messages
Configuring Syslog Servers
99

Advertisement

Table of Contents
loading

Table of Contents