cisco



设备硬件检测分为设备电源状态检测、设备风扇状态检测、设备温度状态检测。

工作内容:
对用户需维护的设备现场进行勘察,通过在CLI状态下使用系统的诊断命令检测设备的电源状态、风扇状态及温度状态。

检测方法及步骤

考虑到Cisco设备的型号及系统平台分类较多,其检测的方法也有不同,以下将安装不同的网络设备系统平台,分别说明具体的检测方法及步骤。

一 Cisco Catalyst6500 CatOS, C4000 CatOS系列交换机
注:Cisco Catalyst6500,C4500,C4000系列交换机分CatOS和NativeIOS两种版本,系统提示符类似于Catalyst6509> (enable) 、Catalyst4006> (enable)的为CatOS, 系统提示符类似于C6509# 、C4507R# 的为NativeIOS。 

电源状态检测
对于Cisco Catalyst6500, C4000系列交换机, 在enable模式下可以用以下命令检测电源状态:

show system 
   
show environment 
   
show environment power



例:

show system 
   
Catalyst6509> (enable) show system 
   
PS1-Status PS2-Status 
   
---------- ---------- 
   
ok ok 
   

Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout 
   
---------- ---------- ---------- -------------- --------- 
   
ok off ok 9,21:34:43 20 min 
   

PS1-Type PS2-Type 
   
-------------------- -------------------- 
   
WS-CAC-1300W WS-CAC-1300W 
   

Modem Baud Traffic Peak Peak-Time 
   
------- ----- ------- ---- ------------------------- 
   
disable 9600 0% 5% Fri Jul 23 2004, 17:39:44 
   

PS1 Capacity: 1153.32 Watts (27.46 Amps @42V) 
   
PS2 Capacity: 1153.32 Watts (27.46 Amps @42V) 
   
PS Configuration : PS1 and PS2 in Redundant Configuration. 
   

System Name System Location System Contact CC 
   
------------------------ ------------------------ -- 
   
Catalyst6509


注:做红色标注的为检测时对于系统输出的关注点。

show environment 
   
Catalyst6509> (enable) show environment 
   
Environmental Status (. = Pass, F = Fail, U = Unknown, N = Not Present) 
   
PS1: . PS2: . PS1 Fan: . PS2 Fan: . 
   
Chassis-Ser-EEPROM: . Fan: . 
   
Clock(A/B): A Clock A: . Clock B: . 
   
VTT1: . VTT2: . VTT3: . 
   

show environment power 
   

Catalyst6509> (enable) show environmen power 
   
PS1 Capacity: 1153.32 Watts (27.46 Amps @42V) 
   
PS2 Capacity: 1153.32 Watts (27.46 Amps @42V) 
   
PS Configuration : PS1 and PS2 in Redundant Configuration. 
   
Total Power Available: 1153.32 Watts (27.46 Amps @42V) 
   
Total Power Available for Line Card Usage: 1153.32 Watts (27.46 Amps @42V) 
   
Total Power Drawn From the System: 441.42 Watts (10.51 Amps @42V) 
   
Remaining Power in the System: 711.90 Watts (16.95 Amps @42V) 
   
Default Inline Power allocation per port: 7.00 Watts (0.16 Amps @42V) 
   

Slot power Requirement/Usage : 
   

Slot Card Type PowerRequested PowerAllocated CardStatus 
   
Watts A @42V Watts A @42V 
   
---- ------------------- ------- ------ ------- ------ ---------- 
   
1 WS-X6K-SUP1A-2GE 138.60 3.30 138.60 3.30 ok 
   
2 WS-X6408A-GBIC 84.00 2.00 138.60 3.30 ok 
   
3 WS-X6324-100FX-MM 63.84 1.52 63.84 1.52 ok 
   
4 WS-X6348-RJ-45 100.38 2.39 100.38 2.39 ok



注:做红色标注的为检测时对于系统输出的关注点。

风扇状态检测

对于Cisco Catalyst6500,C4500,C4000系列交换机, 在enable模式下可以用以下命令检测设备的风扇状态:

show system 
   
show environment



例:

show system 
   
