The display dhcp relay client-info option configuration command displays the option code or sub-option code based on which a DHCP relay agent records DHCP packets.
Usage Scenario
If a DHCP client cannot obtain an IP address properly, run the dhcp relay client-info command on the DHCP relay agent so 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.
To view the option code or sub-option code based on which a DHCP relay agent records DHCP packets, run the display dhcp relay client-info option configuration command.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display dhcp relay client-info option configuration
DHCP relay client-info option: enable
Option: 55
Sub-option: 1
Item | Description |
---|---|
DHCP relay client-info option | Whether the option code and sub-option code co-exist in a DHCP packet.
|
Option | Option code of a DHCP packet. This field is null if the dhcp relay client-info command has not been run. |
Sub-option | Sub-option code of a DHCP packet. This field is null if the dhcp relay client-info command has not been run. If the sub-option sub-option-code parameter has not been specified in the dhcp relay client-info command, this field is displayed as "-". |