2-671
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
show ip dhcp snooping binding
show ip dhcp snooping binding
Use the show ip dhcp snooping binding user EXEC command to display the DHCP snooping binding
database and configuration information for all interfaces on a switch.
show ip dhcp snooping binding [ip-address] [mac-address] [interface interface-id] [vlan vlan-id]
Syntax Description
Command Modes User EXEC
Command History
Usage Guidelines The show ip dhcp snooping binding command output shows only the dynamically configured bindings.
Use the show ip source binding privileged EXEC command to display the dynamically and statically
configured bindings in the DHCP snooping binding database.
If DHCP snooping is enabled and an interface changes to the down state, the switch does not delete the
statically configured bindings.
Examples This example shows how to display the DHCP snooping binding entries for a switch:
Switch> show ip dhcp snooping binding
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9837 dhcp-snooping 20 GigabitEthernet2/0/1
00:D0:B7:1B:35:DE 10.1.2.151 237 dhcp-snooping 20 GigabitEthernet2/0/2
Total number of bindings: 2
This example shows how to display the DHCP snooping binding entries for a specific IP address:
Switch> show ip dhcp snooping binding 10.1.2.150
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9810 dhcp-snooping 20 GigabitEthernet2/0/1
Total number of bindings: 1
This example shows how to display the DHCP snooping binding entries for a specific MAC address:
Switch> show ip dhcp snooping binding 0102.0304.0506
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9788 dhcp-snooping 20 GigabitEthernet2/0/2
Total number of bindings: 1
ip-address (Optional) Specify the binding entry IP address.
mac-address (Optional) Specify the binding entry MAC address.
interface interface-id (Optional) Specify the binding input interface.
vlan vlan-id (Optional) Specify the binding entry VLAN.
Release Modification
12.2(53)SE2 This command was introduced.