The sleep time-range command applies a time range to the device in dormancy state.
The undo sleep time-range command deletes the time range.
By default, no time range is applied to the device.
Only the S5720-28P-SI-AC, S5720-28X-SI-AC, S5720-28X-SI-DC, S5720-52P-SI-AC, S5720-52X-SI-DC, and S5720-52X-SI-AC in the S5720-SI series, and the S5735-S, S5735-S-I, S5735S-S, S5735-L, S5735S-L, S5735S-L-M, and S5720S-SI series switches support the sleep mode.
Parameter |
Description |
Value |
---|---|---|
timerange-name |
Specifies the name of a time range that applies to the device. |
The value is a string of 1 to 32 case-sensitive characters without spaces and must start with an uppercase or lowercase. |
Usage Scenario
A device on an enterprise network is not used at certain time. You can apply a time range to the device in dormancy mode to save power. When dormancy conditions are met, the device automatically enters the dormancy state during the time range. When the time range expires, the device is awakened.
When an awakening interface detects a user, the device in dormancy mode is awakened. User services on the device are not affected.
If the terminal is a PC, the device can enter the dormancy state only when the PC is shut down and its network adapter is powered off (this can be set in the power management module of BIOS).
The energy-saving mode of the device has been set to deep mode using the set power manage mode command.
A time range has been specified using the time-range command.
In a stack, the sleep time-range command cannot apply a time range to the device in dormancy state. However, you can use the undo sleep time-range command to delete the configuration in standalone mode.