20-8
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter20 Configuring DHCP Features
Displaying DHCP Information
Displaying DHCP Information
You can display a DHCP snooping binding table and configuration information for all interfaces on a
switch.

Displaying a Binding Table

The DHCP snooping binding table for each switch has binding entries that correspond to untrust ed ports.
The table does not have information about hosts interconnected with a trusted port.
Use the show ip dhcp snooping binding privileged EXEC command to display only the dynamically
configured bindings in the DHCP snooping binding database. If DH CP snoo pi ng i s e nabl ed a nd an
interface changes to the down state, the switch does not delete the manually configured bindings.
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/9
00:00:00:00:00:03 42.0.0.33 286 dynamic 42 FastEthernet0/9
00:00:00:00:00:02 41.0.0.53 286 dynamic 41 FastEthernet0/9
Table20-2 describes the fields in the show ip dhcp snooping binding command output.

Displaying the DHCP Snooping Configuration

This example shows how to display the DHCP snooping configuration for a switch.
Switch# show ip dhcp snooping
Switch DHCP snooping is enabled
DHCP snooping is configured on following VLANs:
40-42
Insertion of option 82 is enabled
Interface Trusted Rate limit (pps)
------------------------ ------- ----------------
FastEthernet0/5 yes unlimited
FastEthernet0/7 yes unlimited
FastEthernet0/3 no 5000
FastEthernet0/5 yes unlimited
FastEthernet0/7 yes unlimited
FastEthernet0/5 yes unlimited
Table20-2 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