Regístrese ahora para una mejor cotización personalizada!

Noticias calientes

Common display Commands for Huawei Devices

Mar, 23, 2025 Hi-network.com

Common display Commands for Huawei Devices

1. Frequently Used Fault Information Collection Commands

Información básica

  • display diagnostic-information 

    This command is primarily used to collect basic system information,integrating the output of multiple commonly useddisplaycommands,such asdisplay device,display current-configuration, etc. This information must be provided whenever a network issue occurs. Note that this command takes longer to execute; if using direct terminal display, it can be stopped by pressing Ctrl+C.

Device Information

  • display device 

    This command is typically used to check the status of a board when it is found to be malfunctioning. If the Status is "Abnormal," it indicates an abnormal state.

Interface Information

  • display interface 

    This command is often used to view various interface details, commonly for troubleshooting interface connections and checking packet loss statistics.

Version Information

  • Versión de visualización 

    elversion of the faulty device is crucial for fault identification. TheVersión de visualizacióncommand retrieves version information of the device software, BootROM, main control board, interface board, and fan module. Additionally, it provides the size information of various storage devices.

Patch Information

  • display patch-information 

    elversion of the faulty device is essential for fault identification. Thedisplay patch-informationcommand retrieves current system patch package information, including the patch version number and patch name.

Electronic Label Information

  • display elabel 

    Electronic labels are used to identify hardware information of the device. This command allows viewing electronic label information on the board.

Device Status Information

  • display health 

    This command checks the temperature, power supply, fan, power consumption, CPU and memory usage, and storage media usage information of the device.

System Current Configuration Information

  • display current-configuration 

    This command displays all configuration information currently on the device. Regular expressions can be used to filter the configuration information to find the required information.

System Saved Configuration Information

  • display saved-configuration 

    If the device powers up successfully but operates abnormally, you can use thedisplay saved-configurationcommand to view the startup configuration, i.e., the configuration file specified by thestartup saved-configurationcommand. Thedisplay saved-configuration lastcommand views the last saved system configuration information, whiledisplay saved-configuration timeviews the time of the last saved system configuration.

Time Information

  • display clock

     

    Displays the current date and time of the system.

User Log Information

  • display logfile buffer

     

    Executing this command in diagnostic view allows viewing user log information in the log file buffer.

Diagnostic Log Information

  • display diag-logfile buffer

     

    Executing this command in diagnostic view allows viewing diagnostic log information in the log file buffer.

Información de alarma

  • display trapbuffer

     

    This command views the information recorded in the Trap buffer of the information center.

Memory Usage Information

  • display memory-usage

     

    The display memory-usage [slot slot-id]command: If the parameterslot slot-idis specified, it shows the memory usage of the interface board; if not specified, it shows the memory usage of the main control board.

CPU Usage Information

  • display cpu-usage

     

    The display cpu-usage [slot slot-id]command: If the parameterslot slot-idis specified, it shows the CPU usage of the interface board; if not specified, it shows the CPU usage of the main control board.


2. Common Maintenance Commands for Routers

  • dir

     Displays information about specified files or directories in router storage devices.

  • display alarm hardware

     Views hardware alarm information of boards or sub-cards.

  • display alarm all

     Views all active hardware alarm information.

  • display device

     Views basic information of all devices in position, including power modules and fan modules.

  • display trapbuffer

     Views information recorded in the Trap display area.

  • display alarm statistics

     Views alarm statistics.

  • display alarm information

     Views detailed alarm information.

  • display bgp peer

     Views BGP peer information.

  • display cpu-usage

     Displays CPU usage statistics.

  • display current-configuration

     Views the currently effective configuration parameters of the router.

  • display device

     Views basic information of router devices.

  • display ftp-server

     Views various parameters of the current FTP server.

  • display interface

     Views the current operational status and statistical information of interfaces.

  • display ip interface

     Views IP-related configurations and statistical information of interfaces, including the number of packets received and sent, bytes, multicast packets, and broadcast packets received, sent, forwarded, and discarded.

  • display ip interface brief

     Views brief IP-related information of interfaces, including IP address, physical link and protocol status, and interface description.

  • display ip routing-table

     Views summary information of the IPv4 routing table.

  • display isis peer

     Views IS-IS neighbor information.

  • display memory-usage

     Views router memory usage information.

  • display ospf brief

     Views OSPF summary information.

  • display ospf peer

     Views OSPF neighbor information in each area.

  • display patch-information

     Views patch status.

  • display power

     Views power status.

  • display saved-configuration

     Views the configuration file used upon the next power-up of the router.

  • display startup

     Views system software and configuration filenames related to the current and next startup.

  • display switchover state

     Views the backup status of the primary/standby board.

  • display temperature

     Views the status of temperature sensors in slots.

  • display voltage

     Views the voltage sensor status of specified slots.

  • Versión de visualización

     Queries system software version.

  • ping

     Checks IP network connectivity and host reachability.

  • tracert

     Tests the gateways through which data packets pass from the sending host to the destination, mainly used to check network connectivity and analyze where the network failure occurred.

