Command Reference Guide
3Com Router 5000 Family and Router 6000 Family acl ● 15
Command Reference
acl
Purpose Use the acl command to create an access control list and enter ACL view.
Use the
undo acl command to delete an access control list.
Syntax acl number acl-number [ match-order { config | auto } ]
undo acl { number acl-number | all }
Parameters number
Defines a numbered access control list (ACL).
acl-number
ACL number. Valid values are 1000 to 1999 for
interface-based ACLs, 2000 to 2999 for basic ACLs,
3000 to 3999 for advanced ACLs, and 4000 to 4999
for MAC-based ACLs.
match-order
Indicates the order in which rules are configured.
config
Indicates to match the rule according to configuration
order that the user configured them.
auto
Indicates to match the rule in automatic order (in
accordance with "Depth first" principle.)
all
Deletes all ACLs.
Example Create an ACL numbered 2000.
[3Com] acl number 2000
[3Com-acl-basic-2000]purpose_body
View This command can be used in the following views:
■ System View
Description An access control list consists of a list of rules that are described by a series of permit
or deny sub-sentences. Several rule lists form an ACL. Before configuring the rules for
an access control list, you should create the access control list first.