- Table of Contents
-
- H3C WX1800H Series Access Controllers Installation Guide-6W102
- 00-Preface
- 01-Preparing for installation
- 02-Installing the device
- 03-Troubleshooting
- 04-Hardware management and maintenance
- 05-Appendix A Chassis views and technical specifications
- 06-Appendix B LEDs
- 07-Appendix C Optional transceiver modules
- Related Documents
-
Title | Size | Download |
---|---|---|
04-Hardware management and maintenance | 63.12 KB |
Contents
4 Hardware management and maintenance
Displaying hardware information for the device
Displaying software and hardware version information for the device
Displaying operational statistics for the device
Displaying information about the device
Displaying the electronic label data for the device
Displaying the CPU usage of the device
Displaying the memory usage of the device
Configuring the exception handling method
4 Hardware management and maintenance
The command lines and outputs depend on the software version that runs on the device.
This section uses the WX1804H-PWR access controller as an example.
Displaying hardware information for the device
Displaying software and hardware version information for the device
Use the display version command to display software and hardware version information about the device. The output includes the following information:
· The current software.
· The hardware version.
· The device operating time.
The output depends on the software and hardware versions of the device.
<H3C> display version
H3C Comware Software, Version 7.1.064, Release 5204P01
Copyright (c) 2004-2020 New H3C Tech. Co., Ltd. All rights reserved.
H3C WX1804H-PWR uptime is 0 weeks, 0 days, 0 hours, 4 minutes
Last reboot reason : Watchdog reboot
Boot image: flash:/boot.bin
Boot image version: 7.1.064, Release 5204P01
Compiled Feb 22 2017 16:00:00
System image: flash:/system.bin
System image version: 7.1.064, Release 5204P01
Compiled Feb 22 2017 16:00:00
with 1 800MHz Processor
1024M bytes DDR3
1024M bytes NandFlash Memory
Hardware Version is Ver.A
Basic Bootrom Version is 0.22
Extend Bootrom Version is 0.22
[Subslot 0]WX1804H-PWR Hardware Version is Ver.A
Displaying operational statistics for the device
When you perform routine maintenance or the system fails, you might need to display the operational information of each feature module to locate failures. Typically, you need to execute the display commands individually. However, you can use the display diagnostic-information command in any view to display or save the operational statistics of multiple feature modules of the device. This command displays the output from the display clock, display version, display device, and display current-configuration commands.
· Save the operational statistics for each feature module of the device:
<H3C> display diagnostic-information
Save or display diagnostic information (Y=save, N=display)? [Y/N]:y
Please input the file name(*.tar.gz)[flash:/diag_WX1804H_20170101-142944.tar.gz]
:
Diagnostic information is outputting to flash:/diag_WX1804H_20170101-142944.tar.
gz.
Please wait...
Save successfully.
To view the contents of the XXXX.tar.gz file, perform the following steps:
a. Execute the tar extract command to extract the XXXX.gz file from the XXXX.tar.gz file.
b. Execute the gunzip command to decompress the XXXX.gz file to XXXX file.
c. Execute the more command to view the XXXX file.
· Display the operational statistics for each feature module of the device. (Details not shown.)
<H3C> display diagnostic-information
Save or display diagnostic information (Y=save, N=display)? [Y/N]:n
===============================================
===============display clock===============
00:04:29 UTC Mon 01/01/2018
=================================================
===============display version===============
H3C Comware Software, Version 7.1.064, Release 5204P01
Copyright (c) 2004-2020 New H3C Tech. Co., Ltd. All rights reserved.
H3C WX1804H-PWR uptime is 0 weeks, 0 days, 0 hours, 4 minutes
Last reboot reason : Watchdog reboot
Boot image: flash:/boot.bin
Boot image version: 7.1.064, Release 5204P01
Compiled Feb 22 2017 16:00:00
System image: flash:/system.bin
System image version: 7.1.064, Release 5204P01
Compiled Feb 22 2017 16:00:00
with 1 800MHz Processor
1024M bytes DDR3
1024M bytes NandFlash Memory
Hardware Version is Ver.A
Basic Bootrom Version is 0.22
Extend Bootrom Version is 0.22
[Subslot 0]WX1804H-PWR Hardware Version is Ver.A
================================================
===============display device verbose===============
Slot No. Subslot No. Board Type Status Max Ports
1 0 WX1804H-PWR Normal 5
Slot 1
Status: Normal
Type: WX1804H-PWR
Hardware: A
Driver: 0.22
…
Displaying information about the device
Use the display device command to display information about the device.
<H3C> display device
Slot No. Subslot No. Board Type Status Max Ports
1 0 WX1804H-PWR Normal 5
Table4-1 Command output
Field |
Description |
Slot No. |
Slot number. |
Board Type |
Device type. |
Status |
Device status: · Fault—The device is not operating correctly. · Normal—The device is operating correctly. |
Max Ports |
Maximum number of ports supported. |
Displaying the electronic label data for the device
An electronic label is a profile of a device. It contains the permanent configuration, including the serial number, manufacturing date, MAC address, and vendor name.
Use the display device manuinfo command to display the electronic label data for the device.
<H3C> display device manuinfo
DEVICE_NAME:WX1804H-PWR
DEVICE_SERIAL_NUMBER:219801A17YH133000015
MAC_ADDRESS:000f-e212-6103
MANUFACTURING_DATE:2017-02-08
VENDOR_NAME:H3C
Table4-2 Command output
Field |
Description |
DEVICE_NAME |
Device model. |
DEVICE_SERIAL_NUMBER |
Serial number of the device. |
MAC_ADDRESS |
MAC address of the device. |
MANUFACTURING_DATE |
Manufacturing data of the device. |
VENDOR_NAME |
Vendor name. |
Displaying the CPU usage of the device
Use the display cpu-usage command to display the CPU usage statistics for the device.
<H3C> display cpu-usage
Unit CPU usage:
4% in last 5 seconds
4% in last 1 minute
7% in last 5 minutes
Table4-3 Command output
Field |
Description |
4% in last 5 seconds |
Average CPU usage in the last 5 seconds (after the device boots, the device calculates and records the average CPU usage at an interval of 5 seconds). |
4% in last 1 minute |
Average CPU usage in the last minute (after the device boots, the device calculates and records the average CPU usage at an interval of 1 minute). |
7% in last 5 minutes |
Average CPU usage in the last 5 minutes (after the device boots, the device calculates and records the average CPU usage at an interval of 5 minutes). |
Displaying the memory usage of the device
Use the display memory command to display the memory usage statistics for the device.
<H3C> display memory
Memory statistics are measured in KB:
Slot 1:
Total Used Free Shared Buffers Cached FreeRatio
Mem: 1016548 646756 369792 0 1776 416544 36.4%
-/+ Buffers/Cache: 228436 788112
Swap: 0 0 0
Description |
|
Mem |
Memory usage information. |
Total |
Total size of the physical memory space that can be allocated. |
Used |
Used physical memory. |
Free |
Free physical memory. |
Shared |
Physical memory shared by processes. |
Buffers |
Physical memory used for buffers. |
Cached |
Used physical memory for cache. |
FreeRatio |
Free memory ratio. |
–/+ Buffers/Cache |
· -/+ Buffers/Cache:used = Mem:Used – Mem:Buffers – Mem:Cached, which indicates the physical memory used by applications. · -/+ Buffers/Cache:free = Mem:Free + Mem:Buffers + Mem:Cached, which indicates the physical memory available for applications. |
Swap |
Swap memory. |
Configuring the exception handling method
You can configure the device to handle system exceptions by using one of the following methods:
· reboot—The device automatically reboots to recover from the error condition.
· maintain—The device stays in the error condition so you can collect complete data, including error messages, for diagnosis.
To configure the exception handling method:
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. (Optional.) Configure the exception handling method. |
system-failure { maintain | reboot } |
By default, the system reboots when an exception occurs. |
Rebooting the device
To reboot the device, use one of the following methods:
· Reboot the device at the CLI. You can remotely reboot the device in either of the following ways:
¡ Reboot the device immediately by using the reboot command.
¡ Schedule a reboot to occur at a specific time or date or after a delay by using the schedule reboot command.
· Power off and power on the device. This method cuts off the power of the device forcibly, which might cause data loss. It is the least-preferred method.
Restrictions and guidelines
· Before you reboot the device, perform the following tasks:
¡ Use the save command to save the running configuration. For more information about the save command, see configuration file management commands in H3C WX1800H Series Access Controller Fundamentals Command Reference.
¡ Use the display startup and display boot-loader commands to verify that you have specified the correct next-startup configuration files and startup software images. If the main startup software image is corrupt or does not exist, a reboot failure will occur. To avoid a reboot failure, use the boot-loader file command to specify a new startup software image. For more information about the display startup and display boot-loader commands, see software upgrade commands in H3C WX1800H Series Access Controller Fundamentals Command Reference.
· The device will not reboot if a file is being accessed.
Configuration procedure
Rebooting the device immediately
Task |
Command |
Remarks |
Reboot the device immediately. |
reboot |
Available in user view. |
Scheduling a reboot for the device
Task |
Command |
Remarks |
Schedule a reboot. |
·
Schedule a reboot to occur at a specific time or date: ·
Schedule a reboot to occur after a delay: |
Use either command. By default, no reboot date or time or reboot delay time is specified. Available in user view. The most recent configuration takes effect if you execute the scheduler reboot at or scheduler reboot delay command multiple times. |