DHCP Debugging Commands
To help debug the operation of your Security Appliance DHCP server and Security Appliance
DHCP client, you can use the following two commands:
debug dhcpd {event | packet}
debug dhcpc {detail | error | packet}
The debug dhcpd command displays information associated with the DHCP server running
on the Security Appliance. The event keyword displays information about the events related
to the DHCP server, and the packet keyword displays information about the packets received
for the DHCP server.
The debug dhcpc command displays information about the Security Appliance DHCP client
running on the Security Appliance. The packet keyword specifies information about the
packets received for the DHCP client. The detail keyword provides detailed information on
the packets received by the DHCP client. The error keyword enables you to view information
on the error messages associated with the DHCP client running on the Security Appliance.
NOTE The dhcpd auto-config command also enables the Security Appliance to pass
information learned from its PPPoE interface to its DHCP clients.
446 Chapter 14: Configuring Access VPNs
To show or clear the IP address bindings that the PIX DHCP server has issued, you use the
following two commands:
show dhcpd [binding | statistics]
clear dhcpd [binding | statistics]
Both of these commands accept the same two keywords. The binding keyword causes the
command to operate only on the DHCP leases (binding of an IP address to a specific Layer
2 Ethernet address). The statistics keyword operates on the statistics that are tracked on the
DHCP server. The following information illustrates the output from the show dhcpd
commands:
pix515a# show dhcpd
dhcpd address 10.10.10.129-10.10.10.254 inside
dhcpd lease 84400
dhcpd ping timeout 750
dhcpd dns 10.200.10.32 10.100.20.40
dhcpd enable inside
pix515a# show dhcpd statistics
Address pools 1
Automatic bindings 1
Expired bindings 1
Malformed messages 0
Message Received
BOOTREQUEST 0
DHCPDISCOVER 1
DHCPREQUEST 2
DHCPDECLINE 0
DHCPRELEASE 0
DHCPINFORM 0
Message Sent
BOOTREPLY 0
DHCPOFFER 1
DHCPACK 1
DHCPNAK 0
pix515a(config)# show dhcpd bindings
IP address Hardware address Lease expiration Type
10.10.10.129 00A0.CC5C.8163 46500 seconds automatic
10.10.10.130 00E0.B605.43B2 32503 seconds automatic
pix515a#