debugging dhcp-client

Function

The debugging dhcp-client command enables debugging of the DHCP client module.

The undo debugging dhcp-clientt command disables debugging of the DHCP client module.

By default, the debugging of the DHCP client module is disabled.

Format

debugging dhcp-client { all | packet | error | event | info }

undo debugging dhcp-client { all | packet | error | event | info }

Parameters

Parameter Description Value
all

Indicates error debugging, event debugging, and packet debugging.

-

packet

Indicates packet debugging.

-

error

Indicates error debugging.

-

event

Indicates event debugging.

-

info

Indicates information debugging.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dhcp debug

Usage Guidelines

Usage Scenario

To enable debugging for the DHCP client module, run the debugging dhcp client command. The command output contains the interaction process and messages between the DHCP client and server, facilitating fault diagnosis.

Prerequisites

Debugging has been enabled on the DHCP component.

Example

# Enable error debugging for the DHCP client module.
<HUAWEI> debugging dhcp-client error
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic