Common Error Messages on Switches
Introduction
Common error messages on switches include alarms and logs. This document describes how to use the corresponding documents and query tools to view related information and troubleshooting procedures when alarms and logs are generated on switches.
The alarms and logs generated by switches vary according to software versions. During troubleshooting, refer to the document of a required software version or select a software version when using query tools to view details of the alarms and logs.
Querying Alarm Information
Using the Alarm Handling Document
You can find the specific alarms by the following ways:
- Use the Network Management System (NMS).
- Run the display trapbuffer [ size value ] command. Alarms will be displayed in the alarm buffer.
The maximum number of alarms that can be displayed in the alarm buffer is determined by value. If the number of alarms is less than the value specified by value, the actual number of alarms will be displayed.
The following tips can help you to find the specific alarms quickly:
"Alarm ID", uniquely identifies an alarm, which is first recommended for you to search for an alarm.
If different alarms have the same ID, you can use error values, such as Base Trap Probable Cause, to search for alarms.
This manual does not support searching with variable information, such as generation time, interface number, process ID, and device name.
Using the Alarm Query Tool
The following shows the page of Alarm Query Tool. The tool can query alarm descriptions and procedures based on models, versions, and keywords.
Querying the Log Information
Using the Log Reference Document
You can log in to the device through console port or Telnet, run the display logbuffer command to view the logs stored in buffer, save logs on the device, and export the logs to a log server using the syslog protocol.
The following methods can help you quickly find out the desired logs:
The Brief information in a log message uniquely identifies a log, so you can search for the Brief information in the manual to find out the desired log, view log description, and learn about the handling method.
The parameters such as time, interface number, process ID, and device name in a log message are variable, so do not use these parameters to search for logs.
Example:
Log message: Apr 27 2014 07:45:35 HUAWEI %%01SHELL/4/LOGIN_FAIL_FOR_INPUT_TIMEOUT(s)[6]:Failed to log in due to timeout.(Ip=10.135.19.157, UserNa me=**, Times=1, AccessType=TELNET, VpnName=)
Search for LOGIN_FAIL_FOR_INPUT_TIMEOUT in the manual, and you can see the log description: After entering a user name or password, a user failed to log in because of a timeout.
Using the Log Query Tool
The following shows the page of Log Query Tool. The tool can query log descriptions and procedures based on models, versions, and keywords.