ExamGecko
Question list
Search
Search

List of questions

Search

Question 17 - HPE6-A85 discussion

Report
Export

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?

A.
ip-route 10.2.10.0/24 172.16.1.1
Answers
A.
ip-route 10.2.10.0/24 172.16.1.1
B.
ip route 10.2.10.0.255.255.255.0 172.16.1.1 description aruba
Answers
B.
ip route 10.2.10.0.255.255.255.0 172.16.1.1 description aruba
C.
ip route 10.2.10.0/24.172.16.11
Answers
C.
ip route 10.2.10.0/24.172.16.11
D.
ip route-static 10.2 10.0.255.255.255.0 172.16.1.1
Answers
D.
ip route-static 10.2 10.0.255.255.255.0 172.16.1.1
Suggested answer: A

Explanation:

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 is ip-route 10.2.10.0/24 172.16.1.1 . This command specifies the destination network address (10.2.10.0) and prefix length (/24) and the next-hop address (172.16.1 .1) for reaching that network from the switch. The other commands are either incorrect syntax or incorrect parameters for adding a static route.

Reference: https://www.arubanetworks.com/techdocs/AOS-CX_10_04/NOSCG/Content/cx-noscg/ip-routing/static-routes.htm

To add a static route in network devices, including Aruba switches, the correct command format generally includes the destination network, subnet mask (or CIDR notation for the mask), and the next-hop IP address. The command 'ip route 10.2.10.0/24 172.16.1.1' correctly specifies the destination network '10.2.10.0' with a class C subnet mask indicated by '/24', and '172.16.1.1' as the next-hop IP address. This command is succinct and follows the standard syntax for adding a static route in many network operating systems, including ArubaOS-CX. The other options either have incorrect syntax or include additional unnecessary parameters that are not typically part of the standard command to add a static route.

asked 16/09/2024
Keletso Rafedile
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first