2-354
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
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------- ---- --------------------
00:30:94:C2:EF:35 41.0.0.51 285 dynamic 41 FastEthernet0/3
This example shows how to display the DHCP snooping binding entries for a specific MAC address:
Switch> show ip dhcp snooping binding 0030.94c2.ef35
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------- ---- --------------------
00:30:94:C2:EF:35 41.0.0.51 279 dynamic 41 FastEthernet0/3
This example shows how to display the DHCP snooping dynamic binding entries on a switch:
Switch> show ip dhcp snooping binding dynamic
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 296 dynamic 41 FastEthernet0/3
00:00:00:00:00:01 40.0.0.46 46 dynamic 40 FastEthernet0/8
00:00:00:00:00:03 42.0.0.33 46 dynamic 42 FastEthernet0/8
00:00:00:00:00:02 41.0.0.53 46 dynamic 41 FastEthernet0/8
This example shows how to display the DHCP snooping binding entries on an interface:
Switch> show ip dhcp snooping binding interface fastethernet0/3
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------- ---- --------------------
00:30:94:C2:EF:35 41.0.0.51 290 dynamic 41 FastEthernet0/3
00:D0:B7:1B:35:DE 41.0.0.52 270 dynamic 41 FastEthernet0/3
This example shows how to display the DHCP snooping binding entries on VLAN 41:
Switch> show ip dhcp snooping binding vlan 41
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------- ---- --------------------
00:30:94:C2:EF:35 41.0.0.51 274 dynamic 41 FastEthernet0/3
00:D0:B7:1B:35:DE 41.0.0.52 165 dynamic 41 FastEthernet0/3
00:00:00:00:00:02 41.0.0.53 65 dynamic 41 FastEthernet0/8
Table 2-27 describes the fields in the show ip dhcp snooping binding command output.
Related Commands
Table 2-27 show ip dhcp snooping binding Command Output
Field Description
MAC Address Client hardware MAC address
IP Address Client IP address assigned from the DHCP server
Lease (seconds) IP address lease time
Type Binding type
VLAN VLAN number of the client interface
Interface Interface that connects to the DHCP client host
Command Description
show ip dhcp snooping Displays the DHCP snooping configuration.