292
user-bind ipv6
Syntax
user-bind ipv6 ip-address
ipv6-address
[
mac-address
mac-address
] [
vlan
vlan-id
]
undo
user-bind ipv6 ip-address
ipv6-address
[
mac-address
mac-address
] [
vlan
vlan-id
]
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
ipv6
: Binds an IPv6 address.
ip-address
ip-address
: Specifies the IPv6 address for the static binding. The IPv6 address cannot be all
0s, a multicast address, or a loopback address.
mac-address
mac-address
: Specifies the MAC address for the static binding in the format H-H-H. The
MAC address cannot be all 0s, all Fs (a broadcast address), or a multicast address.
vlan
vlan-id
: Specifies the VLAN for the static binding. The
vlan-id
argument is the ID of the VLAN to be
bound, in the range 1 to 4094.
Description
Use the
user-bind ipv6
command to configure an IPv6 static binding.
Use the
undo user-bind ipv6
command to delete an IPv6 static binding.
By default, no static binding exists on a port.
You can configure an entry on multiple ports but you cannot configure the entry on one port multiple
times.
Related commands:
display user-bind ipv6
.
Examples
# Configure a static IPv6 source guard on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] user-bind ipv6 ip-address 2001::1 mac-address
0002-0002-0002