欢迎光临散文网 会员登陆 & 注册

18个基础命令教你轻松拿捏华为设备的各种状态!(下)

2023-04-03 18:29 作者:鸿锦智成  | 我要投稿


  • 10、display memory-usage process vrp
         
    用来查看当前VRP进程内存占用率的统计信息

    • 命令格式
           
      display memory-usage       process vrp [ slave ]

    • 使用示例
           
      <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%

 

  • 11、display memory-usage threshold
         
    用来查看设备的内存占用率阈值

    • 命令格式
           
      <Huawei>display       memory-usage threshold ?
            all   All slot
            slot  Specify the slot
            <cr>  Please press ENTER to       execute command

    • 使用示例
           
      <Huawei>display       memory-usage threshold
            Current memory threshold of the main board is 95%.

 

  • 12、display power
         
    用来查看设备电源状态

    • 命令格式
           
      <Huawei>display power       ?
            system  System power information
            <cr>    Please press ENTER to       execute command

    • 使用示例
           
      <Huawei>display power
            --------------------------------------------------------------
            PowerNo  Present  Mode         State  Current(A) Voltage(V)       Power(W)  
            --------------------------------------------------------------
               7     YES       AC          Supply   N/A         12        150

 

  • 13、display power system
         
    用来查看设备系统功率和单板功率等信息

    • 命令格式
           
      <Huawei>display power       system ?
            <cr>  Please press ENTER to       execute command

    • 使用示例
           
      <Huawei>display power       system
            The total  power is : 150.000(W)
            The used   power is : 0.000(W)
            The remain power is : 150.000(W)
            The system used power detail information :
            --------------------------------------------------------------
              SlotID  BoardType    Power-Used(W)  Power-Requested(W)
            --------------------------------------------------------------
              0       AR2220       0.000          0

 

  • 14、display sn
         
    用来查看设备上部件的序列号SN(Serial Number)

    • 命令格式
           
      display sn [ license | all | interface [ interface-type       interface-number ] | [ interface ] abnormal ]

    • 使用示例
           
      查看设备上所有部件的序列号
            <Huawei> display sn all
            Equipment SN(ESN): ********6481
            License ESN: ********6481
            Slot  Sub Type             SN               P/N
            - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
             0     - AirEngine9700-M   ********6481     02352RDR
            显示异常子卡的序列号
            <Huawei> display sn       abnormal
             Slot  Sub Type         SN                   P/N      State
             - - - - - - - - - - - - - - - - -       - - - - - - - - - - - - - -
             -     4         POWER              **********8NCB000175 02130983 ERROR
            显示异常接口的序列号
            <Huawei> display sn       interface abnormal
             Port    Type        SN            P/N  State Description
             - - - - - - - - - - - - - - - - -       - - - - - - - - - - - - - -
            GE0/0/0 RTXM139-400        ********0690  -    ERROR 155Mbps-1310nm--30000m

 

  • 15、display temperature
         
    用来查看设备的温度信息

    • 命令格式
           
      <Huawei>display       temperature ?
            all   All Slot
            slot  Specify the slot id

    • 使用示例
           
      <Huawei>display       temperature all
            --------------------------------------------------------------------
            Slot Card  Sensor No.  SensorName     Status  Upper        Lower  Temp(C)
            --------------------------------------------------------------------
             0        -    1             AR2220 TEMP    NORMAL  73           0      0

 

  • 16、display transceiver
         
    用来查看设备接口上的光模块信息(该命令只对光口起作用)

    • 命令格式
           
      display transceiver [ interface       interface-type interface-number ] [ verbose ]

    • 使用示例(可以加verbose查看某接口详细信息)
           
      <Huawei>display       transceiver interface gigabitethernet 0/0/1

    • GigabitEthernet0/0/1       transceiver information:
            -------------------------------------------------------------
            Common information:
              Transceiver Type               :1000_BASE_SX_SFP
              Connector Type                 :LC
              Nominal bit rate(MBits/sec)    :1200
              Wavelength(nm)                 :850
              Transfer Distance(m)           :0(9um),300(50um),150(62.5um)
              Digital Diagnostic       Monitoring  :YES
              Vendor Name                    :SumitomoElectric
              Ordering Name                  :
            -------------------------------------------------------------
            Manufacture information:
              Manu. Serial Number            :79K056C05802
              Manufacturing Date             :2007-09-14
              Vendor Name                    :SumitomoElectric
            -------------------------------------------------------------  

 

 

  • 17、display version
         
    用来查看设备的版本信息

    • 命令格式
            <Huawei>display version ?
            slot  Slot
            <cr>  Please press ENTER to       execute command

    • 使用示例
            <Huawei>display version
            Huawei Versatile Routing Platform Software
            VRP (R) software, Version 5.130 (AR2200 V200R003C00)
            Copyright (C) 2011-2012 HUAWEI TECH CO., LTD
            Huawei AR2220 Router uptime is 0 week, 0 day, 0 hour, 23 minutes
            BKP 0 version information:
            1. PCB      Version  : AR01BAK2A VER.NC
            2. If Supporting PoE : No
            3. Board    Type     : AR2220
            4. MPU Slot Quantity : 1
            5. LPU Slot Quantity : 6
            MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 23 minutes
            MPU version information :
            1. PCB      Version  : AR01SRU2A VER.A
            2. MAB      Version  : 0
            3. Board    Type     : AR2220
            4. BootROM  Version  : 0

 

  • 18、display dyinggasp capacity
         
    用于查看Dyinggasp电容板的电池容量是否充满

    • 命令格式
            display dyinggasp capacity [ slot slot-id ]

    • 使用示例
            <Huawei>display dyinggasp capacity
            DyingGasp board capacity information:           
            Slot         Type            Capacity 
            -------------------------------------        
            1            AR-DGP-S         Full   
            -------------------------------------


18个基础命令教你轻松拿捏华为设备的各种状态!(下)的评论 (共 条)

分享到微博请遵守国家法律