Catalyst6509> (enable) show system 
   
PS1-Status PS2-Status 
   
---------- ---------- 
   
ok ok 
   

Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout 
   
---------- ---------- ---------- -------------- --------- 
   
ok off ok 9,21:34:43 20 min 
   

PS1-Type PS2-Type 
   
-------------------- -------------------- 
   
WS-CAC-1300W WS-CAC-1300W 
   

Modem Baud Traffic Peak Peak-Time 
   
------- ----- ------- ---- ------------------------- 
   
disable 9600 0% 5% Fri Jul 23 2004, 17:39:44 
   

PS1 Capacity: 1153.32 Watts (27.46 Amps @42V) 
   
PS2 Capacity: 1153.32 Watts (27.46 Amps @42V) 
   
PS Configuration : PS1 and PS2 in Redundant Configuration. 
   

System Name System Location System Contact CC 
   
------------------------ ------------------------ -- 
   
Catalyst6509 
   

show environment 
   
Catalyst6509> (enable) show environment 
   
Environmental Status (. = Pass, F = Fail, U = Unknown, N = Not Present) 
   
PS1: . PS2: . PS1 Fan: . PS2 Fan: . 
   
Chassis-Ser-EEPROM: . Fan: . 
   
Clock(A/B): A Clock A: . Clock B: . 
   
VTT1: . VTT2: . VTT3: .



  注:做红色标注的为检测时对于系统输出的关注点。

温度状态检测

对于Cisco Catalyst6500,C4500,C4000系列交换机,在enable模式下可以用以下命令检测检测系统温度状态:

show environment temperature



例:

Catalyst6509> (enable) show environment temperature 
   
Intake Exhaust Device 1 Device 2 
   
Slot Temperature Temperature Temperature Temperature 
   
--------------- --------------- --------------- --------------- --------------- 
   
1 20C(50C,65C) 28C(60C,75C) 24C 31C 
   
2 18C(50C,65C) 23C(60C,75C) N/A N/A 
   
3 21C(50C,65C) 19C(60C,75C) N/A N/A 
   
4 22C(50C,65C) 25C(60C,75C) 21C 22C 
   
1 (Switch-Eng) 25C(50C,65C) 29C(60C,75C) N/A N/A 
   
1 (MSFC) 23C(60C,70C) 32C(60C,75C) N/A N/A 
   

Chassis Modules 
   
--------------------- 
   
VTT1: 20C(85C,100C) 
   
VTT2: 20C(85C,100C) 
   
VTT3: 23C(85C,100C)


二 Cisco Catalyst6500 IOS ,C4500 IOS系列交换机
注:Cisco Catalyst6500,C4500,C4000系列交换机分CatOS和NativeIOS两种版本,系统提示符类似于Catalyst6509> (enable) 、Catalyst4006> (enable)的为CatOS, 系统提示符类似于C6509# 、C4507R# 的为NativeIOS。
电源状态检测
对于Cisco Catalyst6500 IOS ,C4500 IOS,C4006 sup3 IOS系列交换机, 在enable模式下可以用以下命令检测电源状态:
show power

   
例:

C6509# show power 
   
system power redundancy mode = redundant 
   
system power total = 1153.32 Watts (27.46 Amps @ 42V) 
   
system power used = 397.74 Watts ( 9.47 Amps @ 42V) 
   
system power available = 755.58 Watts (17.99 Amps @ 42V) 
   
Power-Capacity PS-Fan Output Oper 
   
PS Type Watts A @42V Status Status State 
   
---- ------------------ ------- ------ ------ ------ ----- 
   
1 WS-CAC-2500W 1153.32 27.46 OK OK on 
   
2 none 
   
Pwr-Requested Pwr-Allocated Admin Oper 
   
Slot Card-Type Watts A @42V Watts A @42V State State 
   
---- ------------------ ------- ------ ------- ------ ----- ----- 
   
1 WS-X6K-SUP2-2GE 142.38 3.39 142.38 3.39 on on 
   
2 - - 142.38 3.39 - - 
   
5 WS-X6248-RJ-45 112.98 2.69 112.98 2.69 on on 
   
