There are so many statuses of Huawei equipment, master these 17 commands and you can control them at will!

Article directory

1、display cpu-usage

View device CPU usage statistics

command format

display cpu-usage [ slot slot-id ]

display cpu-usage [ process process-id ] [ slave ]

Example of use

Check the CPU usage statistics of the active main control board
<Huawei> display cpu-usage
CPU   Usage Stat. Cycle: 10 (Second)                                            
CPU   Usage Stat. Time : 2013-09-24  10:11:55                                   
Control Plane              
    CPU Usage: 23.3%   Max: 100%                                                
    User: 10.7%   System:  6.9%   SoftIrq:  0.0%   HardIrq:  5.5%   Idle: 76.7% 
    CPU utilization for ten seconds: 23.3%  one minute:  22.0%  five minutes:  2
3.0% .                     
Data    Plane              
    CPU Usage:  1.7%   Max: 100%                                                
    CPU utilization for ten seconds:  1.7%  one minute:   1.6%  five minutes:   
1.6% .                     
                           
PID   ProcessName         CPU%     CoreIndex      Runtime     State             
194   cap32               1.7%      CPU1           26132042    R                
193   vrp                20.0%      CPU0           11216335    S                
191   monitor             0.0%      CPU0           2324        S                
74    loop0               0.0%      CPU0           1913        S                
13    bdi-default         0.0%      CPU0           977         S                
7     events/0            0.0%      CPU0           708         S                
138   k3gdevd             0.0%      CPU0           423         S                
192   cap32               0.0%      CPU0           211         S                
12    sync_supers         0.0%      CPU0           204         S                
56    VFDS                0.0%      CPU0           166         S                
1     init                0.0%      CPU0           90          S                
19    kswapd0             0.0%      CPU0           63          S                
30    mtdblockd           0.0%      CPU0           35          S                
16    khubd               0.0%      CPU0           10          S                
2     kthreadd            0.0%      CPU0           0           S                
3     migration/0         0.0%      CPU0           0           S                
4     ksoftirqd/0         0.0%      CPU0           0           S                
5     migration/1         0.0%      CPU0           0           S                
6     ksoftirqd/1         0.0%      CPU0           0           S                
8     events/1            0.0%      CPU0           0           R                
9     cpuset              0.0%      CPU0           0           S                
10    khelper             0.0%      CPU0           0           S                
11    async/mgr           0.0%      CPU0           0           S                
14    kblockd/0           0.0%      CPU0           0           S                
15    kblockd/1           0.0%      CPU0           0           S                
20    aio/0               0.0%      CPU0           0           S                
21    aio/1               0.0%      CPU0           0           S                
22    crypto/0            0.0%      CPU0           0           S                
23    crypto/1            0.0%      CPU0           0           S                
29    sdcardqueue         0.0%      CPU0           0           S                
139   k3gtxd              0.0%      CPU0           0           S                
153   udpsvd              0.0%      CPU0           0           S                
271   loop1               0.0%      CPU0           0           S                
486   flush-mtd-unmap     0.0%      CPU0           0           S  
project describe
CPU Usage Stat. Cycle CPU usage statistics period, the default statistics period is 10 seconds.
CPU Usage Stat. Time The last time the CPU usage was counted.
Control Plane The latest statistics of the CPU usage of the control plane.
Data Plane The latest statistics on the CPU usage of the forwarding plane.
CPU Usage Current CPU usage.
Max Indicates the historical maximum value of the CPU usage.
User The occupancy rate of the user state.
System The occupancy of the kernel running.
SoftIrq Occupancy rate of softirq running.
HardIrq Occupancy rate of hard interrupt operation.
Idle The occupancy rate of the idle state.
CPU utilization for ten seconds CPU usage within 10 seconds.
one minute CPU usage within 1 minute.
five minutes CPU usage within 5 minutes.
PID The process ID running on the device.
ProcessName The name of the process running on the device.
CPU% Indicates the proportion of each task in the CPU usage.
CoreIndex The index number of the CPU.
Runtime Elapsed time since the device was started.
State The status of the process currently running on the device. Enumeration type, value range:
R: Executable state.
S: Interruptible sleep state.
D: Uninterruptible sleep state.
T: pause state or track state.
Z: exit status, the process becomes a zombie process.
X: Exit status, the process is about to be destroyed.

2、display cpu-usage configuration

View the configuration information of the CPU usage of the device

command format

display cpu-usage configuration [ slave | slot slot-id ]

Use an example to view the configuration information of the CPU usage of the main control board

<Huawei> display cpu-usage configuration
Master Board:
The CPU usage monitor is turned on. 
The CPU thread usage monitor is turned on. 
The current monitor cycle is 10 seconds.
The current monitor warning threshold is 80%.
The current monitor restore threshold is 75%. 

