主页 > 网络教程 > 路由器教程 >

华为巡检-查看设备状态的命令

路由器教程 2023-12-02

一、<Huawei>display device命令用来查看设备的部件类型及状态信息。

AR1220's Device status:

Slot Sub Type Online Power Register Alarm Primary

-----------------------------------------------

0-AR1220 Present PowerOn Registered Normal Master

0-Present PowerOn Registered Normal

注:Presentˈpreznt存在

二、<Huawei>display temperature all

-----------------------------------------------------------------------------

Slot Card Sensor No.SensorName Status Upper Lower Temp

C

-----------------------------------------------------------------------------

0-1 AR1220 TEMP NORMAL 74 0 0

各模块当前的温度应该在上下限之间,即“Temp

C

”的值在“Lower”和“Upper”之间。

注:temperature温度

SensorName传感器名称

三、<Huawei>display alarm urgent

Alarm:

Alarm Slot Date Time Location

---------------------------------------------------------------------------

Temp low 0 2022/01/06 13:23:16 Slot 0

Fan abnormal 0 2022/01/06 13:23:16 Slot 0

注意:Temp low低温Fan abnormal风扇异常

urgent英[ˈɜːdʒənt]紧急的;迫切的;紧迫的;催促的;急切的;

如果没有告警就会显示无。

四、<Huawei>display memory-usage

Memory utilization statistics at 2022-01-06 14:09:13-08:00

System Total Memory Is:171493452 bytes

Total Memory Used Is:123239112 bytes

Memory Using Percentage Is:71%

注:utilization[ˌjuːtəlaɪˈzeɪʃn]利用;应用;效用

utilization statistics利用率统计

171493452 bytes=163MB我这里是模拟器,不是真机。

1M=1024KB。1KB=1024Byte(Byte表示字节的意思),1Byte=8bit(bit表示二进制的位数)。

五、<Huawei>display cpu-usage

CPU Usage Stat.Cycle:60

Second

CPU Usage:4%Max:100%

CPU Usage Stat.Time:2022-01-06 14:18:42

CPU utilization for five seconds:4%:one minute:4%:five minutes:6%.

注:

Cycle[ˈsaɪkl]周期;循环;

explanation[ˌekspləˈneɪʃn]解释;说明;阐述;解释性说法;说明性文字。

任务名称cpu运行时间CPU标记最高/标记最低任务阐述

华为巡检-查看设备状态的命令

项目

描述

CPU Usage Stat.Cycle CPU占用率统计周期,统计周期为60秒,不可以设置。

CPU Usage最近10秒的CPU占用率平均值。

Max表示CPU占用率的历史最大值。

CPU Usage Stat.Time最近一次统计CPU占用率的时刻。

CPU utilization for five seconds 5秒内的CPU占用率。

one minute 1分钟内的CPU占用率。

five minutes 5分钟内的CPU占用率。

Max CPU Usage Stat.Time最大CPU占用率的统计时间。

TaskName设备当前正在运行的任务名称。设备的任务名称及功能描述,请参考《华为S系列园区交换机维护宝典》中的“故障处理:CPU占用率高-如何定位CPU占用率高-根据任务的CPU占用率排序判断初步原因(盒式交换机)”和“故障处理:CPU占用率高-附录-CPU各任务名称及功能说明(盒式交换机)”。

CPU各个任务的实时CPU占用率。

Runtime

CPU Tick High/Tick Low

按照cpu tick统计的运行时间。

Task Explanation任务解释。

<Huawei>display cpu-usage configuration

The CPU usage monitor is turned on.

The current monitor cycle is 60 seconds.

The current monitor warning threshold is 80%.

The current monitor restore threshold is 75%.

The CPU usage monitor

CPU使用情况监控开关。

执行命令cpu-usage monitor可以设置CPU使用情况监控开关。

The current monitor cycle

对CPU进行监控的周期,不可以设置。

The current monitor warning threshold

监控告警过载阈值。执行命令cpu-usage threshold threshold-value[restore restore-threshold-value][slot slot-id]可以设置监控告警过载阈值。

The current monitor restore threshold

监控告警恢复阈值。执行命令cpu-usage threshold threshold-value[restore restore-threshold-value][slot slot-id]可以设置监控告警恢复阈值。

注:threshold英[ˈθreʃhəʊld]门槛;门口;阈;界;起始点;

六、display intface brief

查看设备接口状态

华为巡检-查看设备状态的命令

七、display power查看电源状态

华为巡检-查看设备状态的命令

注:voltage[ˈvəʊltɪdʒ]电压;伏特数

八、display fan

华为巡检-查看设备状态的命令

注:absent[æbsənt]缺席;缺少;心不在焉的;不在;不存在

九、display reboot-info

设备每一次重新启动的相关信息都会被记录下来,包括重新启动的次数、类型和时间等\

display reboot-info命令用来查看设备的复位信息

<HUAWEI>display reboot-info

Slot ID Times Reboot Type Reboot Time

DST

===========================================================================

0 1 POWER 2013/07/18 19:19:56

0 2 SCHEDU 2013/07/18 18:51:04

0 3 SOFTWARE 2013/07/18 18:41:22

0 4 EXCEPTION 2013/07/18 17:38:26

0 5 MANUAL 2013/07/18 17:31:14

0 6 MANUAL 2013/07/18 17:26:01

0 7 EXCEPTION 2013/07/18 17:03:28

===========================================================================

Total 7

可以通过此命令查看设备收集的复位信息,包括复位类型和复位时间。其中复位类型包括八种:

MANUAL:通过reboot命令和用网管进行的人为重启。

POWER:掉电重启,通常插拔电源导致的重启。

SCHEDU:定时重启。

FSP:堆叠分裂、合并或Mod-ID分配错误的复位。

EXCEPTION:异常或死循环导致的复位。

VRP:主备倒换或VRP软件平台导致的相关复位。

SOFTWARE:其余软件上能够追踪到复位原因的复位。

OTHER:一切其他原因导致的重启,包括设备加入堆叠后的重启,及其他无法具体分类的原因。

十、查看设备的兼容信息。display compatible-information

<HUAWEI>display compatible-information

Compatible SysOids:1.3.6.1.4.1.2011.2.23.117

Compatible Version:V200R003C00

ProductName:S2750-28TP-EI-AC

项目

描述

Compatible SysOids

对应兼容老设备的sysoid。

Compatible Version

对应老设备现网中最新的版本信息。

ProductName

对应新设备的产品名称。


标签: 华为巡检查看设备状态的命令

电脑软硬件教程网 Copyright © 2016-2030 www.computer26.com. Some Rights Reserved.