Syslog Server Implementation - Cisco Nexus 1000V Troubleshooting Manual

Switch for vmware vsphere. release 5.2(1)sv3(1.1)
Hide thumbs Also See for Nexus 1000V:
Table of Contents

Advertisement

Chapter 1
Overview
2009 Apr 29 12:35:51 switch %KERN-1-SYSTEM_MSG: stun_set_domain_id : Setting domain ID
(1024) - kernel
Use this string to find the matching system message in the Cisco NX-OS System Messages Reference
System Messages Reference.
Each system message is followed by an explanation and recommended action. The action may be as
simple as "No action required." It may involve a fix or a recommendation to contact technical support
as shown in the following example:
Error Message 2009 Apr 29 14:57:23 switch %MODULE-5-MOD_OK: Module 3 is online
(serial: )

syslog Server Implementation

The syslog facility allows the Cisco Nexus 1000V to send a copy of the message log to a host for more
permanent storage. This feature can be useful if the logs need to be examined over a long period of time
or when the Cisco Nexus 1000V is not accessible.
This example demonstrates how to configure a Cisco Nexus 1000V to use the syslog facility on a Solaris
platform. Although a Solaris host is being used, the syslog configuration on all UNIX and Linux systems
is very similar.
Syslog uses the concept of a facility to determine how it should be handled on the syslog server (the
Solaris system in this example), and the message severity. Therefore, different message severities can be
handled differently by the syslog server. They could be logged to different files or emailed to a particular
user. Specifying a severity determines that all messages of that level and greater severity (lower number)
will be acted upon.
The Cisco Nexus 1000V messages should be logged to a different file from the standard syslog file so
Note
that they cannot be confused with other non-Cisco syslog messages. The logfile should not be located
on the / file system, to prevent log messages from filling up the / file system.
Syslog Client: switch1
Syslog Server: 172.22.36.211 (Solaris)
Syslog facility: local1
Syslog severity: notifications (level 5, the default)
File to log Cisco Nexus 1000V messages to: /var/adm/nxos_logs
To configure a syslog server, follow these steps:
Configure the Cisco Nexus 1000V.
Step 1
switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch (config)# logging server 192.0.2.1 6 facility local1
Display the configuration.
switch# show logging server
OL-31593-01
VEM module inserted successfully on slot 3.
Explanation
None. This is an information message. Use the show module command to
Recommended Action
verify the module in slot 3.
Cisco Nexus 1000V Troubleshooting Guide, Release 5.2(1)SV3(1.1)
System Messages
1-5

Advertisement

Table of Contents
loading

Table of Contents