3、display device

View device component types and status information

command format

display device [ slot slot-id ]

Example of use

View device part information
<Huawei> display device
AR2240's Device status:   
Slot  Sub Type             Online   Power     Register      Alarm        Primary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
1     -   2FE              Present  PowerOn   Registered    Normal       NA     
2     -   1SA              Present  PowerOn   Registered    Normal       NA     
3     -   1CPOS-155M       Present  PowerOn   Registered    Normal       NA     
4     -   1ADSL-A/M        Present  PowerOn   Registered    Normal       NA     
5     -   8FE1GE           Present  PowerOn   Registered    Normal       NA     
6     -   -                Present  PowerOff  Unregistered  TimeOutReg   NA     
8     -   1STM4            Present  PowerOn   Registered    Normal       NA     
11    -   SRU40            Present  PowerOn   Registered    Normal       Master 
9     -   PWR350A          Present  PowerOn   Registered    Normal       NA     
12    -   FAN              Present  PowerOn   Registered    Normal       NA  
project describe
Slot The slot number of the slot where the part is slotted.
Sub subcard number.
Type The concrete type of the part.
Online Whether the parts are in place normally.
Present: Indicates that it is normally present.
Absent: Indicates absence.
Power Whether the part is powered.
PowerOn: Indicates that the power is on.
PowerOff: Indicates that the device is powered off.
NA: Indicates that the state is not known.
This message may appear after the device restarts.
Register Whether the component is registered.
Registered: Indicates that it has been registered.
Unregistered: means unregistered.
Alarm Whether the component status is normal. When the board is powered off, the reason for the component power-off will be displayed.
Normal: Indicates that the part is operating normally.
PowerSetFail: Indicates that the command setting fails to power on.
Nonsupport: Indicates that the current version does not support the board/the current main controller does not support the board in a certain slot.
TimeOutReg: Indicates that the board does not register for a long time.
UserSetOff: Indicates that the command line is set to power off.
LackPower: Indicates insufficient power.
InfoGetFail: Indicates that obtaining board information is abnormal.
Primary Active/standby status of the board. Slave means the standby board, and Master means the active board. Other components show "NA".
View the component information of device slot 1
<Huawei> display device slot 1
AR2240's Device status:
Slot  Sub Type                Online   Power     Register      Alarm     Primary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1     -   8FE1GE              Present  PowerOn   Registered    Normal    NA

-------------------------------------------------------------------------------
  Board Name        : 8FE1GE
  Board Description : 9-port 8FE/1GE  L2/L3 Ethernet Interface Card
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
  Port   Port     Optic    MDI     Speed    Duplex    Flow-    Port     POE
         Type     Status           (Mbps)             Ctrl     State    State
-------------------------------------------------------------------------------
   0     ETH(C)   -        auto    100      full      disable  up       -
   1     ETH(C)   -        auto    100      full      disable  up       -
   2     ETH(C)   -        auto    100      full      disable  up       -
   3     ETH(C)   -        auto    100      full      disable  down     -
   4     ETH(C)   -        auto    100      full      disable  down     -
   5     ETH(C)   -        auto    100      full      disable  down     -
   6     ETH(C)   -        auto    100      full      disable  down     -
   7     ETH(C)   -        auto    100      full      disable  down     -
   8     GE(C)    -        auto    1000     full      disable  up       -
-------------------------------------------------------------------------------
project describe
Slot The slot number of the slot where the part is slotted.
Sub subcard number.
Type The concrete type of the part.
Online The component status is Present, indicating that it is normally in place.
Power The component power-on state is PowerOn, which means it is powered on.
Register The part registration status is Registered, indicating that it has been registered.
Alarm The component status is Normal, indicating that the component is operating normally.
Primary Active/standby status of the board. Slave means the standby board, and Master means the active board. Other components show "NA".
Board Name Name of the board corresponding to the slot number.
Board Description The description of the board corresponding to the slot number.
Port Indicates the interface number of the current board corresponding to the slot number.
Port Type Interface type of the board corresponding to the slot number.
Optic Status 光模块的在位状态。
MDI 接口的网线类型,包括:
across:交叉网线。
auto:自动识别网线。
normal:直通网线。
Speed (Mbps) 对应槽位号接口的接口速率,单位:每秒兆比特。
Duplex 对应槽位号接口的双工模式,包括:
half:半双工模式。
full:双工模式。
Flow-Ctrl 对应槽位号接口的流控方式:
enable:打开流量控制开关。
disable:关闭流量控制开关。
Port State 对应槽位号接口的接口状态:
up:打开。
down:关闭。
POE State 对应槽位号接口的PoE状态。

