Command Manual (For Soliton) – ACL
H3C S3100 Series Ethernet Switches
Chapter 1 ACL Configuration Commands
1-28
Acl's step is 1
rule 0 deny IP source 1.1.1.1 0 destination 2.2.2.2 0
rule 0 comment This rule is to be applied to Ethernet 1/0/1
1.1.16 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
{
all
|
name
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
Parameters
all
: Removes all the time ranges.
time-name
: Name of a time range, a case insensitive string of 1 to 32 characters that
starts with a to z or A to Z. To avoid confusion, it cannot be all.
start-time
: Start time of a periodic time range, in the form of hh:mm.
end-time
: End time of a periodic time range, in the form of hh:mm. The end time must
be greater than the start time.
days-of-the-week
: Day of the week when the periodic time range is active. You can
provide this argument in one of the following forms.
z
Numeral (0 to 6)
z
Mon, Tue, Wed, Thu, Fri, Sat, and Sun
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 an absolute time range, in the form
of hh:mm MM/DD/YYYY or hh:mm YYYY/MM/DD. The
start-time start-date
and
end-time end-date
argument jointly define a period in which the absolute time range
takes effect. If the start date is not specified, the time range starts from 1970/01/01
00:00.
to
end-time end-date
: Specifies the end date of an absolute time range, in the form of
hh:mm MM/DD/YYYY or hh:mm YYYY/MM/DD. The
start-time start-date
and
end-time
end-date
argument jointly define a period in which the absolute time range takes effect.
If the end date is not specified, the time range ends at 2100/12/31 23:59.