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

Page 918

Advertising
background image

1-15

z

IPv6 unicast addresses can be configured for only one VLAN interface of an H3C S3100 Series

Ethernet Switches. Only one global unicast address or one site-local address can be configured for

an interface.

z

After an IPv6 site-local address or global unicast address is configured for an interface, a link-local

address will be generated automatically. The automatically generated link-local address is the

same as the one generated by using the ipv6 address auto link-local command.

z

The manual assignment takes precedence over the automatic generation. That is, if you first adopt

the automatic generation and then the manual assignment, the manually assigned link-local

address will overwrite the automatically generated one. If you first adopt the manual assignment

and then the automatic generation, the automatically generated link-local address will not take

effect and the link-local address of an interface is still the manually assigned one. If the manually

assigned link-local address is deleted, the automatically generated link-local address takes effect.

z

You must have carried out the ipv6 address auto link-local command before you carry out the

undo ipv6 address auto link-local command. However, if an IPv6 site-local address or 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

global unicast address is configured, the interface has no link-local address.

Configuring IPv6 NDP

Configure 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 statically through manual configuration.

You can configure a static neighbor entry in two ways:

z

Mapping a VLAN interface to an IPv6 address and a link-layer address

z

Mapping a port in a VLAN to an IPv6 address and a link-layer address

If you configure a static neighbor entry in the second way, make sure the corresponding VLAN interface

exists. In this case, the device associates the VLAN interface to the IPv6 address to uniquely identify a

static neighbor entry.

Table 1-6 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

Configure the maximum number of neighbors dynamically learned

The device can dynamically acquire the link-layer address of a neighbor node through NS and NA

messages and add it to the neighbor table. Too large a neighbor table may lead to the forwarding

performance degradation of the device. Therefore, you can restrict the size of the neighbor table by

setting the maximum number of neighbors that an interface can dynamically learn. When the number of

Advertising