Command Manual – Getting Started
H3C VG Series Voice Gateways
Chapter 1 Fundamental Configuration Commands
1-12
1.3 Ethernet Configuration Commands
1.3.1 debugging dhcp client
Syntax
debugging dhcp client
{
event
|
packet
|
error
|
all
}
undo debugging dhcp client
{
event
|
packet
|
error
|
all
}
View
Any view
Parameter
event
: Events of the DHCP client, including address allocation and data update.
packet
: DHCP packets received and sent by the DHCP client.
error
: Unrecognized packets or error information.
all
: Enables all the debugging for the DHCP client, including debugging for event,
packet and error.
Description
Use the
debugging dhcp client
command to enable debugging for the DHCP client.
Use the
undo debugging dhcp client
command to disable debugging output.
By default, all the debugging for the DHCP client is disabled.
Example
# Enable debugging for events of the DHCP client.
<VG> debugging dhcp client event
[VG-Ethernet1]ip address dhcp-alloc
[VG-Ethernet1]
User <lijian> execute command <ip add d>.
Ethernet1: FSM state transfer(HALT-->INIT) successfully.
Ethernet1: Send DHCPDISCOVER in 10 seconds.
Ethernet1: Send DHCPDISCOVER success.
Ethernet1: FSM state transfer(INIT-->SELECTING) successfully.
Ethernet1: Select 192.168.70.20 as the server.
Ethernet1: A invalid T2 option appear in DHCPOFFER, use the default value.
Ethernet1: Send DHCPREQUEST packet success.
Ethernet1: FSM state transfer(SELECTING-->REQUESTING) successfully.
Ethernet1: A invalid T2 option appear in DHCPACK, use the default value.
Ethernet1: Alloced ip(192.168.70.1) does not conflict with any other
interface,