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.
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
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/library/juniper/op/network/share-data/share-data.xml #How-To #ScriptingHow-To #Slax
This applies to SLAX version 1.0 and higher...Description This script adds descriptions and protocol filtering to the normal "show interfaces terse" command
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
> < 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
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?
> <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
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
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.)
This applies to SLAX version 1.0 and higher