HPE7-A08 practice question 8 of 35

Which CLI command displays the status of all DHCP relay configurations?

Full set: 342 questions
Answer options
A: show ip helper-address
B: show dhcp relay Correct answer
C: display dhcp relay status
D: show dhcp forwarding
Correct Answer:
B. show dhcp relay
Explanation

The show dhcp-relay command is the correct command used in the ArubaOS-CX command-line interface (CLI) to display the comprehensive status of the DHCP relay agent. This command provides information about the global DHCP relay configuration, including whether the feature is enabled, the VLANs or interfaces on which it is active, and the configured helper IP addresses. It is the primary command for verifying the operational state and configuration of the DHCP relay service across the entire device. The question uses a space (dhcp relay) which is functionally equivalent to the hyphenated form (dhcp-relay) found in the documentation.

Why Incorrect

A. show ip helper-address is not the correct command syntax in ArubaOS-CX to view the overall DHCP relay status; this syntax is more common in other vendor CLIs like Cisco IOS.
C. The display command is used in the HPE Comware CLI. The ArubaOS-CX CLI, relevant to the HPE7-A08 exam, uses the show command for displaying configuration and status.
D. show dhcp forwarding is not a valid command in ArubaOS-CX for displaying information about the DHCP relay agent. The correct term is "relay," not "forwarding." ---

References

1. ArubaOS-CX 10.12 CLI Reference Guide, Page 1229. The guide documents the show dhcp-relay command. The description states: "Shows DHCP relay information." The command output example clearly displays the global status, enabled VLANs, and configured helper addresses, confirming it shows the status of all configurations.

2. ArubaOS-CX 10.10 Fundamentals Guide, Page 238. In the "Verifying DHCP relay" section, the guide explicitly states to use the show dhcp-relay command to verify the DHCP relay configuration. The sample output shows the "DHCP Relay Agent" status as "Enabled," along with the list of "Enabled Vlans" and "Helper Addresses."

Scroll to Top