4、display diagnostic-information

一键式采集并查看设备当前的诊断信息或将诊断信息存储在指定压缩包文件

命令格式

display diagnostic-information [ file-name ]

使用示例

查看设备当前的诊断信息
<Huawei> display diagnostic-information
===================================================                             
  ===============display version===============                                 
===================================================                             
Huawei Versatile Routing Platform Software                                      
VRP (R) software, Version 5.120 (AR2200 V200R003C00)                            
Copyright (C) 2011-2012 HUAWEI TECH CO., LTD                                    
Huawei AR2240 Router uptime is 0 week, 1 day, 0 hour, 11 minutes                
BKP 0 version information:                                                      
1. PCB      Version  : AR01BAK2B VER.A                                          
2. If Supporting PoE : No                                                       
3. Board    Type     : AR2240                                                   
4. MPU Slot Quantity : 1                                                        
5. LPU Slot Quantity : 8                                                        
                                                                                
MPU 11(Master) : uptime is 0 week, 1 day, 0 hour, 11 minutes                    
SDRAM Memory Size    : 2048    M bytes                                          
Flash Memory Size    : 16      M bytes                                          
NVRAM Memory Size    : 512     K bytes                                          
SD Card1 Memory Size : 1882    M bytes                                          
MPU version information :                                                       
1. PCB      Version  : AR01SRU3A VER.B                                          
2. MAB      Version  : 0                                                        
3. Board    Type     : SRU40                                                    
4. CPLD0    Version  : 104                                                      
5. CPLD1    Version  : 104                                                      
6. BootROM  Version  : 604                                                      
                                                                                
LPU 1 : uptime is 0 week, 1 day, 0 hour, 8 minutes                              
SDRAM Memory Size    : 96      K bytes                                          
Flash Memory Size    : 384     K bytes                                          
LPU version information :                                                       
1. PCB      Version  : AR01SEG1CA VER.B                                         
2. MAB      Version  : 0                                                        
3. Board    Type     : 2FE                                                      
4. BootROM  Version  : cb                                                       
                                                                                
LPU 5 : uptime is 0 week, 1 day, 0 hour, 7 minutes                              
SDRAM Memory Size    : 256     M bytes                                          
Flash Memory Size    : 16      M bytes                                          
LPU version information :                                                       
1. PCB      Version  : AR01WMF9TTA VER.B                                        
2. MAB      Version  : 0                                                        
3. Board    Type     : 8FE1GE                                                   
4. BootROM  Version  : 213                                                      
5. BootLoad Version  : 510                                                      
                                                                                
FAN version information :                                                       
1. PCB      Version  : AR01DF05A VER.A                                          
2. Board    Type     : FAN                                                      
3. Software Version  : 103                                                      
                                                                                
=================================================                               
  ===============display clock===============                                   
=================================================                               
2012-09-05 11:15:23                                                             
Wednesday                                                                       
Time Zone(Default Zone Name) : UTC+00:00                                        
==================================================                              
  ===============display device===============                                  
==================================================                              
AR2240's Device status:                                                         
Slot  Sub Type                Online   Power     Register      Alarm     Primary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
1     -   2FE                 Present  PowerOn   Registered    Normal    NA     
5     -   8FE1GE              Present  PowerOn   Registered    Normal    NA     
11    -   SRU40               Present  PowerOn   Registered    Normal    Master 
9     -   PWR350A             Present  PowerOn   Registered    Normal    NA     
12    -   FAN                 Present  PowerOn   Registered    Normal    NA     
                                                                                
……

将设备的诊断信息保存到flash里的aa.txt文件中
<Huawei> display diagnostic-information flash:/aa.txt 
  This operation will take several minutes, please wait.........................
..................................................................              
Info: The diagnostic information was saved to the device successfully..   

5、display elabel

查看设备的电子标签信息

命令格式

display elabel [ slot-id ] [ brief ]

display elabel backplane

使用示例

查看1号槽位单板的电子标签简要信息
<Huawei> display elabel 1 brief
 It is executing, please wait...                                                
                         
                         
[Slot_1]                 
/$[Board Integration Version]                                                   
/$BoardIntegrationVersion=3.0                                                   
                         
                         
[Main_Board]             
/$[ArchivesInfo Version] 
/$ArchivesInfoVersion=3.0
                         
                         
[Board Properties]       
BoardType=AR01SEF2TA     
BarCode=020XTQ10BA000063 
Item=03020XTQ            
Description=AR,AR01SEF2TA,2-Port FE WAN Interface Card,1*2                      
Manufactured=2011-10-15  
VendorName=Huawei        
IssueNumber=00           
CLEICode=56324                
BOM=02352868  
查看设备的电子标签详细信息
<Huawei> display elabel
 It is executing, please wait...                                                
                         
                         
