357
Step Command
Remarks
2.
Enter Layer 2 Ethernet
interface view, port group
view.
interface
interface-type
interface-number
N/A
3.
Configure the IPv6 source
guard function on the port.
ipv6 verify source
{
ipv6-address
|
ipv6-address
mac-address
|
mac-address
}
Not configured by default.
The keyword specified in the
ipv6
verify source
command is only for
instructing the generation of
dynamic IPv6 source guard entries.
It does not affect static binding
entries. When using a static
binding entry, a port does not
consider the keyword into
consideration.
NOTE:
Although dynamic IPv6 source guard entries are generated based on DHCPv6 entries, the number of
dynamic IPv6 source guard entries is not necessarily the same as that of the DHCPv6 entries.
Configuring a static IPv6 source guard entry
Static IPv6 binding entries take effect only on ports configured with the IPv6 source guard function (see
"
Configuring the IPv6 source guard function
").
Port-based static IPv6 source guard entries and dynamic IPv6 source guard entries take precedence over
global static IPv6 source guard entries. A port matches a packet against global static binding entries only
when the packet does not match any port-based static binding entry or dynamic binding entry on the
port.
Configuring global static IPv6 binding entries
A global static IPv6 binding entry defines the IPv6 address and MAC address of the packets that can be
forwarded by ports. It takes effect on all ports of the device.
To configure a global static IPv6 binding entry:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a global static IPv6
binding entry.
ipv6 source binding ipv6-address
ipv6-address
mac-address
mac-address
No global static IPv6 binding entry
is configured by default.
Configuring port-based static IPv6 binding entries
When you configure port-based static IPv6 source guard entries, follow these guidelines:
•
You cannot configure the same static binding entry on one port repeatedly, but you can configure
the same static binding entry on different ports.
•
In an IPv6 source guard entry, the MAC address cannot be all 0s, all Fs (a broadcast MAC address),
or a multicast address, and the IPv6 address must be a unicast address and cannot be all 0s, all Fs,
or a loopback address.