Configuring Ipv6 Ndp; Configuring A Static Neighbor Entry; Configuring The Maximum Number Of Neighbors Dynamically Learned - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

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:
Associate a neighbor IPv6 address and link-layer address with a Layer 3 interface.
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...
Enter system view
Configure a static
neighbor entry
You can adopt either of the two methods above to configure a static neighbor entry.
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.
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...
Enter system view
Enter interface view
Configure the maximum number of
neighbors dynamically learned by an
interface
Use the command...
system-view
ipv6 neighbor ipv6-address mac-address { vlan-id
port-type port-number | interface interface-type
interface-number }
Use the command...
system-view
interface interface-type
interface-number
ipv6 neighbors
max-learning-num number
1-12
Remarks
Required
Remarks
Optional
The default value is 128.

Advertisement

Chapters

Table of Contents
loading

Table of Contents