Router# 
   

  
   
Switch4507# show power 
   
Power Fan Inline 
   
Supply Model No Type Status Sensor Status 
   
------ ---------------- --------- ----------- ------ ------ 
   
PS1 PWR-C45-2800AC AC 2800W good good good 
   
PS2 PWR-C45-1000AC AC 1000W err-disable good n.a. 
   

*** Power Supplies of different type have been detected*** 
   

Power supplies needed by system :1 
   
Power supplies currently available :1 
   

Power Summary Maximum 
   
(in Watts) Used Available 
   
---------------------- ---- --------- 
   
System Power (12V) 328 1360 
   
Inline Power (-50V) 0 1400 
   
Backplane Power (3.3V) 10 40 
   
---------------------- ---- 
   
Total Used 338 (not to exceed Total Maximum Available = 750) 
   
Switch#



注:做红色标注的为检测时对于系统输出的关注点。

风扇状态检测

对于Cisco Catalyst6500 IOS,C4500系列交换机, 在enable模式下可以用以下命令检测设备的风扇状态: 

show environment cooling 
   
show environment status


例:

C6509# show environment cooling 
   
fan-tray 1: 
   
fan-tray 1 fan-fail: failed 
   
fan-tray 2: 
   
fan 2 type: FAN-MOD-9 
   
fan-tray 2 fan-fail: OK 
   
chassis cooling capacity: 690 cfm 
   
ambient temperature: 55C ["40C (user-specified)" if temp-controlled] 
   
chassis per slot cooling capacity: 75 cfm 
   

module 1 cooling requirement: 70 cfm 
   
module 2 cooling requirement: 70 cfm 
   
module 5 cooling requirement: 30 cfm 
   
module 6 cooling requirement: 70 cfm 
   
module 8 cooling requirement: 70 cfm 
   
module 9 cooling requirement: 30 cfm



温度状态检测

对于Cisco Catalyst6500IOS,C4500IOS系列交换机,在enable模式下可以用以下命令检测检测系统温度状态:

show environment 
   
show environment temperature


例:

SwitchC4507# show environment 
   
no alarm 
   

Chassis Temperature = 35 degrees Celsius 
   
Chassis Over Temperature Threshold = 75 degrees Celsius 
   
Chassis Critical Temperature Threshold = 95 degrees Celsius 
   

Power Fan Inline 
   
Supply Model No Type Status Sensor Status 
   
------ ---------------- --------- ----------- ------ ------ 
   
PS1 PWR-C45-2800AC AC 2800W good good good 
   
PS2 PWR-C45-1000AC AC 1000W err-disable good n.a. 
   

*** Power Supplies of different types have been detected*** 
   
Switch


三 Cisco Catalyst3550,C2950,C3500,C2900系列交换机
电源状态检测

对于Cisco Catalyst3550,C2950,C3500,C2900系列交换机, 在enable模式下可以用以下命令检测电源状态:

show env power


例:

Catalyst3550#show env power 
   
POWER is OK


风扇状态检测
 对于Cisco Catalyst3550,C2950,C3500,C2900系列交换机, 在enable模式下可以用以下命令检测设备的风扇状态:

show env Fan



例:

Catalyst3550# show env fan 
   
FAN is OK



温度状态检测
对于Cisco Catalyst3550,C2950,C3500,C2900系列交换机, 在enable模式下可以用以下命令检测系统温度状态:

show env temperature


例:

Catalyst3550#show env temperature 
   
TEMPERATURE is OK



四 Cisco 2600,3600,7200,7500,7600系列路由器
电源状态检测
对于Cisco 2600,3600,7200,7500,7600系列路由器, 在enable模式下可以用以下命令检测电源状态:

show power 
   

Router# show power 
   
system power redundancy mode = redundant 
   
system power total = 1153.32 Watts (27.46 Amps @ 42V) 
   
system power used = 397.74 Watts ( 9.47 Amps @ 42V) 
   
system power available = 755.58 Watts (17.99 Amps @ 42V) 
   
Power-Capacity PS-Fan Output Oper 
   
PS Type Watts A @42V Status Status State 
   
