Specifications
2-603
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
show ip dhcp snooping binding
show ip dhcp s nooping bin ding
To display the DHCP snooping binding entr ies, use the show ip dhcp snooping binding command.
show ip dhcp snooping binding [ip-address] [mac-address] [vlan vlan_num]
[interface interface_num]
Syntax Description
Defaults If no argument is specified, the switch will display the entire DHCP snooping binding table.
Command Modes Privileged EXEC mode
Usage Guidelines DHCP snooping is enabled on a VLAN only i f both the global snoopin g and the VLAN snooping are
enabled.
To configure a range of VLANs, use the optional last_vlan argument to specify the end of the VLAN
range.
Examples This example shows how to display the DHCP snoopi ng binding entries for a switch:
Switch# show ip dhcp snooping binding
MacAddress IP Address Lease (seconds) Type VLAN Interface
----------- ----------- ---------------- ------------- ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
Switch#
This example shows how to display an IP address fo r DHCP snooping bind ing entries:
Switch# show ip dhcp snooping binding 172.100.101.102
MacAddress IP Address Lease (seconds) Type VLAN Interface
----------- ----------- ---------------- ------------- ----- ------------
0000.0100.0201 172.100.101.102 1600 dhcp-snooping 100 FastEthernet3/1
Switch#
This example shows how to display the MAC address for the DHCP snooping binding entries:
Switch# show ip dhcp snooping binding 55.5.5.2 0002.b33f.3d5f
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
00:02:B3:3F:3D:5F 55.5.5.2 492 dhcp-snooping 99 FastEthernet6/36
Switch#
ip-address (Optional) IP address for the binding entries.
mac-address (Optional) MAC address for the binding entries.
vlan vlan_num (Optional) Specifies a VLAN.
interface interface_ num (Optional) Specifies an interface.