Общая информация
Показать на экране diagnostic-information
This command is primarily used to collect basic system information- да.integrating the output of multiple commonly usedПоказать на экране
commands- да.such asПоказать на экране device
- да.Показать на экране 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 Показать на экране, 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
Версия для отображения
В настоящее времяversion of the faulty device is crucial for fault identification. TheВерсия для отображения
command 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
В настоящее времяversion of the faulty device is essential for fault identification. Thedisplay patch-information
command 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-configuration
command to view the startup configuration, i.e., the configuration file specified by thestartup saved-configuration
command. Thedisplay saved-configuration last
command views the last saved system configuration information, whiledisplay saved-configuration time
views 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.
Информация о сигналах тревоги
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-id
is 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-id
is specified, it shows the CPU usage of the interface board; if not specified, it shows the CPU usage of the main control board.
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.
Версия для отображения
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.
Общая информация
display diagnostic-information
When seeking technical support, this command quickly collects device diagnostic information. It integrates the output of multiple commonly useddisplay
commands, such asdisplay clock
, Версия для отображения
, display current-configuration
, etc., and can be considered a batch execution of common systemdisplay
commands.
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
Версия для отображения
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.
Информация о сигналах тревоги
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 "3. Сигнализация 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 thedir
command 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](1)
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.
Пункт повестки дня | Command | 3. Описание |
---|---|---|
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 information | display startup | This 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 information | display configuration recover-result | This 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 information | display 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 status | display switchover state | This command displays information about the active/standby switchover. The information helps determine whether the system meets switchover requirements. |
Device alarms | display alarm active | This command displays current alarm information. |
Hardware alarms | display device alarm hardware | This command displays hardware alarm information. |
Temperature information | display device temperature all | This command displays temperature information. |
Fan information | display device fan | This command displays fan information. |
Power supply information | display device power | This command displays power supply information. |
Route statistics |
| The two commands display information about routing entries. |
IS-IS neighbor information |
| The two commands display IS-IS neighbor information. |
BGP neighbor information |
| The two commands display BGP neighbor information. |
BGP route statistics |
| The two commands display information about BGP routing entries. |
OSPF neighbor information |
| The two commands display OSPF neighbor information. |
TRILL neighbor information | display trill peer | This command displays TRILL neighbor information. |
MPLS LSP label statistics | display mpls lsp statistics | This command displays the number of LSPs in Up state. |
MPLS LDP session information | display mpls ldp session | Displays information about sessions between LDP peers. |
Multicast neighbor information | display pim neighbor | This command displays multicast neighbor information. |
Multicast routing table | display pim routing-table brief | This command displays multicast routing table information. |
Stack member information | display stack | This command displays stack member information. |
Stack configuration | display stack configuration | This command displays the stack configuration. |
Stack topology information | display stack topology | This command displays stack topology information. |
Stack fault information | display 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 information | display 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 information | display 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 information | display 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 information | display 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 information | display 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 information | display 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 information | display 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 information | display 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 information | display 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. |