路由器(Router)是連接兩個或多個網(wǎng)絡(luò)的硬件設(shè)備,在網(wǎng)絡(luò)間起網(wǎng)關(guān)的作用,是讀取每一個數(shù)據(jù)包中的地址然后決定如何傳送的專用智能性的網(wǎng)絡(luò)設(shè)備,路由器最主要的功能為實現(xiàn)信息的轉(zhuǎn)送。 一、<Huawei>display device命令用來查看設(shè)備的部件類型及狀態(tài)信息。
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利用率統(tǒng)計
171493452 bytes=163MB我這里是模擬器,不是真機。
1M=1024KB。1KB=1024Byte(Byte表示字節(jié)的意思),1Byte=8bit(bit表示二進制的位數(shù))。
五、<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]周期;循環(huán);
explanation[?ekspl??ne??n]解釋;說明;闡述;解釋性說法;說明性文字。
任務名稱cpu運行時間CPU標記最高/標記最低任務闡述
項目
描述
CPU Usage Stat.Cycle CPU占用率統(tǒng)計周期,統(tǒng)計周期為60秒,不可以設(shè)置。
CPU Usage最近10秒的CPU占用率平均值。
Max表示CPU占用率的歷史最大值。
CPU Usage Stat.Time最近一次統(tǒng)計CPU占用率的時刻。
CPU utilization for five seconds 5秒內(nèi)的CPU占用率。
one minute 1分鐘內(nèi)的CPU占用率。
five minutes 5分鐘內(nèi)的CPU占用率。
Max CPU Usage Stat.Time最大CPU占用率的統(tǒng)計時間。
TaskName設(shè)備當前正在運行的任務名稱。設(shè)備的任務名稱及功能描述,請參考《華為S系列園區(qū)交換機維護寶典》中的“故障處理:CPU占用率高-如何定位CPU占用率高-根據(jù)任務的CPU占用率排序判斷初步原因(盒式交換機)”和“故障處理:CPU占用率高-附錄-CPU各任務名稱及功能說明(盒式交換機)”。
CPU各個任務的實時CPU占用率。
Runtime
CPU Tick High/Tick Low
按照cpu tick統(tǒng)計的運行時間。
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使用情況監(jiān)控開關(guān)。
執(zhí)行命令cpu-usage monitor可以設(shè)置CPU使用情況監(jiān)控開關(guān)。
The current monitor cycle
對CPU進行監(jiān)控的周期,不可以設(shè)置。
The current monitor warning threshold
監(jiān)控告警過載閾值。執(zhí)行命令cpu-usage threshold threshold-value[restore restore-threshold-value][slot slot-id]可以設(shè)置監(jiān)控告警過載閾值。
The current monitor restore threshold
監(jiān)控告警恢復閾值。執(zhí)行命令cpu-usage threshold threshold-value[restore restore-threshold-value][slot slot-id]可以設(shè)置監(jiān)控告警恢復閾值。
注:threshold英[?θre?h??ld]門檻;門口;閾;界;起始點;
六、display intface brief
查看設(shè)備接口狀態(tài)
七、display power查看電源狀態(tài)
注:voltage[?v??lt?d?]電壓;伏特數(shù)
八、display fan
注:absent[æbs?nt]缺席;缺少;心不在焉的;不在;不存在
九、display reboot-info
設(shè)備每一次重新啟動的相關(guān)信息都會被記錄下來,包括重新啟動的次數(shù)、類型和時間等\
display reboot-info命令用來查看設(shè)備的復位信息
<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
可以通過此命令查看設(shè)備收集的復位信息,包括復位類型和復位時間。其中復位類型包括八種:
MANUAL:通過reboot命令和用網(wǎng)管進行的人為重啟。
POWER:掉電重啟,通常插拔電源導致的重啟。
SCHEDU:定時重啟。
FSP:堆疊分裂、合并或Mod-ID分配錯誤的復位。
EXCEPTION:異常或死循環(huán)導致的復位。
VRP:主備倒換或VRP軟件平臺導致的相關(guān)復位。
SOFTWARE:其余軟件上能夠追蹤到復位原因的復位。
OTHER:一切其他原因?qū)е碌闹貑ⅲㄔO(shè)備加入堆疊后的重啟,及其他無法具體分類的原因。
十、查看設(shè)備的兼容信息。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
對應兼容老設(shè)備的sysoid。
Compatible Version
對應老設(shè)備現(xiàn)網(wǎng)中最新的版本信息。
ProductName
對應新設(shè)備的產(chǎn)品名稱。
本文可以幫助您基本地設(shè)置和管理您的路由器。
|