4
Command Line Interface
show ip dhcp snooping binding
This command shows the DHCP snooping binding table entries.
Command Mode
Privileged Exec
Example
Console#show ip dhcp snooping binding
MacAddress
----------------- --------------- ---------- -------------------- ---- ---------
11-22-33-44-55-66 192.168.0.99
Console#
IP Source Guard Commands
IP Source Guard is a security feature that filters IP traffic on network interfaces
based on manually configured entries in the IP Source Guard table, or static and
dynamic entries in the DHCP Snooping table when enabled (see "DHCP Snooping
Commands" on page 4-303). IP source guard can be used to prevent traffic attacks
caused when a host tries to use the IP address of a neighbor to access the network.
This section describes commands used to configure IP Source Guard.
Command
ip source-guard
ip source-guard
binding
show ip
source-guard
show ip
source-guard
binding
ip source-guard
This command configures the switch to filter inbound traffic based source IP
address, or source IP address and corresponding MAC address. Use the no form to
disable this function.
Syntax
ip source-guard {sip | sip-mac}
no ip source-guard
• sip - Filters traffic based on IP addresses stored in the binding table.
• sip-mac - Filters traffic based on IP addresses and corresponding MAC
addresses stored in the binding table.
4-310
IpAddress
Lease(sec) Type
Table 4-86 IP Source Guard Commands
Function
Configures the switch to filter inbound traffic based on source IP
address, or source IP address and corresponding MAC address
Adds a static address to the source-guard binding table
Shows whether source guard is enabled or disabled on each
interface
Shows the source guard binding table
www.digisol.com
0 Static
VLAN Interface
1 Eth 1/5
Mode
Page
IC
4-31
0
GC
4-31
2
PE
4-31
3
PE
4-31
3