The dhcp relay client-info command allows a DHCP relay agent to record specified DHCP packets.
The undo dhcp relay client-info command restores the default configuration.
By default, a DHCP relay agent does not record any DHCP packet.
Parameter | Description | Value |
---|---|---|
sub-option sub-option-code |
Specifies the sib-option code of the DHCP packets to be recorded by a DHCP relay agent. |
The value is an integer ranging from 1 to 255. |
option option-code |
Specifies the option code of the DHCP packets to be recorded by a DHCP relay agent. |
The value is an integer ranging from 1 to 255. |
Usage Scenario
To locate the fault that a DHCP client fails to correctly obtain an IP address, run the dhcp relay client-info command to configure a DHCP relay agent to record specified DHCP packets. After that, the DHCP relay agent records the information exchanged between the DHCP client and server based on the specified option code and sub-option code in DHCP packets.
Configuration Impact