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

Making configuration changes

In this recipe, we'll create a new SLAX-based op script, config-interface.slax, and use it as a provisioning frontend command intended to assist an operator in network service provisioning on Ethernet interfaces.

We'll assume an environment similar to the following diagram: an ISP router providing an IP-layer service and connected to several Ethernet-layer access providers on different interfaces. As a service request comes in to the provisioning center, an operator is required to enter some configuration on the JUNOS router to provide the service. This typically involves allocating some resources such as IP addresses and VLAN identifiers and applying them to a provisioning template configuration.

To automate ...

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