< Home

display acl ipv6

Function

The display acl ipv6 command displays the configuration of a specific ACL6 or all ACL6s.

Format

display acl ipv6 { acl6-number | name acl6-name | all }

Parameters

Parameter

Description

Value

acl6-number

Specifies an ACL6 number.

The value is an integer. The value range is as follows:
  • The value of a basic ACL6 ranges from 2000 to 2999.
  • The value of an advanced ACL6 ranges from 3000 to 3999.
  • The value of a user ACL6 ranges from 6000 to 9999.

name acl6-name

Displays the ACL6 with a specified name.

The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter.

all

Displays the configurations of all ACL6s.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display acl ipv6 command displays the ACL6 configuration.

Example

# Display the configuration about the ACL6 with the number of 2000.

<HUAWEI> display acl ipv6 2000

Basic IPv6 ACL 2000, 2 rules
 rule 1 permit source 4::/64   
 rule 0 deny source 3::/64 

# Display the ACL6 configuration.

<HUAWEI> display acl ipv6 all
 Total nonempty acl6 number is 1
 
Basic IPv6 ACL 2000, 2 rules
 rule 1 permit source 4::/64
 rule 0 deny source 3::/64

Advanced IPv6 ACL 3999 name test, 0 rule

Ucl group IPv6 ACL 6000, 0 rule
Table 1 Description of the display acl ipv6 command output

Item

Description

Total nonempty acl6 number is 1

One ACL6 contains rules.

Basic IPv6 ACL 2000, 2 rules

ACL6 2000, which is a basic ACL6 and has two rules.

rule 0 deny source 3::/64

ACL6 rule 0, which denies packets with the source IPv6 address 3::/64.

To modify a basic ACL6 rule, run the rule (rule basic acl6 view) command.

rule 1 permit source 4::/64

ACL6 rule 1, which permits packets with the source IPv6 address 4::/64.

To modify a basic ACL6 rule, run the rule (rule basic acl6 view) command.

Advanced IPv6 ACL 3999 name test, 0 rule

ACL6 3999, named test, which is an advanced ACL6 and has 0 rule.

Ucl group IPv6 ACL 6000, 0 rule

ACL6 6000, which is an user ACL6 and has 0 rule.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >