O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dealing with a flapping interface

In this recipe, we'll be building upon the code that we developed in the previous recipe in order to deal with a situation where we have a flapping interface causing problems in the network.

Often, when an interface goes down, several computational efforts get underway to recalculate alternate routing options, whether the interface is an internal or external link. When an interface flaps, that is, goes up and down repeatedly, this route recalculation burden can be excessive and can cause further complications and threats to network stability.

We'll introduce some automation that can take an action that is similar to what a human would do when faced with the same situation. In this case, we'll catch the situation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required