The acl ipv6 name command creates an advanced ACL6 and displays the ACL6 view. If the advanced ACL6 already exists, this command directly displays the ACL6 view.
The undo acl ipv6 name command deletes a created advanced ACL6.
By default, no advanced ACL6 is created.
Parameter | Description | Value |
---|---|---|
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.
|
- |
name advance-acl6-name |
Creates an advanced ACL6 with a name. |
The value is a string of 1 to 64 case-sensitive characters, spaces not supported. The name must start with a letter or digit, and cannot contain only digits. |
Usage Scenario
Advanced ACL6s match packets based on the source IP address, destination IP address, IP protocol type, and protocol-specific configurations (for example, source and destination TCP ports and ICMPv6 protocol type and code) of the packets. To create an advanced 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
Run the rule command to configure a rule for a created advanced ACL6. Then the ACL6 rule can be applied to match packets.
Run the description command to configure a description for a created advanced ACL6. The description can contain the functions of the advanced ACL6, facilitating applications.