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.
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 safe-name Is it possible to replicate the same rename action through a script (to change the zone name without disturbing the contents)? Answer If using NETCONF with PERL, use the EZXML module that allows you to create XML to send to the Juniper Networks device easily
Ensure Proper Ownership and Permissions on File Creation in SLAX From time to time you might find a situation where your SLAX script needs to write data to a file for some later processing or review
This is how the jcs:emit-change template builds its change configuration hierarchies...Well, return to the jcs:emit-change example and assume that you want to make a change within a security policy
Junos Space Network Management Platform Configlets and Scripts Configlets Configlets are configuration tools provided by the Junos Space Network Management Platform that enable: Toggling an Item in the Junos OS Configuration Add Lag Member Configlet Enabling or Disabling Physical Interfaces Local Scripts Local Scripts (from Junos Space Release 13.1 and later) are provided by the Junos Space image and integrated with Junos OS: Displaying Script Results How to open an SSH session from within a SLAX script Using Local Scripts with an External Data Set A local script to view, install or delete license keys on devices Local Script to Find Open Ports Across Multiple Devices Scripting How-To Articles Toggling an Item in the Junos OS Configuration A simple configlet that allows you to toggle the Junos OS configuration, for example, activate a deactivated knob or vice versa
Junos Automation How do I determine what code to automate? How can I use custom templates or functions in my automation?...SLAX and Automation How can I set up my script to deal with errors?