beautypg.com

Configure an ipv6 anycast address, Configuring ipv6 nd, Configuring a static neighbor entry – H3C Technologies H3C S10500 Series Switches User Manual

Page 124

background image

113

Configure an IPv6 anycast address

Follow these steps to configure an IPv6 anycast address for an interface:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Configure an IPv6 anycast address

ipv6 address
ipv6-address/prefix-length anycast

Optional
By default, no IPv6 anycast
address is configured on an

interface.

Configuring IPv6 ND

Configuring a static neighbor entry

The IPv6 address of a neighboring node can be resolved into a link-layer address dynamically through

NS and NA messages or through a manually configured static neighbor entry.
The device uniquely identifies a static neighbor entry by the neighbor's IPv6 address and the local Layer

3 interface number. You can configure a static neighbor entry by using either of the following methods.

Associate a neighbor IPv6 address and link-layer address with the Layer 3 interface of the local
node. (Method I)

Associate a neighbor IPv6 address and link-layer address with a port in a VLAN containing the
local node. (Method II)

Follow these steps to configure a static neighbor entry:

To do...

Use the command...

Remarks

Enter system view

system-view

Configure a static

neighbor entry

ipv6 neighbor ipv6-address mac-address { vlan-id

port-type port-number | interface interface-type
interface-number
} [ vpn-instance vpn-instance-name ]

Required

CAUTION:

You can use either of the previous configuration methods to configure a static neighbor entry for a VLAN
interface.

After a static neighbor entry is configured by using the first method, the device must resolve the
corresponding Layer 2 port information of the VLAN interface.

If you use the second method, ensure that the corresponding VLAN interface exists and that the Layer 2
port specified by

port-type port-number belongs to the VLAN specified by vlan-id. After a static

neighbor entry is configured, the device associates the VLAN interface with the IPv6 address to identify

the static neighbor entry uniquely.