The acl ipv6 number command creates an ACL6 and displays the ACL6 view. If the ACL6 already exists, this command directly displays the ACL6 view.
The undo acl ipv6 number command deletes a created ACL6.
By default, no ACL6 is created.
acl ipv6 [ number ] interface-based-acl6-number [ match-order { config | auto } ]
acl ipv6 [ number ] basic-acl6-number [ match-order { config | auto } ]
acl ipv6 [ number ] advance-acl6-number [ match-order { config | auto } ]
acl ipv6 [ number ] ucl-acl6-number [ match-order { auto | config } ]
undo acl ipv6 [ number ] basic-acl6-number
undo acl ipv6 [ number ] advance-acl6-number
undo acl ipv6 [ number ] interface-based-acl6-number
undo acl ipv6 all
undo acl ipv6 [ number ] ucl-acl6-number
Parameter | Description | Value |
---|---|---|
interface-based-acl6-number |
Creates an interface-based ACL6 with a number. |
The value is an integer ranging from 1000 to 1999. |
match-order |
Indicates the order in which advanced ACL6 rules are matched. |
- |
config |
Indicates the configuration order, meaning that ACL6 rules are matched in the order they are configured. This mechanism applies only when rule numbers are not specified. If rule numbers are specified, the ACL6 rules are matched based on the numbers in ascending order. |
- |
auto |
Indicates the automatic order, meaning that ACL6 rules are matched based on the depth-first principle.
|
- |
basic-acl6-number |
Creates a basic ACL6 with a number. |
The value is an integer ranging from 2000 to 2999. |
advance-acl6-number |
Creates an advanced ACL6 with a number. |
The value is an integer ranging from 3000 to 3999. |
ucl-acl6-number |
Creates a user ACL6 with a number. |
The value is an integer ranging from 6000 to 9999. |
all |
Deletes all ACL6s. |
- |
Usage Scenario
To create an ACL6, run the acl ipv6 command.
Configuration Impact
The undo acl ipv6 all command deletes all types of ACL6s on a device. If the ACL6s being deleted are applied to services, these services are interrupted. Before deleting an ACL6, ensure that the ACL6 is not referenced by services.
Follow-up Procedure
After you create an ACL6, the ACL6 view is displayed.
Deleting an ACL referenced by a service may interrupt this service. Before deleting an ACL, check whether the ACL is referenced by any service.<HUAWEI> system-view [~HUAWEI] acl ipv6 number 1999
<HUAWEI> system-view [~HUAWEI] acl ipv6 number 6999
<HUAWEI> system-view [~HUAWEI] acl ipv6 number 3999
<HUAWEI> system-view [~HUAWEI] acl ipv6 number 2999