157
•
When the power-saving function is enabled globally, all LEDs operate according to the
power-saving status, and all Ethernet interfaces are automatically enabled with the power-saving
function.
Follow these steps to enable the power-saving function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the power-saving
function
save-power enable
Required
Disabled by default
Configuring power-saving status
With the power-saving function enabled, the device might be in either of the following statuses:
•
Sleeping status (sleep)—The device shuts down all LEDs except the SYS LED on the panel, and
automatically enables the power-saving function of all Ethernet interfaces.
•
Wake-up status (wake)—The device automatically enables the power-saving function of all Ethernet
interfaces but keeps the original operations of the LEDs.
The device supports the following ways to trigger power-saving status switching:
•
Automatic switching—When the device is in sleeping status, if data is being exchanged through the
console port or you press the
Mode
button, the device automatically switches to the wake-up status,
so that you can check the LED statuses. When the device is in wake-up status, if no data is being
exchanged on the console port for a period of time (defined by the
save-power delay-timer
command) and you do not press the
Mode
button, the device automatically switches to the sleeping
status.
•
Manual switching—You can use the
save-power mode
command to manually configure the
power-saving status.
Configuring automatic power-saving status switching
Follow the step to configure automatic power-saving status switching:
To do…
Use the command…
Remarks
Configure the delay time for
switching the power-saving
status
save-power delay-timer
time
Optional
15 seconds by default
Manually configuring a power-saving status
Follow the step to configure a power-saving status:
To do…
Use the command…
Remarks
Manually configure the
power-saving status
save-power mode
{
sleep
|
wake
}
Optional
Available in user view
Configuring 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. Then, the device starts the detection timer. If