758
C
56: DHCP D
HAPTER
Examples
C
EBUGGING
OMMANDS
Table 141 Description on the fields of the debugging dhcp relay packet command
Field
Hardware type: HardwareType
Your IP address: YourIPAddress
DHCP message type:
DHCPmessagetype
Table 142 Description on the fields of the debugging dhcp relay event command
Field
interface
CHardAddr
Requesting security module(s) to
delete all entry-type security entries
succeeded.
Table 143 Description on the fields of the debugging dhcp relay error command
Field
Dealing with option 82 failed!
Option82: parameter error!
Decoding DHCP packet failed!
Discard a BOOTP request packet
because of too large hop count!
# 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
Server IP address: 0.0.0.0
Client hardware address: 00e0-fc14-1601
Server host name: Not Configured, Boot file name: Not Configured
Description
Hardware address type of the DHCP client. 1 refers to
Ethernet type.
IP address that the DHCP server assigns to the client
DHCP message type, which can be:
DHCP Discover
■
DHCP Offer
■
DHCP Request
■
DHCP Decline
■
DHCP ACK
■
DHCP NAK
■
DHCP Release
■
DHCP Inform
■
Description
Forwarding interface configured with DHCP relay
agent
Hardware address of the DHCP client
Succeeded in requesting the security module(s) to
delete all entry-type security entries. The entry-type can
be dynamic or static.
Description
Failed to process Option 82
Option number error of Option 82
Failed to parse the DHCP packet
The hop count of the DHCP message reaches the
maximum, and the message will be discarded.
Your IP address: 0.0.0.0
Relay agent IP address: 22.0.0.1