C
HAPTER
25
| General Security Measures
IPv4 Source Guard
– 923 –
EXAMPLE
This example enables IP source guard on port 5.
Console(config)#interface ethernet 1/5
Console(config-if)#ip source-guard sip
Console(config-if)#
RELATED COMMANDS
ip source-guard binding (920)
ip dhcp snooping (900)
ip dhcp snooping vlan (905)
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
5
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