---- ------------------ ------- ------ ------ ------ ----- 
   
1 WS-CAC-2500W 1153.32 27.46 OK OK on 
   
2 none 
   
Pwr-Requested Pwr-Allocated Admin Oper 
   
Slot Card-Type Watts A @42V Watts A @42V State State 
   
---- ------------------ ------- ------ ------- ------ ----- ----- 
   
1 WS-X6K-SUP2-2GE 142.38 3.39 142.38 3.39 on on 
   
2 - - 142.38 3.39 - - 
   
5 WS-X6248-RJ-45 112.98 2.69 112.98 2.69 on on



风扇状态检测
对于Cisco 2600,3600, 7200,7500,7600系列路由器, 在enable模式下可以用以下命令系统风扇状态:

show environment cooling 
   

Router# show environment cooling 
   
fan-tray 1: 
   
fan-tray 1 fan-fail: failed 
   
fan-tray 2: 
   
fan 2 type: FAN-MOD-9 
   
fan-tray 2 fan-fail: OK 
   
chassis cooling capacity: 690 cfm 
   
ambient temperature: 55C ["40C (user-specified)" if temp-controlled] 
   
chassis per slot cooling capacity: 75 cfm 
   

module 1 cooling requirement: 70 cfm 
   
module 2 cooling requirement: 70 cfm 
   
module 5 cooling requirement: 30 cfm 
   
module 6 cooling requirement: 70 cfm 
   
module 8 cooling requirement: 70 cfm 
   
module 9 cooling requirement: 30 cfm



温度状态检测
对于Cisco 2600,3600, 7200,7500,7600系列路由器, 在enable模式下可以用以下命令系统温度状态:

show environment status 
   
show environment temperature 
   

Router# show environment status 
   
backplane: 
   
operating clock count: 2 
   
operating VTT count: 3 
   
fan-tray 1: 
   
fan-tray 1 type: WS-9SLOT-FAN 
   
fan-tray 1 fan-fail: OK 
   
VTT 1: 
   
VTT 1 OK: OK 
   
VTT 1 outlet temperature: 33C 
   
VTT 2: 
   
VTT 2 OK: OK 
   
VTT 2 outlet temperature: 35C 
   
VTT 3: 
   
VTT 3 OK: OK 
   
VTT 3 outlet temperature: 33C 
   
clock 1: 
   
clock 1 OK: OK, clock 1 clock-inuse: in-use 
   
clock 2: 
   
clock 2 OK: OK, clock 2 clock-inuse: not-in-use 
   
power-supply 1: 
   
power-supply 1 fan-fail: OK 
   
power-supply 1 power-output-fail: OK 
   
module 1: 
   
module 1 power-output-fail: OK 
   
module 1 outlet temperature: 30C 
   
module 1 device-2 temperature: 35C 
   
RP 1 outlet temperature: 35C 
   
RP 1 inlet temperature: 36C 
   
EARL 1 outlet temperature: 33C 
   
EARL 1 inlet temperature: 31C 
   
module 2: 
   
module 2 power-output-fail: OK 
   
module 2 outlet temperature: 31C 
   
module 2 inlet temperature: 29C 
   
module 3: 
   
module 3 power-output-fail: OK 
   
module 3 outlet temperature: 36C 
   
module 3 inlet temperature: 29C 
   
module 4: 
   
module 4 power-output-fail: OK 
   
module 4 outlet temperature: 32C 
   
module 4 inlet temperature: 32C 
   
module 5: 
   
module 5 power-output-fail: OK 
   
module 5 outlet temperature: 39C 
   
module 5 inlet temperature: 34C 
   
module 7: 
   
module 7 power-output-fail: OK 
   
module 7 outlet temperature: 42C 
   
module 7 inlet temperature: 29C 
   
EARL 7 outlet temperature: 45C 
   
EARL 7 inlet temperature: 32C 
   
module 9: 
   
module 9 power-output-fail: OK 
   
module 9 outlet temperature: 41C 
   
module 9 inlet temperature: 36C 
   
EARL 9 outlet temperature: 33C 
   
EARL 9 inlet temperature: N/O 
   

show environment


