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...
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...
To track the failure or success of a SLAX script, you typically look through several blocks of XML. If a certain value exists in one of more of the blocks, run a "success" block of code; otherwise, run a "failure" block of code. This would be trivial if the SLAX script had variables that you...
Question What are AI-Scripts? Answer AI-Scripts are specialized operational and event scripts from Juniper Networks that detect events and provide information for analysis, to periodically collect intelligence information, and to package all incident and intelligence event data into a...
Overview To retrieve the interface-flapped time in seconds instead of in days and hours from a SLAX script Discussion The interface-flapped time from the show interfaces command in Junos OS indicates the last time the interface went down and came back up. This information is...
Question Which scripting language should you use for writing Junos automation scripts: SLAX or XSLT? Answer You could use both. However, the SLAX syntax is signficantly easier to develop scripts with. When Junos processes SLAX, it converts it first to XSLT. It is possible, and sometimes...
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...