ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
29
| General Security Measures
IPv4 Source Guard
– 1137
RELATED COMMANDS
ip source-guard binding (1134)
ip dhcp snooping (1116)
ip dhcp snooping vlan (1121)
ip source-guard
max-binding
This command sets the maximum number of entries that can be bound to
an interface. Use the no form to restore the default setting.
SYNTAX
ip source-guard [mode {acl | mac}] max-binding number
no ip source-guard [mode {acl | mac}] max-binding
mode - Specifies the learning mode.
acl - Searches for addresses in the ACL table.
mac - Searches for addresses in the MAC address table.
number - The maximum number of IP addresses that can be
mapped to an interface in the binding table. (Range: 1-5 for ACL
mode; 1-1024 for MAC mode)
DEFAULT SETTING
Mode: ACL
Maximum bindings: 5 for ACL mode, 1024 for MAC mode
COMMAND MODE
Interface Configuration (Ethernet)
COMMAND USAGE
This command sets the maximum number of address entries that can be
mapped to an interface in the binding table, including both dynamic entries
discovered by DHCP snooping and static entries set by the ip source-guard
command.
EXAMPLE
This example sets the maximum number of allowed entries in the binding
table for port 5 to one entry. The mode is not specified, and therefore
defaults to the ACL binding table.
Console(config)#interface ethernet 1/5
Console(config-if)#ip source-guard max-binding 1
Console(config-if)#