3Com Switch 8800 Family IPsec Module Configuration and Command reference Guide
Time-range Configuration Commands 323
Parameter
time-name: Name of time range, which consists of 32 characters at most and
must start with a letter of a-z or A-Z.
start-time: Start time of a time range, in the format of HH:MM.
end-time: End time of a time range, in the format of HH:MM.
days: Indicates on which day of a week the time range is valid or from which day
in a week the time range is valid. It is represented by numbers 0 through 6,
respectively for Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday,
and Sunday.
Working-day includes Monday through Friday;
Off-day includes Saturday and Sunday;
Daily includes the seven days of a week.
from time1 date1: Optional, which is used to indicate the start time and date. The
input format of time is hh:mm, which is shown in 24-hour notation. The range of
hh is from 0 to 23 and the range of mm is from 0 to 59. The input format of date
is MM/DD/YYYY. DD can be in the value range from 1 to 31. MM is one number in
the range form 1 to 12 and YYYY is a 4-digit number and in the range of 1970 to
2100. If no start time is set, it means that there is no restriction on start time and
only the end time should be considered.
to time2 date2: Optional. It is used to indicate the end time and date. In addition,
the input format of time and date is the same with that of the start time. The end
time must be greater than the start time. If the end time is not set, it will be the
maximum time that the system can set.
Description
Use the time-range command to specify a time range.
Use the undo time-range command to delete a time range.
A time range consists of 2 parts, the first is the periodic time range within one
week described by the parameters start-time and end-time, depending on the
parameter days to specify on which day it is valid; the second is the time range
specified by from and to, which can be used to emphasize in what time range the
periodical time range is valid.
You can configure multiple time ranges with the same time-name, which are in
"OR" relationship.
Example
# Configure the time range valid at 0:0 on Jan. 1, 2003, always valid.
[SecBlade_FW] time-range test from 0:0 1/1/2003
# Configure the time range valid between 14:00 and 16:00 in every weekend
from 20:00 on Apr.01, 2003 to 20:00 on Dec.10, 2003.