3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
758 CHAPTER 56: DHCP DEBUGGING COMMANDS
Examples # The DHCP client obtains IP address from the DHCP server via a DHCP relay
agent. Enable all types of debugging for the DHCP relay agent.
<Sysname> terminal debugging
<Sysname> debugging dhcp relay all
<Sysname>
*0.230094 Sysname DHCPR/7/DHCPR_DEBUG_EVENT:
Begin to deal with DHCP Discover packet.
*0.230094 Sysname DHCPR/7/DHCPR_DEBUG_PKTRXTX:
Rx, DHCP request packet, interface Vlan-interface2.
*0.230094 Sysname DHCPR/7/DHCPR_DEBUG_PACKET:
From client to server(Server-group 0):
Message type: request
Hardware type: 1, Hardware address length: 6
Hops: 1, Transaction ID: 4281385283
Seconds: 0, Broadcast flag: 1
Client IP address: 0.0.0.0 Your IP address: 0.0.0.0
Server IP address: 0.0.0.0 Relay agent IP address: 22.0.0.1
Client hardware address: 00e0-fc14-1601
Server host name: Not Configured, Boot file name: Not Configured
Hardware type: HardwareType Hardware address type of the DHCP client. 1 refers to
Ethernet type.
Your IP address: YourIPAddress IP address that the DHCP server assigns to the client
DHCP message type:
DHCPmessagetype
DHCP message type, which can be:
DHCP Discover
DHCP Offer
DHCP Request
DHCP Decline
DHCP ACK
DHCP NAK
DHCP Release
DHCP Inform
Table 142 Description on the fields of the debugging dhcp relay event command
Field Description
interface Forwarding interface configured with DHCP relay
agent
CHardAddr Hardware address of the DHCP client
Requesting security module(s) to
delete all entry-type security entries
succeeded.
Succeeded in requesting the security module(s) to
delete all entry-type security entries. The entry-type can
be dynamic or static.
Table 143 Description on the fields of the debugging dhcp relay error command
Field Description
Dealing with option 82 failed! Failed to process Option 82
Option82: parameter error! Option number error of Option 82
Decoding DHCP packet failed! Failed to parse the DHCP packet
Discard a BOOTP request packet
because of too large hop count!
The hop count of the DHCP message reaches the
maximum, and the message will be discarded.
Table 141 Description on the fields of the debugging dhcp relay packet command
Field Description