display dhcp relay client-info option configuration

Function

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.

Format

display dhcp relay client-info option configuration

Parameters

None

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
dhcp read

Usage Guidelines

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the option code or sub-option code based on which a DHCP relay agent records DHCP packets.
<HUAWEI> display dhcp relay client-info option configuration
DHCP relay client-info option: enable
Option: 55
Sub-option: 1
Table 1 Description of the display dhcp relay client-info option configuration command output
Item Description
DHCP relay client-info option

Whether the option code and sub-option code co-exist in a DHCP packet.

  • enable: The option code and sub-option code of the DHCP packet to be recorded by the DHCP relay agent have been configured.
  • disable: Neither the option code nor the sub-option code of the DHCP packet to be recorded by the DHCP relay agent has been configured.
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 "-".

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >