Cisco Nexus 9000 Series Configuration Manual page 61

Nx-os system management configuration guide, release 6.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring System Message Logging
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
[no] logging server host [severity-level
[use-vrf vrf-name]]
Example:
switch(config)# logging server
192.0.2.253
Example:
switch(config)# logging server
2001::)db*::3 5 use-vrf red
logging source-interface loopback
virtual-interface
Example:
switch(config)# logging
source-interface loopback 5
show logging server
Example:
switch(config)# show logging server
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
Configuring Syslog Servers
Purpose
Enters global configuration mode.
Configures a syslog server at the specified hostname
or IPv4 or IPv6 address. You can limit logging of
messages to a particular VRF by using the use-vrf
keyword. Severity levels range from 0 to 7:
• 0 – emergency
• 1 – alert
• 2 – critical
• 3 – error
• 4 – warning
• 5 – notification
• 6 – informational
• 7 – debugging
The default outgoing facility is local7.
The no option removes the logging server for the
specified host.
The first example forwards all messages on facility
local 7. The second example forwards messages with
severity level 5 or lower for VRF red.
Enables a source interface for the remote syslog server.
The range for the virtual-interface argument is from 0
to 1023.
(Optional)
Displays the syslog server configuration.
(Optional)
Copies the running configuration to the startup
configuration.
41

Advertisement

Table of Contents
loading

Table of Contents