HP Cisco Nexus 5000 Cisco NX-OS System Messages Reference (OL-15994-03, July 2 - Page 37
Capturing System Messages and History, Saving the System Messages Log
View all HP Cisco Nexus 5000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 37 highlights
Chapter 1 Introduction to System Messages Capturing System Messages and History Send document comments to [email protected] %AUTHPRIV-3-SYSTEM_MSG: AUTHPRIV [dec] reported a failure in service [chars] This example shows the following: • Facility code is AUTHPRIV (indicating that it is a authpriv-specific error). • Severity is 3 (notification). • Alarm or event code is SYSTEM_MSG. • Description of the problem is Authpriv [dec] reported a failure in service [chars]. • [dec] is the module slot number associated with this message. • [chars] is the service name that experienced this failure. Capturing System Messages and History The system messages are displayed instantly on the console, by default, or are redirected to an internal log file, or a syslog server. System message severity levels correspond to the keywords assigned by the logging global configuration commands. These keywords define where and at what level these messages appear. Only system messages that correspond to the configured logging level or higher severity messages are logged. As an example, if you set the logging level to 3 (error), then you get error, critical, alerts, and emergency system messages, but you do not get warning, notification, informational, or debugging system messages. For complete information about handling system messages, see the Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 4.1. Saving the System Messages Log The logging logfile global configuration command enables copying of system messages to an internal log file and optionally sets the size of the file. To display the messages that are logged in the file, use the show logging EXEC command. The first message displayed is the oldest message in the buffer. To clear the current contents of the buffer, use the clear debug-logfile command. Logging System Messages to a syslog Server The logging host-name command identifies a syslog server host to receive logging messages. The host-name argument is the name or Internet address of the host. By using this command more than once, you build a list of syslog servers that receive logging messages. The no logging host-name command deletes the syslog server with the specified address from the list of syslog servers. Displaying Information about System Errors System errors may be generated by processes running on the device. System errors have an ID that ranges from 0x0 to 0xffffffff. You can use the show system error-id command to display the facility and description of a system error. To get a list of descriptions for all error IDs, use the show system error-id list command. The following example displays information about the specified error ID. switch# show system error-id 0x401D0019 OL-15994-03 Cisco NX-OS System Messages Reference 1-5