132
Setting the preferred airflow direction
Two fan tray models are available for the device. One model has airflow from the port side to the power
supply side. The other model has airflow from the power supply side to the port side. You can select the
fan tray models as required.
The system regards the airflow direction at the device startup as the preferred airflow direction. If a fan
tray has a different airflow direction than preferred one, the system outputs traps and logs to notify you
to replace the fan tray. If you install a fan tray but its airflow direction is not the same as the device, you
can use this command to set the preferred airflow direction to stop outputting the traps and logs.
To set the preferred airflow direction:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Set the preferred airflow
direction.
fan prefer-direction slot slot-number
{ power-to-port | port-to-power }
The default preferred airflow
direction is the airflow direction of
the switch at the switch's startup.
Setting the port status detection timer
Some protocols might shut down ports under specific circumstances. For example, MSTP shuts down a
BPDU guard–enabled port when the port receives a BPDU. In this case, you can set the port status
detection timer. If the port is still down when the detection timer expires, the protocol module
automatically cancels the shutdown action and restores the port to its original physical status.
To set the port status detection timer:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Set the port status detection
timer.
shutdown-interval time
By default, the port status detection
timer is 30 seconds.
Configuring temperature thresholds
You can set the temperature thresholds to monitor the temperature of an IRF member device.
The switch supports lower threshold, warning threshold, alarming threshold, and shutdown threshold.
The shutdown threshold is not user configurable.
• When the temperature drops below the lower threshold or reaches the warning threshold, the
device logs the event and outputs a log message and a trap.
• When the temperature reaches the alarming threshold, the device logs the event and outputs a log
message and a trap repeatedly in the terminal display, and alerts users through the LED on the
device panel.
• When the temperature reaches the shutdown threshold, the switch logs the event and outputs a log
message and a trap, and automatically shuts down.
To configure temperature thresholds for an IRF member device: