Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Commonly used commands when checking the operation status of Huawei equipment and troubleshooting (1)

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Common commands for viewing equipment operating conditions and troubleshooting diagnostics

1. Under the interface, check the number and bits of packets transmitted by the interface in the past 300s, as well as the traffic, packet loss number and bandwidth ratio of inbound and outbound packets.

[Huawei] interface ethernet 2/0/0[Huawei-Ethernet2/0/0] display this interface

2. The display cpu-defend statistics command is used to view statistics of messages sent to the CPU

display diagnostic-information dia-info.txt

The display diagnostic-information command is used to collect and view the current diagnostic information of the device in one click or to store the diagnostic information in a specified file

If the output diagnostic message is too long, press Ctrl+C to stop

3. The display cpu-usage command is used to view statistics on CPU usage of a device

display cpu-usage slot 11 Displays statistics of CPU usage of the board in the specified slot.

display cpu-usage slave Displays statistics on CPU usage of the standby main control board

The display cpu-usage configuration command is used to view configuration information for CPU usage of a device

Periodically (1-day cycle recommended, 3 collections) View memory usage for 2 partition size blocks

[Huawei] diagnose[Huawei-diagnose] display inspect mem-debug-info 13 2 0 0

4. The display memory-usage command is used to view the memory usage information of the device

display memory-usage slot 2 View the memory usage information of the interface board in slot 2.

5. The display device command is used to view device component types and status information.

6. The display esn command is used to view the equipment serial number ESN (Equipment Serial Number).

7. The display health command is used to view the health of the device.

8. The display fan command is used to view the status of the fan

9. The display version command is used to view the version information of the device

10. The display alarm active command is used to view the device's current active alarm information.

11. The display logbuffer command is used to view information recorded in the Log buffer

Displays log information saved in the log file at the specified path.

display logfile usb0:/logfile/log.log

12. Go to diagnostic view to view log information

[Router] diagnose[Router-diagnose] display logfile buffer[Router-diagnose] display diag-logfile buffer

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report