Command Reference Guide

3Com Router 5000 Family and Router 6000 Family debugging dhcp server 43
Command Reference
debugging dhcp server
Purpose Use the debugging dhcp server command to enable debugging on the DHCP
server.
Use the undo debugging dhcp server command to disable debugging.
Syntax debugging dhcp server { all | error | events | packets }
undo debugging dhcp server { all | error | events | packets }
Parameters all
All debugging functions of DHCP server.
error
Error debugging on the DHCP server, specifically, the
debugging on the errors that occur when the DHCP
server processes DHCP packets or allocates addresses.
events
Event debugging on the DHCP server, specifically, the
debugging on the events such as address allocation,
ping detection timeout, etc.
packet
DHCP packet debugging, specifically, the debugging
on the packets that the DHCP server has received and
sent and on the ping packets sent for the purpose of
detection and the received response packets.
Default By default, debugging is disabled on the DHCP server.
Example Enable event debugging on the DHCP server.
<3Com> debugging dhcp server events
*0.62496500-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: ICMP Timeout
*0.62496583-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: Still Need to ICMP detect for 1 times
*0.62497000-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: ICMP Timeout
*0.62497083-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: All Try finished
*0.62497166-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: Ack User’s Lease
Enable packet debugging on the DHCP server.
<3Com> debugging dhcp server packet
*0.62080906-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: receive DHCPRELEASE from 00.05.5D.85.D5.45.
*0.62081016-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: Release Lease for MAC 00.05.5D.85.D5.45. IP is 5.5.5.2
*0.62082240-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: receive DHCPDISCOVER from 00.05.5D.85.D5.45.
*0.62082350-DHCP SER-8-DHCPS_DEBUG_COMMON:
DhcpServer: Sending ICMP ECHO to Target IP: 5.5.5.2