Configuring a static IPv6SG binding

About static IPv6SG bindings

You can configure global static and interface-specific static IPv6SG bindings. Interface-specific static and dynamic bindings take priority over global static bindings. An interface first uses the static and dynamic bindings on the interface to match packets. If no match is found, the interface uses the global bindings.

Restrictions and guidelines

Global static bindings take effect on all interfaces on the device.

To configure a static IPv6SG binding for the ND attack detection feature, the vlan vlan-id option must be specified, and ND attack detection must be enabled for the specified VLAN.

Configuring a global static IPv6SG binding

  1. Enter system view.

    system-view

  2. Configure a global static IPv6SG binding.

    ipv6 source binding ip-address ipv6-address mac-address mac-address

Configuring a static IPv6SG binding on an interface

  1. Enter system view.

    system-view

  2. Enter interface view.

    interface interface-type interface-number

    The following interface types are supported:

    • Layer 2 Ethernet interface.

    • Layer 3 Ethernet interface.

    • VLAN interface.

  3. Configure a static IPv6SG binding.

    ipv6 source binding { ip-address ipv6-address | ip-address ipv6-address mac-address mac-address | mac-address mac-address } [ vlan vlan-id ]

    You can configure the same static IPv6SG binding on different interfaces.