Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
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.
Syntax Description
ip-address
mac-address
interface interface-id
vlan vlan-id
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(25)FX
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.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Examples
This example shows how to display the DHCP snooping binding entries for a switch:
Switch> show ip dhcp snooping binding
MacAddress
------------------
01:02:03:04:05:06
00:D0:B7:1B:35:DE
Total number of bindings: 2
OL-8604-03
show ip dhcp snooping binding [ip-address] [mac-address] [interface interface-id] [vlan vlan-id]
[ | {begin | exclude | include} expression]
(Optional) Specify the binding entry IP address.
(Optional) Specify the binding entry MAC address.
(Optional) Specify the binding input interface.
(Optional) Specify the binding entry VLAN.
Display begins with the line that matches the expression.
Display excludes lines that match the expression.
Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
IpAddress
---------------
10.1.2.150
10.1.2.151
Lease(sec)
Type
----------
-------------
9837
dhcp-snooping
237
dhcp-snooping
Catalyst 2960 Switch Command Reference
show ip dhcp snooping binding
VLAN
Interface
----
--------------------
20
GigabitEthernet0/1
20
GigabitEthernet0/2
2-467