290
Default level
2: System level
Parameters
ipv6
: Configures dynamic IPv6 source guard.
ip-address
: Binds source IPv6 addresses to the port.
ip-address mac-address
: Binds source IPv6 addresses and MAC addresses to the port.
mac-address
: Binds source MAC addresses to the port.
Description
Use the
ip check source ipv6
command to configure the dynamic IPv6 source guard function on a port.
Use the
undo ip check source ipv6
command to restore the default.
By default, the dynamic IPv6 source guard binding function is disabled.
You cannot configure the dynamic IP source guard function on a port in an aggregation group.
Related commands:
display ip check source ipv6
.
Examples
# Configure dynamic IPv6 binding of packet source IP address and MAC address on Layer 2 Ethernet
port GigabitEthernet 1/0/1 to filter packets based on the dynamically generated DHCPv6 snooping
entries or ND snooping entries.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ip check source ipv6 ip-address mac-address
ip check source max-entries
Syntax
ip check source
[
ipv6
]
max-entries
number
undo ip check source
[
ipv6
]
max-entries
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
ipv6
: Limits the number of IPv6 source guard binding entries. Without this keyword, the command limits
the number of IPv4 source guard binding entries.
number
: Specifies the maximum number of IP source guard entries allowed on the port, in the range of
0 to 256 for IPv4, or in the range of 0 to 256 for IPv6.
Description
Use the
ip check source max-entries
command to limit the total number of static and dynamic IPv4 (or
IPv6) source guard binding entries on a port. When the number of IPv4 (or IPv6) binding entries on a
port reaches the maximum, the port does not allowed new IPv4 (or IPv6) binding entries any more.
Use the
undo ip check source max-entries
command to restore the default.