DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
99
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>
- Specifies the name of the time range settings.
hours start_time
- Specifies 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>
- Specifies the time.
end_time
- Specifies the ending time in a day. (24-hr time)
< hh:mm:ss>
- Specifies the time.
weekdays
- Specifies 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>
- Specifies 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 and Operator-level users can issue this command.
Example
To configure the range of time to activate a function on the switch:
DGS-3710-12C: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-3710-12C:admin#
6-6
show time_range
Description
This command is used to display current time range settings.
Format
show time_range
Parameters
None.