Chapter 2 Cisco Catalyst Blade Switch 3020 for HP 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)SEF
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-8916-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.
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
Cisco Catalyst Blade Switch 3020 for HP Command Reference
show ip dhcp snooping binding
VLAN
Interface
----
--------------------
20
GigabitEthernet0/21
20
GigabitEthernet0/22
VLAN
Interface
----
--------------------
20
GigabitEthernet0/21
2-325