Configuring a static neighbor entry

About static neighbor entries

A neighbor entry stores information about a link-local node. The entry can be created dynamically through NS and NA messages, or configured statically.

The device uniquely identifies a static neighbor entry by using the neighbor's IPv6 address and the number of the Layer 3 interface that connects to the neighbor. You can configure a static neighbor entry by using one of the following methods:

Restrictions and guidelines

You can use either of the methods to configure a static neighbor entry for a VLAN interface.

Procedure

  1. Enter system view.

    system-view

  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 entries exist.