3Com Switch 7750 Configuration Guide Guide
596 CHAPTER 57: ACL CONFIGURATION
<SW7750> system-view
[SW7750] acl mode link-based
[SW7750] display acl mode
The current acl mode: link-based.
Specifying the
Matching Order of
ACL Rules Sent to a
Port
The acl match-order { config | auto } command is used to set the matching order
of ACL rules when they are referenced by softwares. While the acl order
command is used to set the matching order of ACL rules after they are applied to
a port). The Switch 7750 Family support three matching orders of ACL rules
applied to a port: depth-first, first-config-first-match, and last-config-first
match. You can specify one of the three orders.
Configuration Procedure
Configuration Example # Specify the matching order of ACL rules sent to a port as
first-config-first-match.
<SW7750> system-view
[SW7750] acl order first-config-first-match
[SW7750] display acl order
the current order is first-config-first-match
Configuring Time
Ranges
The time range configuration tasks include configuring periodic time sections and
configuring absolute time sections. A periodic time section appears as a period of
time in a day of the week, while an absolute time section appears in the form of
"the start time to the end time".
Configuration Procedure
Tabl e 464 Set the matching order of ACL rules applied to a port
Operation Command Description
Enter system view system-view -
Set the matching order of the
configured ACL rules sent to a
port
acl order { auto |
first-config-first-match |
last-config-first-match }
Required
By default, the configured
ACL rules sent to a port match
in the depth-first order, that
is, the auto mode.
Display the matching order of
the ACL rules applied to a
port
display acl order
Optional
The display command can be
executed in any view
Tabl e 465 Configure a time range
Operation Command Description
Enter system view system-view -
Create a 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 }
Required