ACL Configuration Command List 289
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]acl number 3000
[SW5500-acl-adv-3000]rule 1 permit tcp established source 1.1.1.1 0
destination 2.2.2.2 0
[SW5500-acl-adv-3000]
Add a subrule to a basic ACL:
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]acl number 2000
[SW5500-acl- basic-2000]rule 1 permit source 1.1.1.1 0 fragment
[SW5500-acl- basic-2000]
Add a subrule to a Layer 2 ACL:
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]acl number 4000
[SW5500-acl-ethernetframe-4000] rule 1 permit source 1
[SW5500-acl-ethernetframe-4000]
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 to be referenced.
start-time:
Start time of the special time range, format as hh:mm.
end-time:
End time of the special time range, format as hh:mm.
days-of-the-week
: Means the special time is effective on a specified day every
week. You can input the following parameters:
■ Numbers (ranging from 0 to 6);
■ Monday, Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday;
■ working-day, representing 5 working days, from Monday to Friday;
■ off-day, representing Saturday and Sunday;
from
start-time start-date
:: The start date of a special time-range, together
with
end-time end-date
means this special time-range is effective during a
certain period, notated as hh:mm MM/DD/YYYY.