Configuring ipv6 ndp, Configuring a static neighbor entry – H3C Technologies H3C S7500E Series Switches User Manual

Page 133

Advertising
background image

13-14

z

The undo ipv6 address auto link-local command can only remove the link-local addresses

generated through the ipv6 address auto link-local command. However, if an IPv6 site-local

address or aggregatable global unicast address is already configured for an interface, the

interface still has a link-local address because the system automatically generates one for the

interface. If no IPv6 site-local address or aggregatable global unicast address is configured, the

interface has no link-local address.

z

The manually configured global unicast address takes precedence over the one automatically

generated. If a global unicast address has been automatically generated on an interface when you

manually configure another one with the same address prefix, the latter overwrites the previous

one. After that, the overwritten automatic global unicast address will not be restored even if the

manual one is removed. Instead, a new global unicast address will be automatically generated

again based on the address prefix information in the RA message that the interface receives for

the next time.

z

Executing the undo ipv6 address auto command removes all the automatically-generated global

unicast addresses from an interface. The automatically generated link-local address on the

interface can be removed only when no IPv6 site-local address or global unicast address exists,

and the ipv6 address auto link-local command is not configured.

Configuring IPv6 NDP

Configuring a Static Neighbor Entry

The IPv6 address of a neighbor 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 according to the neighbor IPv6 address and the

local Layer 3 interface ID. Currently, there are two configuration methods:

z

Associate a neighbor IPv6 address and link-layer address with a Layer 3 interface.

z

Associate a neighbor IPv6 address and link-layer address with a port in a VLAN.

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 }

Required

You can adopt either of the two methods above to configure a static neighbor entry.

Advertising