< Home

acl ipv6

Function

The acl ipv6 command creates an IPv6 ACL group and displays the ACL6 view. If the IPv6 ACL group exists, this command only displays the ACL6 view.

The undo acl ipv6 command deletes the IPv6 ACL group.

Format

acl ipv6 [ number ] ipv6-acl-number [ vpn-instance vpn-instance-name ]

undo acl ipv6 { [ number ] ipv6-acl-number | all }

Parameters

Parameter Description Value
number Indicates an IPv6 ACL number. -
ipv6-acl-number Specifies the number of an IPv6 ACL. It is an integer ranging from 2000 to 3999. Basic IPv6 ACLs range from 2000 to 2999. Advanced IPv6 ACLs range from 3000 to 3999.
vpn-instance vpn-instance-name Specifies the name of the vpn-instance.

Specifies the protocol by protocol name or protocol number.

all Deletes all configured IPv6 ACLs. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If any ACL is being referenced, none of ACLs is deleted after the undo acl ipv6 is run. To delete the ACLs, remove the reference relationship and run the undo acl ipv6 command.

Example

# Create IPv6 ACL 2000.

<sysname> system-view
[sysname] acl ipv6 2000
[sysname-acl6-basic-2000]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >