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

Getting ready

In order to complete this recipe, you'll need access to a JUNOS router upon which you can influence the network interfaces, so that you can easily simulate network down and up events. If you're working in a virtualized environment with vRR, Olive, or vMX, you can likely achieve the same effects through the hypervisor control application. Worst case, if you can't create network down and up events for your interfaces, you can cheat and simulate events using logger. See the recipe on Debugging event scripts for the low-down on this technique.

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