2-353
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-01
Chapter 2 Catalyst 2950 and 2955 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
table and configuration information for all interfaces on a switch.
show ip dhcp snooping binding [ip-address] [mac-address] [dynamic] [interface interface-id]
[static] [vlan vlan-id] [ | {begin | exclude | include} expression]
Syntax Description
Command Modes User EXEC
Command History
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
manually 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 IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------- ---- --------------------
00:30:94:C2:EF:35 41.0.0.51 286 dynamic 41 FastEthernet0/3
00:D0:B7:1B:35:DE 41.0.0.52 237 dynamic 41 FastEthernet0/3
00:00:00:00:00:01 40.0.0.46 286 dynamic 40 FastEthernet0/8
00:00:00:00:00:03 42.0.0.33 286 dynamic 42 FastEthernet0/8
00:00:00:00:00:02 41.0.0.53 286 dynamic 41 FastEthernet0/8
This example shows how to display the DHCP snooping binding entries for a specific IP address:
Switch> show ip dhcp snooping binding 41.0.0.51
ip-address (Optional) Specify the binding entry IP address.
mac-address (Optional) Specify the binding entry MAC address.
dynamic (Optional) Specify the dynamic binding entry.
interface interface-id (Optional) Specify the binding input interface.
static (Optional) Specify the static binding entry.
vlan vlan-id (Optional) Specify the binding entry VLAN.
| begin Display begins with the line that matches the expression.
| exclude Display excludes lines that match the expression.
| include Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.
Release Modification
12.1(19)EA1 This command was introduced