3Com Switch 8800 Configuration Guide
Chapter 32 ACL Configuration
32-4
Table 32-3
ACL configuration tasks
No.
Item
Command
Description
1
Enter the system
view
<SW8800>
system-view
—
2
Configure the
time range
[SW8800]
time-range
Optional
3
Define a flow
template
[SW8800]
flow-template
user-defined slot slotid
template
-
info
Optional
4
Enter the ACL
view
[SW8800]
acl
Required
5 Define
sub-rules
[SW8800-acl-adv-3000]
rule
Required
6
Exit ACL view
Enter Ethernet
port view
[SW8800-acl-adv-3000]
quit
[SW8800]
interface
Ethernet 5/1/1
—
7
Apply a defined
flow template in
the Ethernet port
view
[SW8800-Ethernet5/1/1]
flow-template user-defined
Optional. You
can perform
this operation
only when a
flow template
has been
previously
defined.
8
Activate the ACL
[SW8800-Ethernet5/1/1]
packet-filter inbound
Required
32.2.1 Configuring Time Range
You may set such items in time range configuration: The defined time range includes
absolute time range and period time range. The absolute time range is in the form of
hh:mm YYYY/MM/DD; the period time range is in the format of hh:mm, day.
Perform the following configurations in system view.
Table 32-4
Configure time range
Operation
Command
Create time range
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
}
Delete time range
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
]