/$[System Integration Version]                                                  
/$SystemIntegrationVersion=3.0                                                  
                         
                         
[Rack_1]                 
[SubRack_0]              
                         
                         
[BackPlane_0]            
/$[ArchivesInfo Version] 
/$ArchivesInfoVersion=3.0
                         
                         
[Board Properties]       
BoardType=AR0B0024BA     
BarCode=2102113373P0BA000130                                                    
Item=02113373            
Description=AR2200,AR0B0024BA,AR2240 CHASSIS                                    
Manufactured=2011-10-10  
VendorName=Huawei        
IssueNumber=00           
CLEICode=56325                
BOM=02352869                     
                         
                         
                         
[Slot_0]  
/$[Board Integration Version]                                                   
/$BoardIntegrationVersion=3.0                                                   
                         
                         
[Main_Board]             
/$[ArchivesInfo Version] 
/$ArchivesInfoVersion=3.0
                         
                         
[Board Properties]       
BoardType=AR01WMF9TTA    
BarCode=020XTN10BA000044 
Item=03020XTN            
Description=AR,AR01WMF9TTA ,8-Port 10/100BASE(RJ45) and 1-Port 10/100/1000BASE(R
J45)-L2/L3 Ethernet Interface Card ,1*1                                         
Manufactured=2011-10-11  
VendorName=Huawei        
IssueNumber=00           
CLEICode=56326                
BOM=02352870                     
                         
                         
[Slot_9]                 
/$[Board Integration Version]                                                   
/$BoardIntegrationVersion=3.0                                                   
                         
                         
[Main_Board]             
/$[ArchivesInfo Version] 
/$ArchivesInfoVersion=3.0
                         
                         
[Board Properties]       
BoardType=AR01PSAC35     
BarCode=2102310CWN10B6000195                                                    
Item=02310CWN            
Description=AR Series,AR01PSAC35,350W AC Power Module                           
Manufactured=2011-06-09  
VendorName=Huawei        
IssueNumber=00           
CLEICode=56327                
BOM=02352871                     
                         
                         
                         
[Slot_12]                
/$[Board Integration Version]                                                   
/$BoardIntegrationVersion=3.0                                                   
                         
                         
[Main_Board]             
/$[ArchivesInfo Version] 
/$ArchivesInfoVersion=3.0
                         
                         
[Board Properties]       
BoardType=AR01DF05A      
BarCode=21021206134JB9000205                                                    
Item=02120613            
Description=AR2200,AR01DF05A,Fan Box For AR2240                                 
Manufactured=2011-09-21  
VendorName=Huawei        
IssueNumber=00           
CLEICode=56328                
BOM=02352872     
查看背板的电子标签
<Huawei> display elabel backplane
 It is executing, please wait...                                                
                         
                         
[BackPlane_0]            
/$[ArchivesInfo Version] 
/$ArchivesInfoVersion=3.0
                         
                         
[Board Properties]       
BoardType=AR0B0024BA     
BarCode=2102113373P0BA000130                                                    
Item=02113373            
Description=AR2200,AR0B0024BA,AR2240 CHASSIS                                    
Manufactured=2011-10-10  
VendorName=Huawei        
IssueNumber=00           
CLEICode=56329                
BOM=02352873              

6、display esn

查看设备的序列号ESN(Equipment Serial Number)

命令格式

display esn

使用示例

显示设备的ESN
<Huawei> display esn
 ESN of device: 2102113374P0B4000046  

7、display fan

查看风扇的状态

命令格式

display fan

使用示例

查看设备的风扇状态
<Huawei> display fan
------------------------------------------------------------------              
          FanId  FanNum  Present  Register  Speed  Mode                         
------------------------------------------------------------------              
          12     [1-5]   YES      YES         34%  AUTO                         
                    1                        2100                               
                    2                        2040                               
                    3                        2100                               
                    4                        2130                               
                    5                        2100      

8、display health

查看设备的健康状况

命令格式

display health

使用示例

查看设备健康状况
<Huawei> display health
--------------------------------------------------------------------------------
 Slot   Card   Sensor No.   SensorName            Status  Upper  Lower  Temp(C)
--------------------------------------------------------------------------------
 1      -      1            8FE1GE TEMP           NORMAL  85     0      45

 5      -      1            8FE1GE TEMP           NORMAL  85     0      45

 11     -      1            SRU40 TEMP            NORMAL  70     0      50

