beautypg.com

Debugging dhcp client operation – Dell PowerEdge FX2/FX2s User Manual

Page 61

background image

Dell Networking OS Behavior: DHCP is implemented in Dell Networking OS based on RFC 2131 and
3046.

Debugging DHCP Client Operation

To enable debug messages for DHCP client operation, enter the following debug commands:

• Enable the display of log messages for all DHCP packets sent and received on DHCP client interfaces.

EXEC Privilege

[no] debug ip dhcp client packets [interface type slot/port]

• Enable the display of log messages for the following events on DHCP client interfaces: IP address

acquisition, IP address release, Renewal of IP address and lease time, and Release of an IP address.
EXEC Privilege

[no] debug ip dhcp client events [interface type slot/port]

The following example shows the packet- and event-level debug messages displayed for the packet
transmissions and state transitions on a DHCP client interface.
DHCP Client: Debug Messages Logged during DHCP Client Enabling/Disabling

Dell (conf-if-Ma-0/0)# ip address dhcp

1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_EVT: Interface

Ma 0/0 :DHCP ENABLE

CMD

Received in state START

1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_EVT: Interface

Ma 0/0 :Transitioned

to state SELECTING

1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_PKT: DHCP

DISCOVER sent in

Interface

Ma 0/0

1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_PKT: Received

DHCPOFFER packet in

Interface Ma 0/0 with Lease-ip:10.16.134.250, Mask:255.255.0.0,Server-Id:

10.16.134.249

1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_EVT: Interface

Ma 0/0 :Transitioned

to state REQUESTING

1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_PKT:DHCP REQUEST

sent in Interface

Ma 0/0

1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_PKT:Received

DHCPACK packet in

Interface

Ma 0/0 with Lease-IP:10.16.134.250, Mask:255.255.0.0,DHCP REQUEST sent in

Interface Ma 0/0

1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG: DHCLIENT_DBG_EVT: Interface

Ma 0/0 :Transitioned

to state BOUND

Dell(conf-if-ma-0/0)# no ip address

Dell(conf-if-ma-0/0)#1w2d23h: %STKUNIT0-M:CP %DHCLIENT-5-DHCLIENT-LOG:

DHCLIENT_DBG_EVT: Interface

Ma 0/0 :DHCP DISABLE CMD Received in state SELECTING

Dynamic Host Configuration Protocol (DHCP)

61