Q: 4
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
Discussion
A not B. The 'ip-route' with CIDR is what ArubaOS expects, while option B looks like Cisco syntax and adds extra with the description. C and D are wrong format for Aruba, pretty sure about A but someone correct if you've seen a different syntax.
Looks like B is the right format for most Cisco gear: ip route 10.2.10.0 255.255.255.0 172.16.1.1. I picked B since it includes the mask and next hop, but not sure if the 'description aruba' at the end should be there for Aruba devices.
I don't think it's B. A is correct here because Aruba uses the 'ip-route' command with CIDR, so 'ip-route 10.2.10.0/24 172.16.1.1'. B is more of a Cisco style and adds extra stuff that ArubaOS doesn't need for a static route, like the description bit. Pretty sure A matches what you'd see in Aruba docs, but open to corrections if anyone's seen different.
Be respectful. No spam.