ipv6 address anycast

Syntax

ipv6 address ipv6-address/prefix-length anycast

undo ipv6 address ipv6-address/prefix-length anycast

View

Interface view

Default level

2: System level

Parameters

ipv6-address/prefix-length: Specifies an IPv6 anycast address and its prefix length. The prefix length ranges 1 to 128.

Description

Use ipv6 address anycast to configure an IPv6 anycast address for an interface.

Use undo ipv6 address anycast to remove the IPv6 anycast address from the interface.

By default, no IPv6 anycast address is configured for an interface.

Examples

# Set the IPv6 anycast address of VLAN-interface 100 to 2001::1 with prefix length 64.

<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address 2001::1/64 anycast