< Home

(Optional) Configuring a Static IPv6 Neighbor Entry

Context

On a VXLAN, if a Layer 3 gateway on a VXLAN is not enabled to send ND protocol packets, run the ipv6 neighbor command to configure a static IPv6 neighbor entry. To filter out invalid ND protocol packets, you can also run this command to bind the destination IPv6 addresses of these packets to nonexistent MAC addresses.

Procedure

  • Configure a static IPv6 neighbor entry on an interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface vbdif bd-id

      A VBDIF interface is created, and the VBDIF interface view is displayed.

      By default, no VBDIF interface is created.

    3. Run ipv6 enable

      The IPv6 function is enabled on the interface.

      By default, the IPv6 function is disabled on an interface.

    4. Run ipv6 neighbor ipv6-address mac-address { vid vlan-id1 [ cevid vlan-id2 ] } interface interface-type interface-num.subnum

      A static IPv6 neighbor entry is configured on a Layer 2 sub-interface on a VXLAN access-side interface.

      Alternatively, run ipv6 neighbor ipv6-address mac-address vid vlan-id3 interface interface-type interface-num

      A VLAN-based static IPv6 neighbor entry is configured on a VXLAN access-side interface.

  • Configure a static IPv6 neighbor entry for a VXLAN tunnel.
    1. Run system-view

      The system view is displayed.

    2. Run interface vbdif bd-id

      A VBDIF interface is created, and the VBDIF interface view is displayed.

      By default, no VBDIF interface is created.

    3. Run ipv6 enable

      The IPv6 function is enabled on the interface.

      By default, the IPv6 function is disabled on an interface.

    4. Run ipv6 neighbor ipv6-address mac-address vni vni-id source-ip ipv4-address1 peer-ip ipv4-address2

      A VLAN-based static IPv6 neighbor entry is configured on a VXLAN access-side interface.

      A static IPv6 neighbor entry is configured for a VXLAN tunnel.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >