Command Manual – ACL
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 ACL Commands
Huawei Technologies Proprietary
1-19
[Quidway] acl number 3000
[Quidway-acl-adv-3000] rule 0 comment test
1.1.12 time-range
Syntax
time-range time-name
{
start-time to end-time
days-of-the-week
[
from
start-time
start-date
] [
to
end-time end-date
] |
from
start-time start-date
[
to
end-time end-date
]
|
to
end-time end-date
}
undo time-range time-name
[
start-time to end-time
days-of-the-week
[
from
start-time start-date
] [
to
end-time end-date
] |
from
start-time start-date
[
to
end-time
end-date
] |
to
end-time end-date
]
View
System view
Parameter
time-name
: Name of a special time range, used as the identifier of a reference.
start-time
: Start time of a special time range, in the form of hh:mm. Optional argument.
end-time
: End time of a special time range, in the form of hh:mm. Optional argument.
days-of-the-week
: Day of the week when the special time range is effective. Optional
argument. Available arguments and argument combinations are as follows:
z
Numerals (0 to 6)
z
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday
z
Working days (Monday through Friday)
z
Off days (Saturday and Sunday)
z
Daily, namely everyday of the week
from start-time start-date
: Specifies the start date of a special time range, optional. In
the form of hh:mm MM/DD/ YYYY,
start-time start-date
and
end-time end-date
jointly
define a date in which the special time range takes effect.
to
end-time end-date
: Specifies the end date of a special time range, optional. In the
form of hh:mm MM/DD/ YYYY,
start-time start-date
and
end-time end-date
jointly
define a date on which the special time range takes effect.
Description
Use the
time-range
command to define a time range.
Use the
undo time-range
command to delete a time range.
The time range defined by means of the
time-range
command can include absolute
time sections and periodic time sections.
start-time
and
end-time
days-of-the-week