Junos Static Path Failover Using RPM Probes and Event-Options

Опубликовано: 10 Октябрь 2024
на канале: 5 Minute Junos
2,116
21

We've seen failover using dynamic routing protocols, but what if you've got a branch site with a static, local breakout to the Internet? Basic RPM probes allow you to monitor the reachability of a destination, but the IP-Monitor feature in Junos is only additive.

Translation: you can't pull a route, only insert a different one.

Enter Event-Options!

Event-Options allow you to configure actions based on syslog messages and attribute match criteria. In this example, we'll be looking at the syslog messages generated by RPM probes and matching attributes for success and failure. A match results in a policy action that deactivates the static default.

Event-Options are pretty cool. You can pretty much action off of any event log message and apply configuration or even run a local script!

As always, please leave any questions in the comments and thanks for watching.