Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
7-16
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 7 System Management Commands
logging server
logging server
Use the logging server command to configure a remote syslog server at the specified host name or
IPv4/IPv6 address.
To disable the remote syslog server, use the no form of this command.
logging server host [severity-level] [facility {auth | authpriv | cron | daemon | ftp | kernel | local0
| local1 | local2 | local3 | local4 | local5 | local6 | local7 | lpr | mail | news | syslog | user | uucp}
]
no logging server host
Syntax Description
Command Default The default outgoing facility is local7.
Command Modes Configuration mode
Command History
Examples This example shows how to configure a remote syslog server at a specified IPv4 address, using the
default outgoing facility:
switch(config)# logging server 172.28.254.253
host Configure the host name or IPv4/IPv6 address of the Remote Syslog Server.
severity-level (Optional) The number of the desired severity level at which messages
should be logged. Messages at or numerically lower than the specified level
are logged. Severity levels are as follows:
0—emergency: System unusable
1—alert: Immediate action needed
2—critical: Critical condition—default level
3—error: Error condition
4—warning: Warning condition
5—notification: Normal but significant condition
6—informational: Informational message only
7—debugging: Appears during debugging only
facility facility (Optional) Define the appropriate outgoing facility. The facilities are listed
in the System Message Logging Facilities section.
The default outgoing facility is local7.
Release Modification
4.0(0)N1(1a) This command was introduced.