The acl command creates an ACL with the specified number and enters the ACL view.
The undo acl command deletes a specified ACL.
By default, no ACL is created.
acl [ number ] acl-number [ match-order { auto | config } ]
undo acl { [ number ] acl-number | all }
Parameter |
Description |
Value |
---|---|---|
number |
Specifies the number that identifies an ACL. |
- |
acl-number |
Specifies the number of an ACL. |
The value is an integer.
|
match-order { auto | config } |
Indicates the matching order of ACL rules.
If the match-order parameter is not specified when you create an ACL, the default match order config is used. |
- |
all |
Indicates that all ACLs are deleted. |
- |
Usage Scenario
An ACL consists of a series of rules defined by multiple permit or deny clauses. ACLs are mainly applied to QoS, route filtering, and user access. The major functions of ACLs are as follows:
Limit data flows to improve network performance. For example, ACLs are configured on an enterprise network to limit video data flows, which lowers the network load and improves network performance.
Provide flow control. For example, ACLs are used to limit transmission of routing updates so that the bandwidth is saved.
Provide network access security. For example, ACLs are configured to allow specified users to access the human resource network.
Follow-up Procedure
Run the rule command to configure ACL rules and apply the ACL to services for which packets need to be filtered.
Precautions