184
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
The system records the system software version at each reboot. If the software is updated while the switch
is running, the system records the update time and new software version. The number of update records
that can be stored depends on your device model.
Examples
# Display the system software update history.
<Sysname> display version-update-record
No. Update time version
1 2014-02-28 14:39:11 5.20 Release 1808P12
Related commands
reset version-update-record
fan prefer-direction (available only on S5800-54S and
S5820X-26S switches)
Use
fan prefer-direction
to set
the
airflow direction
.
Use undo fan prefer-direction to restore the default.
Syntax
fan prefer-direction slot
slot-number
{
power-to-port
|
port-to-power
}
undo fan prefer-direction slot
slot-number
Default
The default
airflow direction
is power-to-port.
Views
System view
Default command level
2: System level
Parameters
slot
slot-number
: Sets the airflow direction of an IRF member device. The
slot-number
argument represents
the IRF member ID of the device.
power-to-port
: Specifies the airflow direction from the power supply side to the port side.
port-to-power
: Specifies the airflow direction from the port side to the power supply side.
Usage guidelines
If a fan tray has a different airflow direction than the switch, the system outputs traps and logs to notify
you to replace the fan tray.
Examples
# Specify the port-to-power airflow direction.
<Sysname> system-view
[Sysname] fan prefer-direction port-to-power