HPE6-A85 practice question 5 of 25
What is the correct command to add a static route to a class-c-network 10.2.10.0 via a gateway of 172.16.1.1?
Full set: 102 questionsDomain Configure, validate, and troubleshoot ArubaOS-CX switches
The correct command syntax for adding an IPv4 static route on a switch running ArubaOS-CX is ip route / . Option A correctly uses the Class C network 10.2.10.0 with its corresponding CIDR prefix /24 and specifies the next-hop gateway 172.16.1.1. Although the command is shown as ip-route with a hyphen, which is a syntactical deviation from the official ip route command, it is the most plausible option. The other choices contain more significant and fundamental errors in their syntax, making them definitively incorrect.
B: The network address and subnet mask (10.2.10.0.255.255.255.0) are incorrectly concatenated into a single parameter. They must be specified separately. C: The destination prefix and the next-hop gateway address are incorrectly joined together. They must be separate arguments in the command. D: The command keyword ip route-static is incorrect for this configuration context, and the destination network address (10.2 10.0) is malformed.
1. ArubaOS-CX 10.12 IP Routing Guide, Page 41, "Configuring a static IPv4 route". This official guide provides the exact command syntax: ip route / . It includes an example, switch(config)# ip route 192.168.2.0/24 192.168.1.2, which validates the structure of the destination prefix and gateway used in option A.
2. ArubaOS-CX 10.12 Fundamentals Guide, Page 289, "Static route". The guide states, "A static route is a manually configured route." The subsequent configuration examples for routing consistently use the ip route command, confirming that ip-route or ip route-static are not the correct commands for adding a static route in the global configuration context.
Keep practicing
Take the free HPE6-A85 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other HPE6-A85 practice questions
- Question 1What is the ideal mounting position for a typical Aruba indoor AP?
- Question 2Which authentication does Aruba's Captive Portal use?
- Question 3When using the OSPF dynamic routing protocol on an Aruba CX switch, what must match on th…
- Question 4You are in a meeting with a customer where you are asked to explain the network redundanc…
- Question 7What does a slow amber-flashing Stack-LED indicate?
- Question 8What can be done to dynamically set the PoE Priority on a switch port when deploying IP c…