3. Common Fault Information Collection Commands for Switches

Información básica

  • display diagnostic-information

     

    When seeking technical support, this command quickly collects device diagnostic information. It integrates the output of multiple commonly useddisplaycommands, such asdisplay clock, Versión de visualización, display current-configuration, etc., and can be considered a batch execution of common systemdisplaycommands.

Device Information

  • display device

     

    Used to view hardware information and registration status of device components and boards. When a device fails and technical support is needed, inform the technicians of the hardware information of the faulty device and components.

Interface Information

  • display interface

     

    When traffic statistics or fault diagnosis of an interface is needed, use this command to view the current operational status and statistical information of the interface, including the physical status, basic configuration, and packet forwarding through the interface.

Version Information

  • Versión de visualización

     

    Used to view device version information to determine if the system needs upgrading.

Patch Information

  • display patch-information

     

    After loading or deleting patches, view the current system patch information, including patch version number, patch name, and patch status. Providing patch information to technicians when seeking technical support helps them quickly locate faults.

Time Information

  • display clock

     

    Used to determine the time point when the fault occurred.

System Current Configuration Information

  • display current-configuration

     

    Used to view the current configuration information of the device when a fault occurs.

System Saved Configuration Information

  • display saved-configuration

     

    Used to view the saved configuration information on the device, i.e., the configuration information used upon the next system startup.

Información de alarma

  • display trapbuffer

     

    Used to view information recorded in the Trap buffer. After finding alarm information related to the fault, fault location can be performed according to the "alarma Handling" guide.

User Log Information

  • display logbuffer

     

    Used to view information recorded in the Log buffer. After finding log information related to the fault, fault location can be performed according to the "Log Reference" guide.

Electronic Label Information

  • display elabel

     

    When returning hardware for repair and needing to provide a serial number, or when needing to know hardware production date and other hardware information, these details can be obtained by viewing the electronic label. For specific methods, refer to "Obtaining Device Serial Number - Box Type" and "Obtaining Device Component Serial Number - Frame Type."

One-Click Information Collection

  • display diagnostic-information dia-info.txt

     

    The default save path for the txt file isflash:/. Use thedircommand in user view to confirm whether the file was correctly generated. After a device failure, submitting the diagnostic information file to technical support personnel helps expedite fault location.

Obtaining Logs and Alarm Information - Box Type

  • save logfile

     

    Manually save the information in the log file buffer to a log file.


Huawei All Series Switches New and Used

For Huawei product list and quote, please visit: https://www.hi-network.com/categories/cisco or contact us at www.hi-network.com  (Email: [email protected] (en inglés))




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.

El artículo

Command

descripción

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 informationdisplay startupThis 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 informationdisplay configuration recover-resultThis 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 startupRe88pl99ace1command.

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 informationdisplay 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 statusdisplay switchover state

This command displays information about the active/standby switchover. The information helps determine whether the system meets switchover requirements.

Device alarmsdisplay alarm active

This command displays current alarm information.

Hardware alarmsdisplay device alarm hardware

This command displays hardware alarm information.

Temperature informationdisplay device temperature all

This command displays temperature information.

Fan informationdisplay device fan

This command displays fan information.

Power supply informationdisplay device power

This command displays power supply information.

Route statistics
  • display ip routing-table

  • display ip fib slot slot-id statistics

The two commands display information about routing entries.

IS-IS neighbor information
  • display isis peer

  • display isis interface

The two commands display IS-IS neighbor information.

BGP neighbor information
  • display bgp peer

  • display bgp vpnv4 all brief

The two commands display BGP neighbor information.

BGP route statistics
  • display bgp routing-table statistics

  • display bgp vpnv4 all routing-table statistics

The two commands display information about BGP routing entries.

OSPF neighbor information
  • display ospf peer

  • display ospf interface

The two commands display OSPF neighbor information.

TRILL neighbor informationdisplay trill peerThis command displays TRILL neighbor information.
MPLS LSP label statisticsdisplay mpls lsp statisticsThis command displays the number of LSPs in Up state.
MPLS LDP session informationdisplay mpls ldp sessionDisplays information about sessions between LDP peers.
Multicast neighbor informationdisplay pim neighbor

This command displays multicast neighbor information.

Multicast routing tabledisplay pim routing-table brief

This command displays multicast routing table information.

Stack member informationdisplay stack

This command displays stack member information.

Stack configurationdisplay stack configuration

This command displays the stack configuration.

Stack topology informationdisplay stack topology

This command displays stack topology information.

Stack fault informationdisplay 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 informationdisplay 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 informationdisplay 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 informationdisplay 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 informationdisplay 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 informationdisplay 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 informationdisplay 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 informationdisplay 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 informationdisplay 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 informationdisplay 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.


tag-icon Etiquetas calientes: Huawei Switches Red red Huawei Routers (en inglés)

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.
Our company's operations and information are independent of the manufacturers' positions, nor a part of any listed trademarks company.