ipv6 address(ACL IPv6 address pool view)

Function

The ipv6 address command adds an IPv6 address to an ACL IPv6 address pool.

The undo ipv6 address command deletes an IPv6 address from an ACL IPv6 address pool.

By default, no IPv6 address is configured in an ACL IPv6 address pool.

Format

ipv6 address ipv6-address mask-length

undo ipv6 address ipv6-address mask-length

Parameters

Parameter Description Value
ipv6-address

Specifies the IPv6 address to be added to the ACL IPv6 address pool.

The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

mask-length

Specifies the mask length of the IPv6 address to be added to the ACL IPv6 address pool.

The value is an integer ranging from 1 to 128.

Views

ACL IPv6 address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
acl write

Usage Guidelines

Usage Scenario

After an ACL IPv6 address pool is created, you can run the ipv6 address command to add IPv6 addresses to the address pool.

Prerequisites

An ACL IPv6 address pool has been created using the acl ipv6-pool command, and the ACL IPv6 address pool view has been displayed.

Example

# Create an ACL IPv6 address pool named test and add IPv6 address 2001:db8::1 with a mask length of 64 to the address pool.
<HUAWEI> system-view
[~HUAWEI] acl ipv6-pool test
[*HUAWEI-acl-ipv6-pool-test] ipv6 address 2001:db8::1 64
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >