The undo rule command deletes an ACL rule in the basic ACL view.
By default, no basic ACL rule is created and no description is configured for an ACL rule.
Parameter | Description | Value |
---|---|---|
fragment-type |
Matches packets based on the fragment type of the packets. |
- |
time-range |
Specifies a time range during which an ACL rule takes effect. |
- |
vpn-instance |
Matches packets based on a VPN instance name. |
- |
source |
Matches packets based on source IP addresses. |
- |
undo |
Cancel current setting. |
- |
rule rule-id |
Specifies the ID of an ACL rule. |
The value is an integer ranging from 0 to 4294967294. |
description |
Specify rule description. |
- |
Usage Scenario
Run the rule description command to configure a description for an ACL in any of the following situations:
Prerequisites
An ACL rule has been created using the rule command.
Precautions
If the description of an ACL rule is not configured, the ACL rule may be misunderstood or misused.
<HUAWEI> system-view [~HUAWEI] acl number 2999 [*HUAWEI-acl4-basic-2999] rule 23 deny source 10.1.1.1 0 [*HUAWEI-acl4-basic-2999] rule 23 description This rule is used to filter packets according to the source IP address. [*HUAWEI-acl4-basic-2999] undo rule 23 description