3Com Switch 7750 Series
Command Reference Guide – ACL
Chapter 1 ACL Commands
1-2
all
:
Cancels all ACLs (including those identified by a number or a name).
Description
Use the
acl
command to define an ACL and enter the corresponding ACL view.
Use the
undo acl
command to delete all entries of an ACL identified by a number or a
name, or the entire ACL.
By default, ACL rules are matched according to the configured order (
config
).
After entering the corresponding ACL view, you can use the
rule
command to add
entries to the ACL (use the quit command to quit ACL view).
Note:
User-defined ACL can only be activated on the cards except A type ones.
You can use the
match-order
keyword to specify whether to use the configured order
or “depth-first” order (rules with smaller ranges are matched first) to match rules. If
neither match orders are specified, the configured match order will be adopted.
You cannot modify the match order for an ACL once you have specified it, unless you
delete all the entries of the ACL, and specify the match order over again.
The ACL match order feature is effective only when the ACL is referenced by software
for data filtering and traffic classification.
Related command:
rule
,
acl mode
.
Example
# Define rules for ACL 2000, and specify “depth-first” order as the rule match order.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] acl number 2000 match-order auto
1.1.2 acl mode
Syntax
acl mode
{
ip-based
|
link-based
}
View
System view