--------------------------------------------------------------------------
 PowerNo  Present  Mode   State      Current(A)   Voltage(V)   Power(W)
--------------------------------------------------------------------------
   9       YES     AC     Supply     N/A          12           350
   10      NO      N/A    N/A        N/A          N/A          N/A
------------------------------------------------------------------
          FanId  FanNum  Present  Register  Speed  Mode
------------------------------------------------------------------
          12     [1-5]   YES      YES         35%  AUTO
                    1                        2100
                    2                        2100
                    3                        2100
                    4                        2160
                    5                        2130

 The total  power is : 350.000(W)
 The remain power is : 272.000(W)
 The system used power detail information :
-------------------------------------------------------------------------------
  SlotID  BoardType    Power-Used(W)  Power-Requested(W)
-------------------------------------------------------------------------------
  1       8FE1GE       3.010          4
  5       8FE1GE       9.530          13
  11      SRU40        42.000         61
System CPU Usage Information:
 System cpu usage at 2012-09-05  15:02:35 570 ms
-------------------------------------------------------------------------------
  SlotID  CPU Usage  Upper Limit
-------------------------------------------------------------------------------
  5       4 %        80%
  11      6 %        80%
System Memory Usage Information:
 System memory usage at 2012-09-05  15:02:35 640 ms
-------------------------------------------------------------------------------
  SlotID  Total Memory(MB)  Used Memory(MB)  Used Percentage  Upper Limit
-------------------------------------------------------------------------------
  5       176               20                11%             95%
  11      1257              194               15%             95%
System Disk Usage Information:
 System disk usage at 2012-09-05  15:02:35 710 ms
-------------------------------------------------------------------------------
  SlotID  Device        Total Available     Used Memory(MB)    Used Percentage
                        Memory(MB)
-------------------------------------------------------------------------------
  11      sd1:    1882.51              1000.51             53.15%
          flash:  2.00                 0.18                9.00%
项目 描述
Slot 物理器件所在的槽位号。
Card 子卡号。
Sensor No. 物理器件上的传感器编号。
SensorName 物理器件上的传感器名称。
Status 物理器件的状态。
NORMAL:表示对应槽位号物理器件的温度状态正常。
ABNORMAL:表示对应槽位号物理器件的温度超出允许范围。
Upper 温度的上限值。
Lower 温度的下限值。
Temperature.© 物理器件当前的温度值。
PowerNo 电源模块编号。
Present 电源是否在位,其中:
YES:表示电源在位。
NO:表示电源不在位。
Mode 电源模式。其中:
DC:直流电源。
AC:交流电源。
State 电源状态。
NotSupply:无电流输出。
Supply:有电流输出。
Current(A) 电源供电电流。目前固定显示“N/A”。
Voltage(V) 电源额定电压。
Power(W) 电源额定功率。
FanId 风扇的ID。
FanNum 风扇的数目。
Present 风扇是否在位。其中:
YES:表示风扇在位。
NO:表示风扇不在位。
Register 风扇是否注册。其中:
YES:表示风扇已注册。
NO:表示风扇没有注册。
Speed 风扇转速。表示为当前风扇转速与全速运转时的百分比,或风扇的实际转速,单位转/分钟。
Mode 风扇的工作模式。
AUTO:自动模式。
MANUAL:手动模式。
BoardType 单板类型。
Power-Used(W) 单板消耗的功率。
Power-Requested(W) 单板最大的功率。
CPU Usage 单板CPU的占用率。
Upper Limit 触发设备产生告警的CPU占用率的上限阈值。通过执行命令set cpu-usage threshold [ slot slot-id ]进行配置。
Total Memory(MB) 单板内存总量。
Used Memory(MB) 单板内存的使用量。
Used Percentage 单板内存的使用率。
Device 设备存储介质名称。

9、display memory-alloc mid

查看指定模块申请内存的情况

命令格式

display memory-alloc mid mid

使用示例

查看ACL模块申请内存的情况
<Huawei> display memory-alloc mid 0XC06C0000                                                                                                                                              
                                                                                                                                    
==================================================                                                                                  
********************************************************************************                                                    
PtNo    UsedMemory(B)   UsedBlockNum    AllocTimes    FreeTimes     PtName                                                          
--------------------------------------------------------------------------------                                                    
1       1007552         15              17            2             USRPT                                                           
******************************************************************************** 

10、display memory-usage

查看设备的内存占用率信息

命令格式

display memory-usage [ slave | slot slot-id ]

使用示例

查看当前主用主控板的内存占用率信息
<Huawei> display memory-usage
 Memory utilization statistics at 2008-12-15 15:17:42 746 ms
 System Total Memory Is: 394152720 bytes
 Total Memory Used Is: 130975664 bytes
 Memory Using Percentage Is: 33% 
