xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
221
23
TIME RANGE COMMANDS
The Time Range commands are used in conjunction with the Access Profile commands listed in the previous chapter to determine
a starting point and an ending point, based on days of the week, when an Access Profile configuration will be enabled on the
Switch. Once configured here, the time ranges will to be applied to an access profile rule using the config access_profile
profile_id command.
NOTE: The Time Range commands are based on the time settings of the Switch. Make sure to
configure the time for the Switch appropriately for these commands using commands listed in
the following chapter, Time and SNTP Commands.
The Time Range commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
config time_range
<range_name 32> [hours start_time <hh:mm:ss> end_time <hh:mm:ss>
weekdays <daylist> | delete]
show time_range
Each command is listed, in detail, in the following sections.
config time_range
Purpose
Used to configure a time range in which an access profile rule is to
be enabled.
Syntax
config time_range <range_name 32> [hours start_time <hh:mm:ss>
end_time <hh:mm:ss> weekdays <daylist> | delete]
Description
This command is to be used in conjunction with an access profile rule
to determine a period of time when an access profile and an
associated rule are to be enabled on the Switch. Remember, this
time range can only be applied to one period of time and also, it is
based on the time set on the Switch.
Parameters
<range_name 32> – Enter a name of no more than 32 alphanumeric
characters that will be used to identify this time range on the Switch.
This range name will be used in the config access_profile profile_id
command to identify the access profile and associated rule to be
enabled for this time range.
hours – This parameter is used to set the time in the day that this
time range is to be set using the following parameters:
start time <hh:mm:ss> − Use this parameter to identify the starting
time of the time range, in hours, minutes and seconds, based
on the 24-hour time system.
end time <hh:mm:ss> − Use this parameter to identify the ending
time of the time range, in hours, minutes and seconds, based
on the 24-hour time system.
weekdays – Use this parameter to determine the days of the week
to set this time range.
<daylist> − The user may set the days of the week here to set this
time range in the three letter format (mon, tue, wed…). To
specify a day range, separate the daylist using a dash (mon-
fri would mean Monday through Friday). To specify a list of
days in a week, separate the daylist using a comma, with no
spaces (mon,tue,fri would mean Monday, Tuesday and
Friday).