318
To do… Use the command… Remarks
Configure a static IPv4 source
guard binding entry on the port
ip source binding { ip-address
ip-address | ip-address ip-address
mac-address mac-address |
mac-address mac-address }
Required
By default, no static IPv4 binding
entry is configured on a port.
NOTE:
• You cannot repeatedly confi
ure the same static bindin
entry on one port, but you can confi
ure the
same static entry on different ports.
• If a static bindin
entry to be added denotes the same bindin
as an existin
dynamic bindin
entry, the
new static binding entry overwrites the dynamic binding entry.
Setting the maximum number of IPv4 source guard binding
entries
The maximum number of IPv4 source guard binding entries is used to limit the total number of static and
dynamic IPv4 source guard binding entries on a port. When the number of IPv4 binding entries on a port
reaches the maximum, the port does not allowed new IPv4 binding entries any more.
Follow these steps to configure the maximum number of IPv4 binding entries allowed on a port:
To do… Use the command… Remarks
Enter system view system-view —
Enter Layer 2 Ethernet interface
view
interface interface-type
interface-number
—
Configure the maximum number of
IPv4 binding entries allowed on the
port
ip verify source max-entries
number
Optional
2048 by default.
NOTE:
If the maximum number of IPv4 binding entries to be configured is smaller than the number of existin
IPv4
bindin
entries on the port, the maximum number can be confi
ured successfully and the existin
entries
ill not be affected. New IPv4 bindin
entries, however, cannot be added more unless the number of IPv4
binding entries on the port drops below the configured maximum.
Configuring the IPv6 source guard function
NOTE:
You cannot configure the IPv6 source guard binding function on a port in an aggregation group or a
service loopback group, nor can you add a port configured with IP source
uard to an a
re
ation
roup
or a service loopback group.