Show answerHide answer
Correct answer: A ip-route 10.2.10.0/24 172.16.1.1
Explanation
Summary:Adding a static route on an ArubaOS-CX switch requires using the correct command syntax within configuration mode. The command must specify the destination network, the prefix length (subnet mask), and the next-hop gateway address. The syntax is precise, and common mistakes include using the wrong keyword, an incorrect subnet mask format, or a typo in the IP addresses.
Correct Option:
A. ip-route 10.2.10.0/24 172.16.1.1:
This command is syntactically correct for ArubaOS-CX.
ip-route is the correct command keyword.
10.2.10.0/24 correctly defines the Class C destination network using CIDR notation for the subnet mask (/24 = 255.255.255.0).
172.16.1.1 correctly specifies the next-hop gateway address.
Incorrect Option:
B. ip route 10.2.10.0.255.255.255.0 172.16.1.1 description aruba:
This command has multiple errors. The keyword is ip-route, not ip route. The subnet mask is incorrectly formatted with a dot instead of a space or slash (it should be 10.2.10.0 255.255.255.0 or /24). While adding a description is possible, the core syntax is wrong.
C. ip route 10.2.10.0/24.172.16.11:
This command is incorrect. The keyword is ip-route, not ip route. Furthermore, there is a critical typo; the gateway is missing a dot and is incorrect (172.16.11 instead of 172.16.1.1). The lack of a space between the prefix and the gateway also makes this invalid.
D. ip route-static 10.2 10.0.255.255.255.0 172.16.1.1:
This command uses an incorrect keyword (ip route-static is not the standard command). The destination network is also broken incorrectly (10.2 10.0) and the subnet mask format is invalid.
Reference:
Aruba Official Website/Documentation: The ArubaOS-CX 10.10 IPv4 Routing Guide provides the exact command syntax. It states that the command to configure an IPv4 static route is ip-route