Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Automation of dual-AD software upgrade In a typical dual-aggregated Junos Fusion system software upgrade, a user needs to copy images to both aggregated devices and execute the software upgrade command. Consider a situation where each aggregated device has dual routing engines, and the...
The Junos Fusion system allows you to configure a satellite as: single homed e.g. satellite having cascading link(s) to only one of the aggregation devices in a dual aggregated device setup or dual homed e.g. satellite having cascading link(s) to both the aggregation devices in a dual...
Question What is the equivalent script of the following CLI command that lists destination addresses for firewall filters: show firewall family inet Answer var $get-filter = <get-configuration database = "committed"> ( <configuration> ( ...
Question The problem with using a restricted keyword for security zones can be manually fixed by issuing the following command in configuration mode and subsequently changing all the references to the keyword: rename security zones security-zone restricted-keyword to security-zone ...
Using Python Scripts to Automate Junos You can use Python scripts to automate Junos. Click demo scripts to access the repository in GitHub. The script repository contains three sections or phases: Build phase - provides offline configuration by using a template and YAML to...
1 Comment - no search term matches found in comments.
In a scenario with two M Series routers in different data centers, very large portions of the configuration on the routers must be identical (for example, the entire configuration at the [edit services] hierarchy level). To ensure that updates to certain portions of the configuration on...
You could craft a template that makes a best-effort conversion from a Junos XML configuration to a Junos OS CLI configuration as shown in the following example: From: <protocols> <bgp> <group> <name>23</name> <import>policy1<...
In Juniper Networks EX4500 switches, you can configure an event policy action that triggers SNMP traps. It is possible to send an SNMP trap when a routing process fails if routing process failure is a listed event in the system log. (Note that this is possible for any listed event in the system...
Overview This topic describes how to commit Op scripts in private mode. Example Configuration This example shows how you commit an Op script in a private configuration session. var $connection = jcs:open(); var $edit-private = <open-configuration> ( <private>; ) ...
This applies to SLAX version 1.0 and higher. Overview Change the route metric for an OSPF interface. Description The first simple event script modifies the OSPF metric based on a single time-event, as a simple introduction on how to use an event script type. The...