display dhcp relay
Function
The display dhcp relay command displays configuration information about a DHCP relay agent.
Parameters
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.
|
- |
Usage Guidelines
You can run this command to check configuration information about DHCP relay agents configured globally and on interfaces.
Example
# Display configuration information about DHCP relay agents on all interfaces.
<AC6605> 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 Vlanif5 : Server group name : group1 Gateway address in use : 10.100.100.1 Proxy mode: 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 Proxy mode: enable
Item |
Description |
---|---|
DHCP relay global running information |
Configuration information about DHCP relay agents configured globally. |
DHCP relay adrress 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 (DHCP server group view) command. |
Proxy mode |
Status of the proxy mode on the DHCP relay agent, which can be:
To specify the parameter, run the dhcp select relay proxy-mode command. |