Branch router R2 needs to reach host devices in the remote subnet . The next-hop router interface connected to R2 is assigned the IPv4 address . Which Cisco IOS command correctly defines this IPv4 static route?
- ip route 172.20.15.0 255.255.255.0 10.1.1.2Answer
- Bip route 172.20.15.0 0.0.0.255 10.1.1.2
- Cip route 10.1.1.2 255.255.255.0 172.20.15.0
- Dip route static 172.20.15.0 255.255.255.0 10.1.1.2
Answer
The correct command is 'ip route 172.20.15.0 255.255.255.0 10.1.1.2'.
The correct command adheres precisely to Cisco IOS syntax: 'ip route <destination-prefix> <subnet-mask> <next-hop-ip>'. For a destination network of reached via , the proper entry is 'ip route 172.20.15.0 255.255.255.0 10.1.1.2'.
Step-by-Step Solution
Key Concept
IPv4 Static Route Syntax