CloudEngine 16800, 12800, 9800, 8800, 7800, 6800, and 5800 Series Switches Troubleshooting Guide (V100 and V200)
Common display Commands
The device provides various display commands to display hardware, interface, and software information. The information helps you locate various faults.
The following table lists the commands used to collect fault information.
Item |
Command |
Description |
---|---|---|
Basic information |
display diagnostic-information | This command collects basic system information. It displays outputs of multiple display commands, including display device and display current-configuration. Executing this command requires a long time. You can press Ctrl+C to pause diagnosis information display on screen. |
Device information |
display device | This command checks the status of a board when the board works abnormally. If the Alarm field displays Abnormal, the board is not working properly. |
Interface information |
display interface | This command displays various information about an interface. You can run this command to check interface connection faults and statistics about discarded packets. |
Startup file information | display startup | This command displays current or next startup version file information. |
Versions |
display version | This command displays version information about the system software, MPU, and LPU. The version information can help you locate faults. |
Patch information |
display patch-information | This command displays system patch package information, including patch package version and name. The information can help you locate faults. |
Electronic label information |
display device elabel | This command displays the electronic label of a board. Electronic labels identify device hardware. |
Device status |
display health | This command displays information about the temperature, power supply, fan, power, CPU usage, memory usage, and storage medium usage of the device. |
Configuration recovery information | display configuration recover-result | This command displays configuration recovery results after the device startup. According to the results, you can check whether recovery failures occur. |
Current configurations |
display current-configuration | This command displays all configuration information on a device. You can specify a regular expression to obtain the required configuration information. |
Saved configurations |
display saved-configuration | If the device has been started and is not working properly, run the display saved-configuration command to check the device startup configuration in the file specified by running the startup saved-configuration or copy startup command. Run the display saved-configuration last command to check the system configurations saved last time in the configuration file loaded during the current startup. |
Time |
display clock | This command displays the current system date and time. |
NTP clock information | display ntp status | This command displays the NTP running status, including the clock synchronization status and clock hierarchy of the local node. |
User logs |
display logbuffer | This command displays user logs in the log buffer. |
Traps |
display trapbuffer | This command displays information recorded in the trap buffer. |
Memory usage |
display memory | This command displays the memory usage of a device. |
CPU usage |
display cpu | This command displays the CPU usage of a device. |
Active/standby switchover status | display switchover state | This command displays information about the active/standby switchover. The information helps determine whether the system meets switchover requirements. |
Device alarms | display alarm active | This command displays current alarm information. |
Hardware alarms | display device alarm hardware | This command displays hardware alarm information. |
Temperature information | display device temperature all | This command displays temperature information. |
Fan information | display device fan | This command displays fan information. |
Power supply information | display device power | This command displays power supply information. |
Route statistics |
|
The two commands display information about routing entries. |
IS-IS neighbor information |
|
The two commands display IS-IS neighbor information. |
BGP neighbor information |
|
The two commands display BGP neighbor information. |
BGP route statistics |
|
The two commands display information about BGP routing entries. |
OSPF neighbor information |
|
The two commands display OSPF neighbor information. |
TRILL neighbor information | display trill peer | This command displays TRILL neighbor information. |
MPLS LSP label statistics | display mpls lsp statistics | This command displays the number of LSPs in Up state. |
MPLS LDP session information | display mpls ldp session | Displays information about sessions between LDP peers. |
Multicast neighbor information | display pim neighbor | This command displays multicast neighbor information. |
Multicast routing table | display pim routing-table brief | This command displays multicast routing table information. |
Stack member information | display stack | This command displays stack member information. |
Stack configuration | display stack configuration | This command displays the stack configuration. |
Stack topology information | display stack topology | This command displays stack topology information. |
Stack fault information | display stack troubleshooting | This command displays stack fault information. This command is supported since V100R001C00. In versions earlier than V100R002C00, this command is supported in the diagnostic view. In V100R002C00 and later versions, this command is supported in all views. |
Interface fault information | display interface troubleshooting | This command displays interface fault information. This command is supported since V100R005C00. In V100R005C00, this command is supported in the diagnostic view. In V100R005C10 and later versions, this command is supported in user view. |
BGP fault information | display bgp troubleshooting | This command displays BGP fault information. This command is supported since V100R005C00. In versions earlier than V100R006C00, this command is supported in the diagnostic view. In V100R006C00 and later versions, this command is supported in all views. |
Eth-Trunk fault information | display eth-trunk troubleshooting | This command displays Eth-Trunk fault information. This command is supported since V100R005C00. In versions earlier than V100R006C00, this command is supported in the diagnostic view. In V100R006C00 and later versions, this command is supported in all views. |
IS-IS fault information | display isis troubleshooting | This command displays IS-IS fault information. This command is supported since V100R005C00. In versions earlier than V100R006C00, this command is supported in the diagnostic view. In V100R006C00 and later versions, this command is supported in all views. |
LACP fault information | display lacp troubleshooting | This command displays LACP fault information. This command is supported since V100R005C00. In versions earlier than V100R006C00, this command is supported in the diagnostic view. In V100R006C00 and later versions, this command is supported in all views. |
MPLS fault information | display mpls ldp troubleshooting | This command displays MPLS fault information. This command is supported since V100R005C00. In versions earlier than V100R006C00, this command is supported in the diagnostic view. In V100R006C00 and later versions, this command is supported in all views. |
OSPF fault information | display ospf troubleshooting | This command displays OSPF fault information. This command is supported since V100R005C00. In versions earlier than V100R006C00, this command is supported in the diagnostic view. In V100R006C00 and later versions, this command is supported in all views. |
OSPF IPv6 fault information | display ospfv3 troubleshooting | This command displays OSPF IPv6 fault information. This command is supported since V100R005C00. In versions earlier than V100R006C00, this command is supported in the diagnostic view. In V100R006C00 and later versions, this command is supported in all views. |
TRILL fault information | display trill troubleshooting | This command displays TRILL fault information. This command is supported since V100R005C00. In versions earlier than V100R006C00, this command is supported in the diagnostic view. In V100R006C00 and later versions, this command is supported in all views. |