debugging dhcp relay

Function

The debugging dhcp relay command enables the debugging flag of DHCP relay module.

The undo debugging dhcp relay command disables the debugging flag of DHCP relay module.

By default, the debugging of dhcp relay module is disabled.

Format

debugging dhcp relay { all | error | event | packet | info } [ client mac mac-address ]

undo debugging dhcp relay { all | error | event | packet | info }

Parameters

Parameter Description Value
all

Enables or disables debugging of all DHCP relay functions.

-

error

Indicates that the debugging includes DHCP internal error information only.

-

event

Indicates that the debugging includes event information only.

-

packet

Indicates that the debugging includes packet only.

-

info

Indicates that the debugging includes info only.

-

client mac mac-address

Indicates that the packet debugging includes client mac address.

The value is in the H-H-H format.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
dhcp debug

Usage Guidelines

Usage Scenario

When a DHCP relay module becomes faulty, the network administrator cannot perform local management using DHCP relay to start, modify, or delete configuration on the remote device. You can run this command to start the debugging information on the DHCP relay module and rapidly locate faults based on the obtained information.

Example

# Enable all DHCP relay module debugging.
<HUAWEI> debugging dhcp relay all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >