Operation Manual – IPv6
H3C S5500-EI Series Ethernet Switches
Chapter 1 IPv6 Basics Configuration
1-15
1.4 Configuring IPv6 NDP
1.4.1 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 neighbor
entry.
The device uniquely identifies a static neighbor entry according to the IPv6 address and
the layer 3 interface ID. Currently, there are two configuration methods:
z
Configure an IPv6 address and link-layer address for a Layer 3 interface.
z
Configure an IPv6 address and link-layer address for 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
Caution:
You can adopt either of the two methods above to configure a static neighbor entry for
a VLAN interface.
z
After a static neighbor entry is configured by using the first method, the device
needs to resolve the corresponding Layer 2 port information of the VLAN interface.
z
If you adopt the second method to configure a static neighbor entry, you should
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 relates the VLAN interface to an IPv6
address to uniquely identify a static neighbor entry.
1.4.2 Configuring the Maximum Number of Neighbors Dynamically Learned
The device can dynamically acquire the link-layer address of a neighbor node and add
it into the neighbor table through NS and NA messages. Too large a neighbor table from
which neighbor entries can be dynamically acquired 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 dynamically learned neighbors reaches the
threshold, the interface will stop learning neighbor information.