1-12
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.
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, 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 the IPv6
address to uniquely identify a static neighbor entry.
Configuring 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 into the neighbor table. Too large a neighbor table may reduce the forwarding
performance of the device. 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.
Follow these steps to configure the maximum number of neighbors dynamically learned:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure the maximum number of
neighbors dynamically learned by an
interface
ipv6 neighbors
max-learning-num number
Optional
The default value is 4096.
Configuring Parameters Related to RA Messages
You can enable an interface to send RA messages, and configure the interval for sending RA messages
and parameters in RA messages. After receiving an RA message, a host can use these parameters to
perform corresponding operations.
Table 1-4
lists the configurable parameters in an RA message and
their descriptions.