760
C
56: DHCP D
HAPTER
debugging dhcp client
Syntax
View
Default Level
Parameters
Description
C
EBUGGING
OMMANDS
Hops: 0, Transaction ID: 2294688324
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
DHCP message type: DHCP Ack
*0.231063 Sysname DHCPR/7/DHCPR_DEBUG_RELAYPKT:
Pkt Sent: send reply interface Vlan-interface22, dest IP: 255.255.255.255,
CHardAddr: 00e0.fc14.1601, server-group: 0
// The DHCP relay agent received a DHCP-ACK message from the DHCP server, and
then broadcast it.
debugging dhcp client { all | error | event | packet }
undo debugging dhcp client { all | error | event | packet }
User view
1: Monitor level
all: All types of debugging for DHCP/BOOTP clients.
error: Error debugging or debugging for unknown packets of DHCP/BOOTP
clients.
event: DHCP/BOOTP client event debugging.
packet: DHCP/BOOTP client packet debugging.
Use the
debugging dhcp client
debugging.
Use the
undo debugging dhcp client
debugging.
By default, the DHCP/BOOTP client debugging is disabled.
Table 144 Description on the fields of the debugging dhcp client packet command
Field
InterfaceName: operation
Head :
op(operation-number)
yiaddr(YourIPAddress)
OptionsÔºö
Your IP address: 22.0.0.2
Relay agent IP address: 22.0.0.1
command to enable DHCP/BOOTP client
command to disable DHCP/BOOTP client
Description
Forwarding interface of the DHCP client
DHCP packet header
DHCP message type, where 1 refers to BOOTP
request, and 2 refers to BOOT reply.
IP address that the DHCP server assigns to the client
Options field of the DHCP message, displayed in the
original data format