ipv6 source binding (system view)

Use ipv6 source binding to configure a global static IPv6SG binding.

Use undo ipv6 source binding to delete one or all global static IPv6SG bindings.

Syntax

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

undo ipv6 source binding { all | ip-address ipv6-address mac-address mac-address }

Default

No global static IPv6SG bindings exist.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ipv6-address ipv6-address: Specifies the IPv6 address for the static binding. The IPv6 address cannot be an all-zero address, a multicast address, or a loopback address.

mac-address mac-address: Specifies the MAC address for the static binding. The MAC address must be in H-H-H format, and cannot be all 0s, all Fs (a broadcast MAC address), or a multicast MAC address.

all: Removes all global static IPv6SG bindings.

Usage guidelines

A global static IPv6SG binding takes effect on all interfaces.

Examples

# Configure a global static IPv6SG binding.

<Sysname> system-view
[Sysname] ipv6 source binding ipv6-address 2001::1 mac-address 0002-0002-0002

Related commands

display ipv6 source binding

display ipv6 source binding pd

ipv6 source binding (interface view)