HPE7-A08 practice question 32 of 35
Which CLI command removes a misconfigured default gateway from an Aruba CX switch?
Full set: 342 questionsIn the ArubaOS-CX command-line interface (CLI), the no prefix is used to negate or remove a previously configured command from the running configuration. The command to set the default gateway for management traffic (when IP routing is disabled) is ip default-gateway . Therefore, to remove a misconfigured default gateway, the corresponding command is no ip default-gateway. This command removes the static default gateway entry from the switch's configuration.
B. delete default route: The delete keyword is not the standard syntax for removing configuration statements in ArubaOS-CX; the no keyword is used instead.
C. unset gateway: The unset keyword is not a valid command in the ArubaOS-CX CLI for removing gateway configurations.
D. clear ip route default: The clear command is an operational command used to remove dynamic entries from tables (like the routing table), not to remove static lines from the running configuration.
1. HPE ArubaOS-CX 10.12 Fundamentals Guide, Page 139, "Configuring the default gateway" section. The guide states, "The ip default-gateway command configures the default gateway... To remove the default gateway, use the no form of this command."
2. HPE ArubaOS-CX 10.12 Command-Line Interface Guide, Page 1819, under the ip default-gateway command description. The syntax is shown as ip default-gateway and its negation as no ip default-gateway.
Keep practicing
Take the free HPE7-A08 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other HPE7-A08 practice questions
- Question 1Which CLI command configures a trust boundary for incoming traffic based on DSCP values?
- Question 2Which CLI command enables LACP on a port for link aggregation?
- Question 3Which Aruba Central feature enables firmware updates across multiple CX switches simultan…
- Question 4Which two features in Aruba CX switches help in network segmentation and security enforce…
- Question 5Which Aruba CX campus switch series is optimized for high-density Layer 3 routing and sta…
- Question 6Which CLI command assigns an interface to a VRF on an Aruba CX switch?
