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) ++++++++++++++++++++++++++++++++++ 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).