Search

1 to 10 of 141
Sort by

Blog Entry
Scripting How-To: Automation of peer AD’s single-homed satellite software upgrade

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 aggregated device setup


Blog Entry
Scripting How-To: Synchroniz​ing Configurations Across Devices in Different Data Centers

To ensure that updates to certain portions of the configuration on one router are mirrored on the other, use the share-data.slax script in Junoscriptorium: http://junoscriptorium.googlecode.com/svn/trunk/li​brary/juniper/op/network/share-data/share-data.xml #How-To #ScriptingHow-To #Slax


Blog Entry
Scripting How-To: Add descriptions and protocol filtering

This applies to SLAX version 1.0 and higher...Description This script adds descriptions and protocol filtering to the normal "show interfaces terse" command


Blog Entry
Scripting How-To: Display CPU usage information graphically

This applies to SLAX version 1.0 and higher...Set Up Copy the file cpu-usage-60.slax to /var/db/scripts/ops directory on the router


Blog Entry
Scripting How-To: Refresh scripts from a remote location using a JUNOSCRIPT client

> < junoscript version= "1.0" > 2 < request-script-refresh-from > 3 < type >commit/op/event</ type > 4 < file >file name</ file > 5 < url >url path</ url > 6 </ request-script-refresh-from > #ScriptingHow-To #junoscript #How-To


Blog Entry
Scripting How-To: Useset:difference() in SLAX to quickly figure out what's different

Overview How do you examine two sets of XML and figure out what's different? This applies to SLAX version 1.0 and higher. Feature Sometimes you need to be able to compare two node-sets and figure out if they're exactly the same, or if they're different, which items are different?


Blog Entry
Scripting How-To: Refresh the scripts from a remote location using a JUNOSCRIPT client

> <junoscript version="1.0"> 2 <request-script-refresh-from> 3 <type>commit/op/event</type> 4 <file>file name</file> 5 <url>url path</url> 6 </request-script-refresh-from> #How-To #junoscript #ScriptingHow-To


Blog Entry
Scripting How-To: Listing Firewall Filters

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> ( <firewall> ( <family> ( <inet>; ) ) ) ) var $config = jcs:invoke($get-filter); #How-To #firewallfilters #ScriptingHow-To


Blog Entry
Scripting How-To: Sending an SNMP Alert in Case of a Routing Process Failure in EX4500 Switches

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 log, and is not specific to routing process failure only.)