参考这个案例:
display fan 查看风扇转向 出现FanDirectionFault 这就出错了
fan prefer-direction slot 1 port-to-power 这个命令可以改变风扇的方向
如果是交换机的member 号已经改变了,就直接在系统窗口
参数 n是member号,
[H3C]fan prefer-direction slot n port-to-power
再次 display fan 查看风扇转向 出现Normal
<H3C>system
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]line aux 0
[H3C-line-aux0]%Jan 1 00:03:11:704 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 1 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:03:11:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 2 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:03:11:706 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 3 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:03:11:707 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 4 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:03:11:707 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 5 airflow direction is not preferred on slot 1, please check it.
[H3C-line-aux0]
[H3C-line-aux0]
[H3C-line-aux0]%Jan 1 00:04:31:704 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 1 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:04:31:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 2 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:04:31:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 3 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:04:31:706 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 4 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:04:31:707 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 5 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:05:51:704 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 1 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:05:51:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 2 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:05:51:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 3 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:05:51:706 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 4 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:05:51:707 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 5 airflow direction is not preferred on slot 1, please check it.
[H3C-line-aux0]
[H3C-line-aux0]
[H3C-line-aux0]display fan
Slot 1:
Fan 1:
State : FanDirectionFault
Airflow Direction: Port-to-power
Prefer Airflow Direction: Power-to-port
Fan 2:
State : FanDirectionFault
Airflow Direction: Port-to-power
Prefer Airflow Direction: Power-to-port
Fan 3:
State : FanDirectionFault
Airflow Direction: Port-to-power
Prefer Airflow Direction: Power-to-port
Fan 4:
State : FanDirectionFault
Airflow Direction: Port-to-power
Prefer Airflow Direction: Power-to-port
Fan 5:
State : FanDirectionFault
Airflow Direction: Port-to-power
Prefer Airflow Direction: Power-to-port
---- More ----%Jan 1 00:07:11:704 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 1 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:07:11:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 2 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:07:11:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 3 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:07:11:706 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 4 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:07:11:707 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 5 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:08:31:704 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 1 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:08:31:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 2 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:08:31:705 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 3 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:08:31:706 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 4 airflow direction is not preferred on slot 1, please check it.
%Jan 1 00:08:31:707 2011 H3C DEV/1/FAN_DIRECTION_NOT_PREFERRED: Fan 5 airflow direction is not preferred on slot 1, please check it.
[H3C-line-aux0]fan prefer-direction slot 1 port-to-power
[H3C]%Jan 1 00:09:38:104 2011 H3C DEV/5/FAN_RECOVERED: Fan 1 recovered.
%Jan 1 00:09:38:105 2011 H3C DEV/5/FAN_RECOVERED: Fan 2 recovered.
%Jan 1 00:09:38:106 2011 H3C DEV/5/FAN_RECOVERED: Fan 3 recovered.
%Jan 1 00:09:38:107 2011 H3C DEV/5/FAN_RECOVERED: Fan 4 recovered.
%Jan 1 00:09:38:109 2011 H3C DEV/5/FAN_RECOVERED: Fan 5 recovered.
[H3C]dis fan
Slot 1:
Fan 1:
State : Normal
Airflow Direction: Port-to-power
Prefer Airflow Direction: Port-to-power
Fan 2:
State : Normal
Airflow Direction: Port-to-power
Prefer Airflow Direction: Port-to-power
Fan 3:
State : Normal
Airflow Direction: Port-to-power
Prefer Airflow Direction: Port-to-power
Fan 4:
State : Normal
Airflow Direction: Port-to-power
Prefer Airflow Direction: Port-to-power
Fan 5:
State : Normal
Airflow Direction: Port-to-power
Prefer Airflow Direction: Port-to-power
(0)
收集display fan,先查看风扇是什么状态的。
===============display fan===============
Slot 1:
Fan 1:
State : Normal
Airflow Direction: Port-to-power
Prefer Airflow Direction: Port-to-power
Fan 2:
State : Normal
Airflow Direction: Port-to-power
Prefer Airflow Direction: Port-to-power
如果风扇的Airflow Direction与Prefer Airflow Direction不一致,那么就需要调整设备的Prefer Airflow Direction,调整到一致的状态就不会再有告警。
fan prefer-direction slot 1 power-to-port
fan prefer-direction slot 2 power-to-port
(0)
State : FanDirectionFault
State : FanDirectionFault
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明