Configuring a static IPv6 source guard binding entry

Static IPv6 binding entries take effect on an interface only when the interface is configured with the IPv6 source guard feature (see "Configuring the IPv6 source guard feature").

You can configure global static and interface-specific static IPv6 source guard binding entries.

Global static binding entries take effect on all interfaces configured with the IPv6 source guard feature.

Interface-specific static binding entries take priority over global static binding entries. An interface first uses the static binding entries on the interface to match packets. If no match is found, the interface uses the global binding entries.

Configuring a global static IPv6 source guard binding entry

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure a global static IPv6 source guard binding entry.

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

By default, no global static IPv6 source guard binding entry exists.

Configuring a static IPv6 source guard binding entry on an interface

When you configure a static IPv6 source guard binding entry on an interface, follow these guidelines:

To configure a static IPv6 source guard binding entry on an interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 interface view.

interface interface-type interface-number

N/A

3. Configure a static IPv6 binding entry on an interface.

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

By default, no static IPv6 binding entry is configured on an interface.