查看2号槽位的接口板内存占用率信息
<Huawei> display memory-usage slot 2
 Slot 2/0 Memory utilization Info:
 Memory utilization statistics at 2008-12-15 15:08:58 532 ms
 System Total Memory Is: 59656976 bytes
 Total Memory Used Is: 16651852 bytes
 Memory Using Percentage Is: 27% 

11、display memory-usage process vrp

查看当前VRP进程内存占用率的统计信息

命令格式

display memory-usage process vrp [ slave ]

使用示例

查看VRP进程内存占用率的统计信息
<Huawei> display memory-usage process vrp
 Memory utilization statistics at 2013-07-10 09:55:20 729 ms                                                                        
 The current memory of vrp process:                                                                                                 
 Totalram : 253755392 bytes                                                                                                         
 Total Memory Used Is : 212461632 bytes                                                                                             
 Memory Using Percentage Is: 83% 

12、display memory-usage threshold

查看设备的内存占用率阈值

命令格式

display memory-usage threshold [ all | slot slot-id | slave ]

使用示例

查看主用主控板内存占用率阈值
<Huawei> display memory-usage threshold
 Current memory threshold of the main board is 95%.
查看设备主用主控板和所有单板的内存占用率阈值
<Huawei> display memory-usage threshold all
 Current memory threshold of the main board is 95%.                             
 Current memory threshold of the slot 1 is 95%.     

13、display power

查看设备电源信息

命令格式

display power

使用示例

查看设备的电源状态
<Huawei> display power
-------------------------------------------------------------------------      
 PowerNo  Present  Mode   State      Current(A)   Voltage(V)   Power(W)         
--------------------------------------------------------------------------      
   9       NO      N/A    N/A        N/A          N/A          N/A              
   10      YES     AC     Supply     N/A          12           350       

14、display power system

查看设备系统功率和单板功率等信息

命令格式

display power system

使用示例

查看设备的功率信息
<Huawei> display power system
 The backup-mode  is : 1:0
 The total  power is : 350.000(W)                                               
 The remain power is : 235.000(W)                                               
 The system used power detail information :                                     
------------------------------------------------------------------------------- 
  SlotID  BoardType    Power-Used(W)  Power-Requested(W)                        
------------------------------------------------------------------------------- 
  1       8FE1GE       9.476          13                                        
  5       8FE1GE       9.476          13                                        
  11      SRU40        42.000         61                                        
  16      FAN          14.000         28
项目 描述
The backup-mode is 电源模式,其中
1:0:设备配置单电源模块。
1:1:设备配置双电源模块。
The total power is 设备总功率。
The remain power is 设备剩余功率。
The system used power detail information 系统所用功率的详细信息。
SlotID 部件所在槽位号。
BoardType 对应槽位号在位的部件类型。
Power-Used(W) 部件已使用的功率。
Power-Requested(W) 系统给部件分配的固定功率。

15、display sn

查看设备上部件的序列号SN(Serial Number)

命令格式

display sn [ [ interface ] abnormal | all | interface interface-type interface-number | license | slot slot-id ]

使用示例

查看设备的SN信息
<Huawei> display sn
Equipment SN(ESN): AR00050123456789                                             
License ESN: AR00050123456789                                                   
Slot  Sub Type             SN                       P/N                         
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -                   
1     -   2FE              020XTQ10C3000017         03020XTQ                    
2     -   1SA              020YNB10B5000151         03020YNB                    
3     -   1CPOS-155M       021AQU10C1000041         03021AQU                    
4     -   1ADSL-A/M        020XTT10B5000153         03020XTT                    
5     -   8FE1GE           020XTN10BA000044         03020XTN                    
8     -   1STM4            021XHD10E1000001         03021XHD                    
11    -   SRU40            AR00050123456789         02129615                    
9     -   PWR350A          2102310CWN10B6000195     02310CWN                    
12    -   FAN              21021206134JB9000205     02120613    
查看设备存在异常的槽位的SN信息
<Huawei> display sn abnormal
Slot  Sub Type             SN                       P/N        State            
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -       
1     -   2FE              020XTQ10C3000017         03020XTQ   TimeOutReg       

16、display temperature

查看设备的温度信息

命令格式

display temperature { all | slot slot-id }

display temperature slot fan

使用示例

查看设备所有单板的温度信息
<Huawei> display temperature all
--------------------------------------------------------------------------------
 Slot   Card   Sensor No.   SensorName            Status  Upper  Lower  Temp(C) 
