D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
90
5-5 config time_range
Description
This command is used to define a specific range of time to activate a function on the Switch by
specifying which time range in a day and which days in a week are covered in the time range. Note
that the specified time range is based on SNTP time or configured time. If this time is not available,
then the time range will not be met.
Format
config time_range <range_name 32> [ hours start_time < hh:mm:ss> end_time< hh:mm:ss>
weekdays <daylist> | delete]
Parameters
<range_name 32> - Specify the name of the time range settings.
hours start_time - Specify the starting time in a day. (24-hr time). For example, 19:00 means
7PM. 19 is also acceptable. The start_time must be smaller than the end_time.
< hh:mm:ss> - Specify the time.
end_time
- Specify the ending time in a day. (24-hr time)
< hh:mm:ss>
- Specify the time.
weekdays - Specify the list of days contained in the time range. Use a dash to define a period of
days. Use a comma to separate specific days. For example, mon-fri (Monday to Friday)
sun, mon, fri (Sunday, Monday, and Friday)
<daylist> - Specify a list of days.
delete - Delete a time range profile. When a time range profile has been associated with ACL
entries, the deletion of this time range profile will fail.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the range of time to activate a function on the switch:
DGS-3420-28SC:admin#config time_range testdaily hours start_time 12:0:0
end_time 13:0:0 weekdays mon,fri
Command: config time_range testdaily hours start_time 12:0:0 end_time 13:0:0
weekdays mon,fri
Success.
DGS-3420-28SC:admin#
5-6 show time_range
Description
This command is used to display current time range settings.