Friday, April 20, 2018

Changing IP Static Routes based on IP SLA - Cisco Nexus

Morning, Everyone - Looking to get some input on a project I'm working on and potential solutions.

Long story short, I'm trying to change a static route on a Nexus between two firewalls (10.10.10.1) and (10.10.10.2) if the internet becomes unreachable on one of them.

Trying to determine the best way to alter static routes in the following way ( writing in Pseudo-Code for simplicity)

If (Internet is reachable via 10.10.10.1) IP Route 0.0.0.0/0 10.10.10.1 Else IP Route 0.0.0.0/0 10.10.10.2 

Currently no routing protocols are in place (OSPF or otherwise), and hoping to not implement one if I don't have to. Any ideas on this?

I'm considering using EEM to do this, but didn't know if there was an easier way?

Cheers, mates!



No comments:

Post a Comment