In order to add a static route in Cisco ACI, you will need to use the following command:
For example, to add a static route for the 10.0.0.0/8 network with a next-hop gateway of 10.1.1.1 and an administrative distance of 1, you would use the following command:
ip route 10.0.0.0 255.0.0.0 10.1.1.1 1 1
If you wanted to add a static route for the 172.16.0.0/16 network with a next-hop gateway of 10.1.1.1 and an administrative distance of 1, you would use the following command:
ip route 172.16.0.0 255.255.0.0 10.1.1.1 1 1
The above two commands will add static routes for the 10.0.0.0/8 and 172.16.0.0/16 networks with a next-hop gateway of 10.1.1.1 and an administrative distance of 1.
You can also add static routes for specific hosts. For example, to add a static route for the host 10.1.1.100 with a next-hop gateway of 10.1.1.1 and an administrative distance of 1, you would use the following command:
ip route 10.1.1.100 255.255.255.255 10.1.1.1 1 1
The above command will add a static route for the host 10.1.1.100 with a next-hop gateway of 10.1.1.1 and an administrative distance of 1.
Related content
Cisco Aci Integration With Cisco Ave
Read about Cisco aci integration with cisco ave and learn more!
Cisco Aci Default Route
Read about Cisco aci default route and learn more!
Cisco Aci Interview Questions
Read about Cisco aci interview questions and learn more!
Cisco Aci Youtube Channel
Read about Cisco aci youtube channel and learn more!