CLI Reference Guide-R07

Table Of Contents
Chapter 9
| General Security Measures
IPv4 Source Guard
– 307 –
Static bindings are processed as follows:
A valid static IP source guard entry will be added to the binding table in
ACL mode if one of the following conditions is true:
If there is no binding entry with the same VLAN ID and MAC address, a
new entry will be added to the binding table using the type of static IP
source guard binding.
If there is an entry with the same VLAN ID and MAC address, and the
type of entry is static IP source guard binding, then the new entry will
replace the old one.
If there is an entry with the same VLAN ID and MAC address, and the
type of the entry is dynamic DHCP snooping binding, then the new
entry will replace the old one and the entry type will be changed to
static IP source guard binding.
A valid static IP source guard entry will be added to the binding table in
MAC mode if one of the following conditions are true:
If there is no binding entry with the same IP address and MAC address,
a new entry will be added to the binding table using the type of static
IP source guard binding entry.
If there is a binding entry with same IP address and MAC address, then
the new entry shall replace the old one.
Only unicast addresses are accepted for static bindings.
Example
This example configures a static source-guard binding on port 5. Since the binding
mode is not specified, the entry is bound to the ACL table by default.
Console(config)#ip source-guard binding 11-22-33-44-55-66 vlan 1 192.168.0.99
interface ethernet 1/5
Console(config-if)#
Related Commands
ip source-guard (308)
ip dhcp snooping (291)
ip dhcp snooping vlan (299)