--------------------------------------------------------------------------------
 1      -      1            8FE1GE TEMP           NORMAL  85     0      45      
           
 5      -      1            8FE1GE TEMP           NORMAL  85     0      45      
           
 11     -      1            SRU40 TEMP            NORMAL  55     0      50    
查看设备1号槽位单板的温度信息
<Huawei> display temperature slot 1
--------------------------------------------------------------------------------
 Slot   Card   Sensor No.   SensorName            Status  Upper  Lower  Temp(C) 
--------------------------------------------------------------------------------
 1      -      1            8FE1GE TEMP           NORMAL  85     0      45     
查看风扇模块的温度信息
<Huawei> display temperature slot fan
---------------------------------------------------------------------------     
 Slot  Card  Sensor No.  SensorName          Status    Upper  Lower  Temp(C)    
---------------------------------------------------------------------------     
 12    -     1           Hot Point           NORMAL    65     0      39      

17、display transceiver

查看设备接口上的光模块信息

命令格式

display transceiver [ interface interface-type interface-number | controller controller-type controller-number | slot slot-id ] [ verbose ]

使用示例

查看指定端口光模块的常规、制造、告警信息
<Huawei> display transceiver interface gigabitethernet 1/0/0
                                                                                                                                    
GigabitEthernet1/0/0 information:
-------------------------------------------------------------
Electronic label information:
  Description               :2100Mb/sec-850nm-LC-MM-500m(0.05mm)300m(0.0625mm)
  Type                      :PLRXPL-VI-S24-HW
  VendorSN                  :CA21QQ2Z8       
  Manufacturing Date        :2010-05-25
  Manufacturer              :JDSU            
-------------------------------------------------------------
Alarm information:
  RX power low
-------------------------------------------------------------
查看指定端口光模块的常规、制造、告警以及诊断信息
<Huawei> display transceiver interface gigabitethernet 1/0/0 verbose
                                                                                                                                    
GigabitEthernet1/0/0 information:
-------------------------------------------------------------
Electronic label information:
  Description               :2100Mb/sec-850nm-LC-MM-500m(0.05mm)300m(0.0625mm)
  Type                      :PLRXPL-VI-S24-HW
  VendorSN                  :CA21QQ2Z8       
  Manufacturing Date        :2010-05-25
  Manufacturer              :JDSU            
-------------------------------------------------------------
Alarm information:
  RX power low
-------------------------------------------------------------
Realtime information:
  Temperature(℃)                          :35
  Voltage(V)                               :3.30
  Bias Current(mA)                         :4.08
  Bias High Threshold(mA)                  :18.57
  Bias Low  Threshold(mA)                  :1.07
  Current Rx Power(dBM)                    :-31.54
  Default Rx Power High Threshold(dBM)     :0.00
  Default Rx Power Low  Threshold(dBM)     :-16.98
  Current Tx Power(dBM)                    :-5.01
  Default Tx Power High Threshold(dBM)     :0.00
  Default Tx Power Low  Threshold(dBM)     :-9.50
  User Set Rx Power High Threshold(dBM)    :0.00
  User Set Rx Power Low Threshold(dBM)     :-16.98
  User Set Tx Power High Threshold(dBM)    :0.00
  User Set Tx Power Low Threshold(dBM)     :-9.50
  Default Temperature high  Threshold(℃)  :85
  Default Temperature low   Threshold(℃)  :-40
-------------------------------------------------------------
项目 描述
Electronic label information 光模块的电子标签信息。
Description 信息描述。
Type 光模块类型。
VendorSN 光模块生产序列号。
Manufacturing Date 光模块生产日期。
Manufacturer 光模块制造厂商名称。
Alarm information 光模块的告警信息。
RX power low 光模块接收功率低的告警。
Realtime information 光模块的实时信息。
Temperature(°C) 光模块当前温度。
Voltage(V) 光模块当前电压。
Bias Current (mA) 光模块偏置电流。
Bias High Threshold(mA) 光模块偏置电流上限。
Bias Low Threshold(mA) 光模块偏置电流下限。
Current RX Power(dBM) 光模块当前接收功率。
Default RX Power High Threshold (dBM) 默认光模块接收功率上限。
Default RX Power Low Threshold (dBM) 默认光模块接收功率下限。
Current TX Power(dBM) 光模块发送功率。
Default TX Power High Threshold(dBM) 光模块发送功率上限。
Default TX Power Low Threshold(dBM) 光模块发送功率下限。
User Set Rx Power High Threshold(dBM) 用户设置光模块接收功率上限。
User Set Rx Power Low Threshold(dBM) 用户设置光模块接收功率下限。
User Set Tx Power High Threshold(dBM) 用户设置光模块发送功率上限。
User Set Tx Power Low Threshold(dBM) 用户设置光模块发送功率下限。
Default Temperature high Threshold (°C) 默认光模块温度上限。
Default Temperature low Threshold (°C) 默认光模块温度下限。

