< Home

ipv6 address (ACL IPv6 address pool view)

Function

The ipv6 address command configures an IPv6 address in 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.

Product

Support

S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Supported

S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI

Not supported

Format

ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

ipv6 address ipv6-address

undo ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

undo ipv6 address ipv6-address

Parameters

Parameter

Description

Value

ipv6-address

Specifies the IPv6 address in the ACL IPv6 address pool.

The value consists of 128 octets, which are classified into 8 groups. Each group contains 4 hexadecimal numbers in the format X:X:X:X:X:X:X:X.

prefix-length

Specifies the prefix length of an IPv6 address.

NOTE:

If the ACL IPv6 address pool is invoked by the redirect ipv6-multihop command, ensure that the prefix length is 128. Otherwise, redirection to the next hop will fail.

The value is an integer that ranges from 1 to 128.

Views

ACL IPv6 address pool view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After an ACL IPv6 address pool is created, you can run the ipv6 address command to specify an IPv6 address for the ACL IPv6 address pool. The ACL IPv6 address pool can be invoked by the redirect ipv6-multihop command to redirect packets to the next hop specified in the ACL IPv6 address pool.

Prerequisites

An ACL IPv6 address pool has been created by running the acl ipv6 ip-pool command.

Precautions

The switch supports a maximum of 12 ACL IPv6 address pools. Each ACL IPv6 address pool supports a maximum of 4 IPv6 addresses.

In the scenario when PBR is used to redirect packets to multiple next hops, if the device does not match the neighbor entry corresponding to the next hop IPv6 address, the device sends NS packets to check whether the neighbor is reachable. If the neighbor is unreachable, packets are forwarded based on the original path and redirection does not take effect. You can run the display acl ipv6 ip-pool command to check whether the next hop IPv6 address specified in the ACL IPv6 address pool takes effect.

Example

# Specify four IPv6 addresses for the ACL IPv6 address pool named abc.

<HUAWEI> system-view
[HUAWEI] acl ipv6 ip-pool abc
[HUAWEI-acl6-ip-pool-abc] ipv6 address 2001:db8::1 128
[HUAWEI-acl6-ip-pool-abc] ipv6 address 2001:db8::2 128
[HUAWEI-acl6-ip-pool-abc] ipv6 address 2001:db8::3 128
[HUAWEI-acl6-ip-pool-abc] ipv6 address 2001:db8::4 128
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >