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.
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. |
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.