Chapter 2 Catalyst 3550 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
table 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.1(19)EA1
12.2(25)SE
Usage Guidelines
The show ip dhcp snooping binding command output shows the dynamically configured bindings.
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
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
------------------
01:02:03:04:05:06
Total number of bindings: 1
OL-8566-01
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
The dynamic and static keywords were removed.
IpAddress
---------------
10.1.2.150
10.1.2.151
IpAddress
---------------
10.1.2.150
Lease(sec)
Type
----------
-------------
9837
dhcp-snooping
237
dhcp-snooping
Lease(sec)
Type
----------
-------------
9810
dhcp-snooping
Catalyst 3550 Multilayer Switch Command Reference
show ip dhcp snooping binding
VLAN
Interface
----
--------------------
20
GigabitEthernet0/1
20
GigabitEthernet0/2
VLAN
Interface
----
--------------------
20
GigabitEthernet0/1
2-387