Troubleshooting ipv4 dns configuration, Symptom, Solution – H3C Technologies H3C S12500 Series Switches User Manual

Page 127: Configuring ipv6 nd, Configuring a static neighbor entry

Advertising
background image

114

Step Command

Remarks

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure an IPv6 anycast

address.

ipv6 address { ipv6-address
prefix-length
|
ipv6-address/prefix-length } anycast

By default, no IPv6 anycast
address is configured on an
interface.

120B

Configuring IPv6 ND

This section describes how to configure IPv6 ND.

262B

Configuring a static neighbor entry

The IPv6 address of a neighboring 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 by the IPv6 address and the local Layer 3 interface
number of the neighbor. You can configure a static neighbor entry by using one of the following

methods:

Method 1—Associate a neighbor's IPv6 address and link-layer address with the local Layer 3
interface.
If you use Method 1, the device automatically finds the Layer 2 port connected to the neighbor.

Method 2—Associate a neighbor's IPv6 address and link-layer address with a local port in a
VLAN.
If you use Method 2, make sure the corresponding VLAN interface exists and the Layer 2 port
specified by port-type port-number belongs to the VLAN specified by vlan-id. The device associates

the VLAN interface with the neighbor IPv6 address to identify the static neighbor entry.

To configure a static neighbor entry:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure a static

neighbor entry.

ipv6 neighbor ipv6-address mac-address { vlan-id
port-type
port-number | interface interface-type

interface-number } [ vpn-instance

vpn-instance-name ]

By default, no static neighbor
entry exists on the device.

263B

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 neighbor 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 stops learning neighbor information.
To configure the maximum number of neighbors dynamically learned:

Advertising