此命令为监控系统环境的综合命令,后面可以加上多种参数,以便于综合分析系统状态。

show environment [alarm | cooling | status | temperature] 
   

Router# show environment 
   
environmental alarms: 
   
no alarms 
   

Router# show environment alarm 
   
environmental alarm

s:
no alarms

五 Cisco GSR 12000系列路由器
电源状态检测
对于Cisco GSR 12000系列路由器, 在enable模式下可以用以下命令检测电源状态:

show Diag 
   

router# show diags 
   
SLOT 26 (PS B1 ):AC Power Supply(8) 
   
MAIN:type 3, 34-0820-01 rev C0 dev 16777215 
   
HW config:0xFF SW key:FF-FF-FF 
   
PCA:65535-16777215-255 rev V7 ver 255 
   
HW version 1.0 S/N CAT00240269 
   
MBUS:MBUS Agent (1) 73-2146-07 rev B0 dev 0 
   
HW version 1.2 S/N CAT00240269 
   
Test hist:0xFF RMA#:FF-FF-FF RMA hist:0xFF 
   
DIAG:Test count:0xFFFFFFFF Test results:0xFFFFFFFF 
   
EEPROM contents (hex): 
   
00:01 00 01 00 49 00 08 62 07 58 00 00 00 FF FF FF 
   
10:43 41 54 30 30 32 34 30 32 36 39 00 00 00 00 00 
   
20:01 02 00 00 00 00 00 FF FF FF FF FF FF FF FF FF 
   
30:A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 A5 
   
40:00 03 01 00 FF FF FF FF FF FF FF FF 00 05 FF FF 
   
50:00 22 00 03 34 01 60 FF FF FF FF FF FF FF FF FF 
   
60:43 41 54 30 30 32 34 30 32 36 39 00 00 00 00 00 
   
70:FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
   
80:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
   
90:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
   
A0:00 
   
FRU:Linecard/ModuleWR-GSR8-AC= 
   
MBUS Agent Software version 01.46 (RAM) (ROM version is 01.33) 
   
Using CAN Bus A



风扇状态检测
对于Cisco GSR 12000系列路由器, 在enable模式下可以用以下命令系统风扇状态:

show environment fans 
   

Slot # Fan Information 
   
16 Voltage 2427V Speed fast: 
   
Main Fan 0 broken 
   
Main Fan 1 broken 
   
Main Fan 2 broken 
   
Main Fan 3 broken 
   
Main Fan 4 broken 
   
Main Fan 5 broken 
   
Power Supply Fan 0 broken 
   
Power Supply Fan 1 broken 
   
Power Supply Fan 2 broken 
   
Power Supply Fan 3 broken



温度状态检测
对于Cisco GSR 12000系列路由器, 在enable模式下可以用以下命令系统温度状态:

show environment temp 
   
show environment table 
   

Router12000# show environment temp 
   

Slot # Hot Sensor Inlet Sensor 
   
(deg C) (deg C) 
   

0 52.5 43.5 
   
7 64.0 48.5 
   
16 50.0 46.0 
   
17 56.0 49.0 
   
18 45.0 44.5 
   
19 45.0 43.5 
   
20 45.0 41.5 
   
24 NA 47.0 
   
26 NA 48.0 
   

Router# show environment table 
   
Inlet Sensor Temperature Limits (deg C): 
   
Warning Critical Shutdown 
   
GRP/GLC (Slots 0-15) 35 40 52 
   
CSC (Slots 16-17) 40 45 59 
   
SFC (Slots 18-20) 37 42 54



六 设备硬件检测注意事项
   在进行温度检测时,建议当系统温度超过35C 时就需要特别关注了。
需要考虑可能影响设备温度过高的原因,如周围的环境,室内温度,空调工作是否正常,机柜散热是否正常,运行设备是否灰尘过多。找到引起设备散热不好的原因后,应及时采取相应的降温措施,如调节室内温度、对设备除尘以提高散热效果等。如果采取降温措施后系统温度仍没有明显改善,请及时与我公司技术服务人员联系,并提供相关的检测信息。


转载于:https://blog.51cto.com/55348/321550