The display acl ipv6 command can view information about the rules of a specified ACL6 or of all ACL6s and packet matching statistics.
Parameter | Description | Value |
---|---|---|
name acl6-name |
Specifies the name of an ACL6. |
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. |
all |
Displays information about all ACL6s. |
- |
basic-acl6-number |
Specifies the number of an ACL6. |
The value is an integer ranging from 2000 to 2999, the number of a basic ACL6 ranges from 2000 to 2999. |
advance-acl6-number |
Specifies the number of an ACL6. |
The value is an integer ranging from 3000 to 3999, the number of an advanced ACL6 ranges from 3000 to 3999. |
interface-based-acl6-number |
Specifies the number of an ACL6. |
The value is an integer ranging from 1000 to 1999, the number of an interface-based ACL6 ranges from 1000 to 1999. |
ucl-acl6-number |
Specifies the number of an ACL6. |
The value is an integer ranging from 6000 to 9999, the number of a user ACL6 ranges from 6000 to 9999. |
Usage Scenario
You can run the display acl ipv6 command for the following purposes:
Prerequisites
Historical statistics have been cleared using the reset acl ipv6 counter command.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display acl ipv6 2200
Basic IPv6 ACL 2200, 1 rule, match-order is auto
IPv6 ACL's step is 5
rule 5 permit source 2001:DB8::/64 (0 times matched)
Item | Description |
---|---|
Basic IPv6 ACL 2200, 1 rule | Type and number of the ACL6 and number of rules in the ACL6. |
IPv6 ACL's step is 5 | ACL6 step, which is 5 in this example. |
rule 5 permit source 2001:DB8::/64 | Detailed information about an ACL6 rule. |
match-order is auto | ACL6 rule matching order. There are two ACL6 rule-matching orders: configuration order (config) and automatic order (auto).
|
0 times matched | Number of times an ACL6 rule is matched. |