The display dhcp relay command displays configuration information about a DHCP relay agent.
Parameter |
Description |
Value |
---|---|---|
configuration |
Displays configuration information about DHCP relay agents configured globally and on all interfaces. |
- |
all |
Displays configuration information about DHCP relay agents configured on all interfaces. |
- |
interface interface-type interface-number |
Displays configuration information about a DHCP relay agent configured on a specified interface.
|
- |
You can run this command to check configuration information about DHCP relay agents configured globally and on interfaces.
# Display configuration information about DHCP relay agents on all interfaces.
<HUAWEI> display dhcp relay configuration DHCP relay global running information : DHCP relay adrress cycle : Disable (default) DHCP relay trust option82 : Enable (default) DHCP relay request server-match : Enable (default) DHCP relay reply forward all : Disable (default) DHCP relay agent running information of interface Vbdif100 : Server IP address [00] : 10.1.1.1 Gateway address in use : 10.10.1.10 Anycast gateway re-route: disable GIADDR source interface : LoopBack1 Link-selection insert : enable DHCP relay agent running information of interface Vlanif5 : Server group name : group1 Gateway address in use : 10.100.100.1 Gateway switch : enable DHCP relay agent running information of interface Vlanif100 : Server IP address [00] : 10.2.2.3 Gateway address in use : 10.2.2.2
Item |
Description |
---|---|
DHCP relay global running information |
Configuration information about DHCP relay agents configured globally. |
DHCP relay address cycle |
Whether the DHCP server polling function is enabled on a DHCP relay agent.
To configure this item, run the ip relay address cycle command. |
DHCP relay trust option82 |
Whether Option 82 is enabled on a DHCP relay agent.
To configure this item, run the dhcp relay trust option82 command. |
DHCP relay request server-match |
Whether a DHCP relay agent is enabled to check the DHCP server identifier (Option54) in a DHCP Request message to be forwarded.
To configure this item, run the dhcp relay request server-match enable command. |
DHCP relay reply forward all |
Whether a DHCP relay agent is enabled to forward all DHCP ACK messages.
To configure this item, run the dhcp relay reply forward all enable command. |
DHCP relay agent running information of interface if |
DHCP relay agent configuration of the if interface. |
Server group name |
Group name of the DHCP Server. To specify the parameter, run the dhcp relay server-select command. |
Server IP address [x] |
IP address of a DHCP server in the DHCP server group. The value x is the index of a DHCP server. To specify the parameter, run the dhcp-server command. |
Gateway address in use |
IP address of the DHCP gateway. To specify the parameter, run the gateway command. |
Anycast gateway re-route |
Whether the re-routing function for the DHCP relay agent is enabled. The value can be:
To configure this item, run the dhcp relay anycast gateway re-route enable command. |
GIADDR source interface |
Source interface of DHCP relayed packets. To configure this item, run the dhcp relay giaddr source-interface command. |
Link-selection insert |
Whether the function of inserting the Link-selection suboption of the Option82 field into DHCP packets is enabled. The value can be:
To configure this item, run the dhcp relay information link-selection insert enable command. |
Gateway switch |
Whether automatic gateway switchover is enabled on a DHCP relay agent. The value can be:
To configure this item, run the dhcp relay gateway-switch enable command. |