Cadastre-se agora para um orçamento mais personalizado!

NOTÍCIAS QUENTES

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

Informação Básica

  • exposição diagnostic-informationRE88PL99ace1

    This command is primarily used to collect basic system information,integrating the output of multiple commonly usedexposiçãocommands,such asexposição device,exposição 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 exposição, it can be stopped by pressing Ctrl+C.

Device Information

  • display deviceRE88PL99ace1

    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 interfaceRE88PL99ace1

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

Version Information

  • versão de exibiçãoRE88PL99ace1

    Oversion of the faulty device is crucial for fault identification. Theversão de exibiçãocommand 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-informationRE88PL99ace1

    Oversion 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 elabelRE88PL99ace1

    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 healthRE88PL99ace1

    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-configurationRE88PL99ace1

    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-configurationRE88PL99ace1

    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

    RE88PL99ace1

    Displays the current date and time of the system.

User Log Information

  • display logfile buffer

    RE88PL99ace1

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

Diagnostic Log Information

  • display diag-logfile buffer

    RE88PL99ace1

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

Informações de alarme

  • display trapbuffer

    RE88PL99ace1

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

Memory Usage Information

  • display memory-usage

    RE88PL99ace1

    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

    RE88PL99ace1

    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

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

  • display alarm hardware

    RE88PL99ace1Views hardware alarm information of boards or sub-cards.

  • display alarm all

    RE88PL99ace1Views all active hardware alarm information.

  • display device

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

  • display trapbuffer

    RE88PL99ace1Views information recorded in the Trap display area.

  • display alarm statistics

    RE88PL99ace1Views alarm statistics.

  • display alarm information

    RE88PL99ace1Views detailed alarm information.

  • display bgp peer

    RE88PL99ace1Views BGP peer information.

  • display cpu-usage

    RE88PL99ace1Displays CPU usage statistics.

  • display current-configuration

    RE88PL99ace1Views the currently effective configuration parameters of the router.

  • display device

    RE88PL99ace1Views basic information of router devices.

  • display ftp-server

    RE88PL99ace1Views various parameters of the current FTP server.

  • display interface

    RE88PL99ace1Views the current operational status and statistical information of interfaces.

  • display ip interface

    RE88PL99ace1Views 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

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

  • display ip routing-table

    RE88PL99ace1Views summary information of the IPv4 routing table.

  • display isis peer

    RE88PL99ace1Views IS-IS neighbor information.

  • display memory-usage

    RE88PL99ace1Views router memory usage information.

  • display ospf brief

    RE88PL99ace1Views OSPF summary information.

  • display ospf peer

    RE88PL99ace1Views OSPF neighbor information in each area.

  • display patch-information

    RE88PL99ace1Views patch status.

  • display power

    RE88PL99ace1Views power status.

  • display saved-configuration

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

  • display startup

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

  • display switchover state

    RE88PL99ace1Views the backup status of the primary/standby board.

  • display temperature

    RE88PL99ace1Views the status of temperature sensors in slots.

  • display voltage

    RE88PL99ace1Views the voltage sensor status of specified slots.

  • versão de exibição

    RE88PL99ace1Queries system software version.

  • ping

    RE88PL99ace1Checks IP network connectivity and host reachability.

  • tracert

    RE88PL99ace1Tests 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

Informação Básica

  • display diagnostic-information

    RE88PL99ace1

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

Device Information

  • display device

    RE88PL99ace1

    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

    RE88PL99ace1

    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

  • versão de exibição

    RE88PL99ace1

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

Patch Information

  • display patch-information

    RE88PL99ace1

    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

    RE88PL99ace1

    Used to determine the time point when the fault occurred.

System Current Configuration Information

  • display current-configuration

    RE88PL99ace1

    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.

Informações de alarme

  • 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 "Alarme 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])




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

Descrição

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 startup comando.

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 Tags quentes : Huawei Switches rede Roteadores Huawei

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.