H3C/Huawei Switch Inspection and Log Collection Commands
H3C and Huawei switches both use display series commands to view status. During inspections or troubleshooting, start a session record using terminal software and then execute the following commands in sequence to send the record file to technical support.
H3C Switch
Hardware Status and Version
Command
Description
display clock
System Time
display version
Software Version, Last Restart Time
display environment
Device Temperature
display device
Board Running Status
display power / display fan
Power Supply / Fan Status
display cpu-usage
CPU Usage for the Last 5 Seconds, 1 Minute, and 5 Minutes
When collecting all diagnostic information at once, execute display diagnostic-information, save it to a device file as prompted, and then retrieve it via FTP / TFTP.
Huawei Switch
Command
Description
display health
Device Health Status
display device
Hardware (Board) Information
display version
Version Information
display esn
Device Serial Number
display temperature all
Temperature Information; all statuses should be normal
display diagnostic-information
Complete Diagnostic Information (Output is very long)
Can't find an answer?
Upload a log for AI diagnosis, or ask the AI assistant directly in the console.