HPE6-A85 · Question #2
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?
The correct answer is A. ip-route 10.2.10.0/24 172.16.1.1. 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…
Question
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?
Options
- Aip-route 10.2.10.0/24 172.16.1.1
- Bip route 10.2.10.0.255.255.255.0 172.16.1.1 description aruba
- Cip route 10.2.10.0/24.172.16.11
- Dip route-static 10.2.10.0 255.255.255.0 172.16.1.1
How the community answered
(35 responses)- A89% (31)
- B3% (1)
- C3% (1)
- D6% (2)
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.
Topics
Community Discussion
No community discussion yet for this question.