取消
显示结果 
搜索替代 
您的意思是: 
cancel
12891
查看次数
110
有帮助
24
评论
xupeng
Cisco Employee
Cisco Employee
提问: 在WS-C4506-E机箱内插入2块不同PID的电源, 会怎样? 有什么规律?

我们通过在实验室搭建测试环境,来看一下有什么规律.

实验室测试环境:
-WS-C4506-E
-WS-X45-SUP6-E
-PWR-C45-4200ACV
-PWR-C45-2800AC

测试步骤:
1/将4200瓦电源放入电源槽位1(PS1), 再将2800瓦电源放入电源槽位2(PS2),收集sh log和sh env
2/移除4200瓦电源, 再插入4200瓦电源, 收集sh log和sh env
3/将2个电源位置对调,重复以上操作



show environment输出:

Module Sensor Temperature Status
------+--------------------------+--------------------+------------
1 air inlet 36C (51C,65C,68C) ok
1 air outlet 40C (69C,83C,86C) ok
Power Fan Inline
Supply Model No Type Status Sensor Status
------ ---------------- --------- ----------- ------- -------
PS1 PWR-C45-4200ACV AC 4200W good good good
PS1-1 220V good
PS1-2 220V good
PS2 PWR-C45-2800AC AC 2800W err-disable good good
Module Sensor Temperature Status
------+--------------------------+--------------------+------------
1 air inlet 35C (51C,65C,68C) ok
1 air outlet 40C (69C,83C,86C) ok
Power Fan Inline
Supply Model No Type Status Sensor Status
------ ---------------- --------- ----------- ------- -------
PS1 PWR-C45-2800AC AC 2800W good good good
PS2 PWR-C45-4200ACV AC 4200W err-disable good good
PS2-1 220V good
PS2-2 220V good


show log输出:


*Mar 5 05:10:06.482: %C4K_IOSMODPORTMAN-4-POWERSUPPLYREMOVED: Power supply 1 has been removed
*Mar 5 05:10:16.518: %C4K_IOSMODPORTMAN-6-POWERSUPPLYINSERTEDDETAILED: Power supply 1 (PWR-C45-2800ACV S/N: XXXXX Hw: 2.5) has been inserted
*Mar 5 05:10:16.518: %C4K_CHASSIS-3-MIXINPOWERDETECTED: Power supplies in the chassis are of different types (AC/DC) or wattage
*Mar 5 05:10:36.534: %C4K_IOSMODPORTMAN-4-POWERSUPPLYREMOVED: Power supply 2 has been removed
*Mar 5 05:10:56.582: %C4K_IOSMODPORTMAN-6-POWERSUPPLYINSERTEDDETAILED: Power supply 2 (PWR-C45-4200ACV S/N: XXXXX Hw: 2.3) has been inserted
*Mar 5 05:10:56.582: %C4K_CHASSIS-3-MIXINPOWERDETECTED: Power supplies in the chassis are of different types (AC/DC) or wattage


我们可以通过官网提供的小工具'Error Message Decoder'来解析以上日志.
(https://www.cisco.com/cgi-bin/Support/Errordecoder/index.cgi)

202316kywz1yzkgey1zdxp.jpg
202318l3xiqtimz1dnqyfz.png
++++++++++++++++++++++++++++++++++
Error Message Explanation
++++++++++++++++++++++++++++++++++
%C4K_CHASSIS-3-MIXINPOWERDETECTED: Power supplies in the chassis are of different types (AC/DC) or wattage
//机箱内不同类型的电源被检测到
Explanation: The software detected different kinds of power supplies in the chassis. In a Catalyst 4006 chassis, the power values default to the wattage of the weakest power supply. If you mix power supplies in a Catalyst 4500 series chassis, the switch will use the power supply in power supply bay 1 (PS1) and ignore the power supply in power supply bay 2 (PS2). We do not recommend mixing power supplies of different wattages.
//解释: 软件检测到机箱内有不同的电源类型. 在 Catalyst 4500系列交换机的机箱中,如果混合使用不同型号的电源, 交换机将使用槽位1的电源(PS1), 忽略槽位2的电源. 我们不推荐混合使用不同瓦数的电源.


Recommended Action: Verify that both power supplies are the same kind and wattage. Replace a power supply if necessary.
//推荐行为: 检查并确保两个电源槽位使用相同型号电源. 如果有必要,替换成相同型号电源.
++++++++++++++++++++++++++++++++++
总结:
-在Catalyst 4500系列交换机的机箱中, 推荐使用相同型号电源
-如果混合使用不同型号的电源,处于电源槽位2槽的电源将会处于err-disable的状态,与电源瓦数大小无关(不是因为瓦数大或者小,而被err-disable).



评论
zimu5317121
Spotlight
Spotlight
大赞。。。学习了。。。
niweijian2014
Spotlight
Spotlight
我刚刚测试了一个日志信息
%MAC_MOVE-SP-4-NOTIF: Host 98fa.e347.82d7 in vlan 103 is flapping between port Gi3/32 and port Gi3/4
我把这个复制到这个提交就是无法成功解析出结果
是我哪里格式不对吗??谢谢
niweijian2014
Spotlight
Spotlight
我用你的日志信息是可以使用的,但是我自己在crt里面截取的show log日志在哪就无法使用,是不是我格式有误
xupeng
Cisco Employee
Cisco Employee
niweijian2014 发表于 2015-4-24 15:59 back.gif
我刚刚测试了一个日志信息
%MAC_MOVE-SP-4-NOTIF: Host 98fa.e347.82d7 in vlan 103 is flapping between ...

可以尝试解析'%MAC_MOVE-4-NOTIF'
这个工具没有那么智能解析整条log.
niweijian2014
Spotlight
Spotlight
xupeng 发表于 2015-4-24 21:20 back.gif
可以尝试解析'%MAC_MOVE-4-NOTIF'
这个工具没有那么智能解析整条log.

试过了,不行,应该是工具不支持这个Mac解析,
xupeng
Cisco Employee
Cisco Employee
niweijian2014 发表于 2015-4-25 08:13 back.gif
试过了,不行,应该是工具不支持这个Mac解析,

094336fd445xrk3311i4wd.jpg
cpmld-199
Community Member
学习了,增加点工作经验。
niweijian2014
Spotlight
Spotlight
xupeng 发表于 2015-4-25 09:43 back.gif

我去,好谢谢
jackyduys
Level 1
Level 1
绝对是好资料!!!
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接