Chapter 18
Configuring DHCP Features
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 untrusted ports.
The table does not have information about hosts interconnected with a trusted port because each
interconnected switch has its own DHCP snooping binding table.
This example shows how to display the DHCP snooping binding entries for a switch.
Switch# show ip dhcp snooping binding
MacAddress
------------------
00:30:94:C2:EF:35
00:D0:B7:1B:35:DE
00:00:00:00:00:01
00:00:00:00:00:03
00:00:00:00:00:02
Table 18-2
Table 18-2 show ip dhcp snooping binding Command Output
Field
MAC Address
IP Address
Lease (seconds)
Type
VLAN
Interface
78-16156-01
IpAddress
---------------
41.0.0.51
41.0.0.52
40.0.0.46
42.0.0.33
41.0.0.53
describes the fields in the show ip dhcp snooping binding command output.
Description
Client hardware MAC address
Client IP address assigned from the DHCP server
IP address lease time
Binding type; dynamic binding learned by DHCP snooping or statically
configured binding
VLAN number of the client interface
Interface that connects to the DHCP client host
Lease(sec)
Type
VLAN
----------
-------
----
286
dynamic
41
237
dynamic
41
286
dynamic
40
286
dynamic
42
286
dynamic
41
Catalyst 3560 Switch Software Configuration Guide
Displaying DHCP Information
Interface
--------------------
gigabitethernet0/1
gigabitethernet0/1
gigabitethernet0/2
gigabitethernet0/2
gigabitethernet0/2
18-5