beautypg.com

Configuring parameters related to ra messages – H3C Technologies H3C S10500 Series Switches User Manual

Page 125

background image

114

Configuring the maximum number of neighbors dynamically
learned

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

messages and add it into the neighbor table. A large table can 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
By default, a Layer 2 interface does

not limit the number of neighbors
dynamically learned, and a Layer

3 interface can learn up to 2048

neighbors dynamically.

Setting the age timer for ND entries in stale state

ND entries in stale state have an age timer. If an ND entry in stale state is not refreshed before the timer

expires, it transits to the delay state. If it is still not refreshed in five seconds, the ND entry transits to the

probe state, and the device sends an NS message for detection. If no response is received, the device

removes the ND entry.
Follow these steps to set the age timer for ND entries in stale state:

To do…

Use the command…

Remarks

Enter system view

system-view

Set the age timer for ND entries
in stale state

ipv6 neighbor stale-aging aging-time

Optional
Four hours by default.

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 10

lists and describes the configurable parameters in an RA

message.

Table 10 Parameters in an RA message and their descriptions

Parameters Description

Cur Hop Limit

When sending an IPv6 packet, a host uses the value to fill the Hop Limit field in IPv6
headers. The value is also filled into the Hop Limit field in the response packet of a

device.