18、display version

查看设备的版本信息

命令格式

display version [ slot slot-id ]

display version slot fan

使用示例

查看设备的版本信息
<Huawei> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.120 (AR2200 V200R003C00)
Copyright (C) 2011-2012 HUAWEI TECH CO., LTD
Huawei AR2240 Router uptime is 0 week, 1 day, 5 hours, 10 minutes
BKP 0 version information:
1. PCB      Version  : AR01BAK2B VER.A
2. If Supporting PoE : No
3. Board    Type     : AR2240
4. MPU Slot Quantity : 1
5. LPU Slot Quantity : 8

MPU 11(Master) : uptime is 0 week, 1 day, 5 hours, 10 minutes
SDRAM Memory Size    : 2048    M bytes
Flash Memory Size    : 16      M bytes
NVRAM Memory Size    : 512     K bytes
SD Card1 Memory Size : 1882    M bytes
MPU version information :
1. PCB      Version  : AR01SRU3A VER.B
2. MAB      Version  : 0
3. Board    Type     : SRU40
4. CPLD0    Version  : 104
5. CPLD1    Version  : 104
6. BootROM  Version  : 604

LPU 1 : uptime is 0 week, 1 day, 5 hours, 7 minutes
SDRAM Memory Size    : 96      K bytes
Flash Memory Size    : 384     K bytes
LPU version information :
1. PCB      Version  : AR01SEG1CA VER.B
2. MAB      Version  : 0
3. Board    Type     : 2FE
4. BootROM  Version  : cb

LPU 5 : uptime is 0 week, 1 day, 5 hours, 6 minutes
SDRAM Memory Size    : 256     M bytes
Flash Memory Size    : 16      M bytes
LPU version information :
1. PCB      Version  : AR01WMF9TTA VER.B
2. MAB      Version  : 0
3. Board    Type     : 8FE1GE
4. BootROM  Version  : 213
5. BootLoad Version  : 510

FAN version information :
1. PCB      Version  : AR01DF05A VER.A
2. Board    Type     : FAN
3. Software Version  : 103
查看设备1号槽位所在单板的版本信息
<Huawei> display version slot 1
LPU 1 : uptime is 0 week, 1 day, 5 hours, 15 minutes
SDRAM Memory Size    : 256     M bytes
Flash Memory Size    : 16      M bytes
LPU version information :
1. PCB      Version  : AR01WMF9TTA VER.B
2. MAB      Version  : 0
3. Board    Type     : 8FE1GE
4. BootROM  Version  : 213
5. BootLoad Version  : 510
查看设备风扇模块的版本信息
<Huawei> display version slot fan
FAN version information :
1. PCB      Version  : AR01DF05A VER.A
2. Board    Type     : FAN
3. Software Version  : 103 
项目 描述
Huawei Versatile Routing Platform Software 表示华为公司通用路由平台VRP
VRP ® software, Version VRP版本及发布版本
Copyright © 2011-2012 HUAWEI TECH CO., LTD 表示版本时间
uptime 系统上电时间
BKP 0 version information: 表示背板的版本信息
PCB Version : 表示PCB板的版本信息
If Supporting PoE : 表示是否支持PoE功能
Board Type : 表示单板类型
MPU Slot Quantity : 表示主控板的槽位数
LPU Slot Quantity : 表示接口板的槽位数
MPU X(Master) : 表示主控板槽位号
SDRAM Memory Size : 表示SDRAM空间大小通过命令display memory-usage查看到的“System Total Memory”是从该内存中分配的一部分,不同设备取值不同。
Flash Memory Size : 表示Flash空间大小
NVRAM Memory Size : 表示NVRAM空间大小
SD Card1 Memory Size : 表示sd1卡空间大小
USB Disk0 Memory Size: 表示usb0空间大小
MPU version information : 表示主控板的版本信息
LPU X : 表示槽位号为X的接口板
LPU version information : 表示接口板的版本信息
FAN version information : 表示风扇模块的版本信息

19、display dyinggasp capacity

查看Dyinggasp电容板的电池容量是否充满

命令格式

display dyinggasp capacity [ slot slot-id ]

使用示例

查看设备Dyinggasp电容板的电池容量是否充满
<Huawei> display dyinggasp capacity
DyingGasp board capacity information:      
Slot         Type            Capacity  
-------------------------------------   
1            AR-DGP-S         Full                                              
-------------------------------------  

Guess you like

Origin blog.csdn.net/weixin_43025343/article/details/132236229