In this post I would like to show you some useful commands that can be useful sometimes.
Huawei devices 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.
| Basic information | display diagnostic-information | This command collects basic system information. It displays outputs of multiple display commands, including display version and display current-configuration. This command is necessary for any network problems. Executing this command takes a long time. You can press Ctrl+C to pause diagnosis information display on screen. |
| Device information | display device | This command displays card status. If the status of a card is displayed as Abnormal, the card is faulty. |
| Interface information | display interface | This command displays interface information to help you analyze cause of interface interconnection failures and check statistics on lost packets. |
| Versions | display version | Version information is important for device fault location. This command displays versions of the system software, BootROM, MPU, fan modules, as well as sizes of storage devices. NOTE: ACU2 has no fan. |
| Patch information | display patch-information | This command displays current patch information, including the patch package version and patch package name. |
| Electronic label information | display elabel | Electronic labels identify information about hardware components of a device. This command displays electronic labels of cards on a device. |
| Device status | display health | This command displays the temperature, power supply information, fan information, power, CPU usage, memory usage, and storage medium usage of a device. NOTE: ACU2 has no fan. |
| 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 a device has started but is not working properly, run the display saved-configuration command to check the startup files specified by the startup saved-configuration command. Run the display saved-configuration last command to check the configuration saved last time. Run the display saved-configuration time command to check the last time when the configuration is saved. |
| Time | display clock | This command displays the current system date and time. |
| User logs | display logfile buffer | Executing this command in the diagnostic view can display user logs in the log buffer. |
| Diagnostic log | display diag-logfile buffer | Executing this command in the diagnostic view can display user logs in the log buffer. |
| Alarms | display trapbuffer | This command displays information recorded in the trap buffer. |
| Memory usage | display memory-usage | This command displays memory usage of the device. |
| CPU usage | display cpu-usage | This command displays CPU usage of the device. |
| AP's running information | V200R005 or earlier: display ap-run-info V200R006 or later: display ap run-info | This command displays the AP's running information. NOTE: The prerequisite is that the AP is in normal state. |
| AP status | display ap all | This command displays the AP status. |
| Access user information | display access-user display station | This command displays information about an access user. |
| Full-process service diagnosis information about an AP or STA | display trace information | Before running this command, run the following commands to enable service diagnosis and configure the diagnosis object: [AC6605] trace enable [AC6605] trace object mac-address e468-a352-1160 //e468-a352-1160 is the MAC address of an AP or STA. |

![[Knowledge sharing] Common display commands for WLAN-2764665-1](static/image/smiley/default/lol.gif)
