18個(gè)基礎(chǔ)命令教你輕松拿捏華為設(shè)備的各種狀態(tài)!-HCIA HCIP
1、display cpu-usage:
? ? ?用來查看設(shè)備CPU占用率的統(tǒng)計(jì)信息命令格式
? ? ? <Huawei>display ? ? ? cpu-usage ?
? ? ? configuration? Cpu usage ? ? ? configration
? ? ? slot?????????? Slot
? ? ? <cr>?????????? Please press ? ? ? ENTER to execute command使用示例
? ? ? <HUAWEI> display cpu-usage
? ? ? CPU?? Usage Stat. Cycle: 30 (Second)
? ? ? CPU?? Usage:? 2.4%?? ? ? ? Max: 90.2%
? ? ? CPU?? Usage Stat. Time : ? ? ? 2023-03-07? 05:29:48
? ? ? CPU?? Usage Max.? Time : 2023-03-07? 15:26:41?
?
2、display cpu-usage configuration:
? ? ?用來查看設(shè)備CPU占用率的配置信息命令格式
? ? ? [Huawei]display cpu-usage ? ? ? configuration ?
? ? ? slot? Slot
? ? ? <cr>? Please press ENTER to ? ? ? execute command使用示例
? ? ? <HUAWEI> display ? ? ? cpu-usage configuration
? ? ? The CPU 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%.
? ? ? The cap current monitor warning threshold is 80%.
? ? ? The cap current monitor restore threshold is 75%.
?
3、display device:
? ? ?用來查看設(shè)備的部件類型及狀態(tài)信息命令格式
? ? ? [Huawei]display device ?
? ? ? slot? Slot
? ? ? <cr>? Please press ENTER to ? ? ? execute command使用示例
? ? ? [Huawei]display device
? ? ? AR2220's Device status:
? ? ? Slot Sub Type???? Online?? Power??? Register?? Alarm?? ? ? ? Primary
? ? ? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
? ? ? 0??? -?? AR2220?? Present? PowerOn? ? ? ? Registered Normal? Master
? ? ? 7??? -?? PWR????? Present? PowerOn? ? ? ? Registered Normal? NA
?
4、display diagnostic-information:
? ? ?用來查看設(shè)備當(dāng)前的診斷信息或?qū)⒃\斷信息存儲(chǔ)在指定文件命令格式
? ? ? <Huawei>display ? ? ? diagnostic-information ?
? ? ? STRING<5-64>?? Name of the ? ? ? file stored diagnostic information
? ? ? ?????????????? (Default directory ? ? ? is flash:/,the postfix of
? ? ? ?????????????? the filename must be ? ? ? .txt)
? ? ? <cr>????????? Please press ? ? ? ENTER to execute command使用示例
? ? ? <Huawei>display diagnostic-information
? ? ? ===================================================
? ? ? ? ===============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, 21 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, 21 minutes
? ? ? MPU version information :
? ? ? 1. PCB????? Version? : AR01SRU2A VER.A
? ? ? 2. MAB????? Version? : 0
? ? ? 3. Board??? Type???? : AR2220
? ? ? 4. BootROM? Version? : 0
? ? ? ………………………………
?
5、display elabel
? ? ?用來查看設(shè)備的電子標(biāo)簽信息命令格式
? ? ? <Huawei>display ? ? ? elabel ?
? ? ? <0>??????? The present MPU
? ? ? <7>??????? The present PWR
? ? ? backplane? Backplane
? ? ? brief????? Display information ? ? ? briefly
? ? ? <cr>?????? Please press ENTER ? ? ? to execute command使用示例
? ? ? <Huawei>display ? ? ? elabel
? ? ? ?It is executing, please wait...
? ? ?
? ? ?
? ? ? /$[System Integration Version]
? ? ? /$SystemIntegrationVersion=3.0
? ? ?
? ? ?
? ? ? [Rack_1]
? ? ? [SubRack_0]
? ? ?
? ? ?
? ? ? [Slot_0]
? ? ? /$[Board Integration Version]
? ? ? /$BoardIntegrationVersion=3.0
? ? ?
? ? ?
? ? ? [Main_Board]
? ? ? /$[ArchivesInfo Version]
? ? ? /$ArchivesInfoVersion=3.0
? ? ?
? ? ?
? ? ? [Board Properties]
? ? ? BoardType=
? ? ? BarCode=
? ? ? Item=???????????????????????????????????? ? ? ?
? ? ? Description=
? ? ? Manufactured=
? ? ? VendorName=
? ? ? IssueNumber=
? ? ? CLEICode=
? ? ? BOM=
?
6、display esn:
? ? ?用來查看設(shè)備的序列號(hào)ESN(Equipment ? ? ?Serial Number)命令格式
? ? ? <Huawei>display esn ?
? ? ? <cr>? Please press ENTER to ? ? ? execute command使用示例
? ? ? <HUAWEI> display ? ? ? esn
? ? ? ESN of device: ? ? ? **********P0B4000046?
?
7、display fan:
? ? ?用來查看風(fēng)扇的狀態(tài)(AC6508、AC6507S、AirEngine 9700S-S不支持此命令)命令格式
? ? ? (AR2220設(shè)備配置命令不支持,正常會(huì)包含slot和verbose)
? ? ? <Huawei>display fan ? ? ? ?
? ? ? <cr>? Please press ENTER to ? ? ? execute command使用示例
? ? ? <Huawei>display fan (查看設(shè)備的風(fēng)扇狀態(tài))
? ? ? --------------------------------------------------
? ? ? ?? FanId ?FanNum? ? ? ? Present? Register? Speed? ? ? ? Mode
? ? ? --------------------------------------------------
? ? ? ??? 0????? [1-4]?? YES????? YES????????? NA? AUTO
? ? ? <HUAWEI> display fan verbose(查看風(fēng)扇狀態(tài)的詳細(xì)信息)Slot #???? FAN #? Status? ? ? ? Speed Rate? Mode? Airflow Direction
? ? ? --------------------------------------------------------------????
? ? ? 0????????? 0????? Normal?? 70 %?????? AUTO?????? Back-to-Side???
8、display health:
? ? ?用來查看設(shè)備的健康狀況命令格式
? ? ? <Huawei>display health ?
? ? ? <cr>? Please press ENTER to ? ? ? execute command使用示例
? ? ? <Huawei>display ? ? ? health
? ? ? ---------------------------------------------------------
? ? ? Slot Card Sensor No. SensorName Status Upper Lower Temp(C)
? ? ? --------------------------------------------------------------
? ? ? 0?? -?? 1???? ? ? ? AR2220 TEMP? NORMAL? 73?? ? ? ? 0???? 0???????????
? ? ? -------------------------------------------------------------- ? ? ? PowerNo? Present? Mode?? ? ? ? State? Current(A) Voltage(V) ? ? ? Power(W)??
? ? ? --------------------------------------------------------------
? ? ? ?? 7?????? YES??? AC???? ? ? ? Supply? N/A?????? 12????????? 150
? ? ? --------------------------------------------------------------
? ? ? ????????? FanId? FanNum? ? ? ? Present? Register? Speed? ? ? ? Mode
? ? ? --------------------------------------------------------------
? ? ? ????????? 0????? [1-4]?? YES????? YES????????? NA? AUTO
? ? ? ?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
? ? ? System CPU Usage Information:
? ? ? System cpu usage at 2023-03-07? ? ? ? 13:59:51 984 ms
? ? ? -------------------------------------------------------------------------------
? ? ? ? SlotID? CPU Usage? Upper Limit
? ? ? --------------------------------------------------------------
? ? ? ? 0?????? 0 %??????? 80%
? ? ? System Memory Usage Information:
? ? ? ?System memory usage at ? ? ? 2023-03-07? 13:59:52 984 ms
? ? ? --------------------------------------------------------------
? ? ? SlotID? Total ? ? ? Memory(MB)? Used Memory(MB)? Used Percentage? Upper Limit
? ? ? --------------------------------------------------------------
? ? ? ? 0??? 152??????????? 122?????????? 80%?????????? 95%
? ? ? System Disk Usage Information:
? ? ? ?System disk usage at ? ? ? 2023-03-07? 13:59:52 984 ms
? ? ? --------------------------------------------------------------
? ? ? SlotID? Device? ? ? ? Total Memory(MB)? Used ? ? ? Memory(MB)? Used Percentage ?
? ? ? --------------------------------------------------------------
? ? ? ? 0??? flash:? 1065??????????? 299???????????? 28%
?
9、display memory-usage:
? ? ?用來查看設(shè)備的內(nèi)存占用率信息命令格式
? ? ? <Huawei>display ? ? ? memory-usage ?
? ? ? slot?????? Slot
? ? ? threshold? Memory usage threshold
? ? ? <cr>?????? Please press ENTER ? ? ? to execute command使用示例
? ? ? <Huawei>display ? ? ? memory-usage
? ? ? Memory utilization statistics at 2023-03-07 14:18:46 824 ms
? ? ? System Total Memory Is: 159383552 bytes
? ? ? Total Memory Used Is: 128099284 bytes
? ? ? Memory Using Percentage Is: 80%
?