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.
Using Python Scripts to Automate Junos You can use Python scripts to automate Junos. Click demo scripts to access the repository in GitHub...Run phase - provides the latest script for demo purposes
1 Comment - no search term matches found in comments.
Question What do AI-Scripts do? Answer AI-Scripts: React to specific incident events that occur on devices and provide relevant information about the problems for analysis Periodically collect data on events that can be used to predict and prevent risks in the future
Making Junos Automation Scripts Robust Making your Junos automation scripts robust ensures that you do not need to manually restart your script any time your router reboots or performs an RE switchover. Learn techniques for making your scripts run reliably by reading: Best Practices Series: Make Your Junos Automation Scripts More Robust Making Scripts Robust: Checking Status Making Scripts Robust: Handling Routing Engine Switchovers Making Scripts Robust: Recovering from Power Loss or Routing Engine Restart Making Scripts Robust: Managing Retries #junosautomation #Slax #ExpertAdvice
Question How do you upgrade AI-Scripts? Answer To upgrade up to AI-Scripts Release 4.1R9 and earlier, follow the steps below: Install the newer version of the AI-Scripts using the request system scripts add < package name > CLI command. Verify that the AI-Scripts are activated: user@host# show configuration groups juniper-ais | display commit-scripts NOTE : For upgrading AI-Scripts on an SRX cluster, see KB 30556 To upgrade AI-Scripts from Release 5.0R1.0 to Release 5.0R2.0 and later releases, follow the steps below: NOTE : Before upgrading AI-Scripts from Release 5.0R1.0 to Release 5.0R2.0, ensure that you uninstall AI-Scripts 5.0R1.0 from the device (all Routing Engines of a multichassis device). If AI-Scripts Release 5.0R1.0 is not uninstalled before installing AI-Scripts Release 5.0R2.0, the first commit of AI-Scripts Release 5.0R2.0 may take excessively long time
2 Comments - no search term matches found in comments.
Question How can you tell what version of AI-Scripts is installed on a device? Answer The show version CLI operational command displays the version of the AI-Scripts install package that is installed on a device. The JMB contains the output of the show version CLI command to indicate the version of the AI-Script install package installed on a device
Question When do you install AI-Scripts in a Service Automation setup? Answer It does not matter whether AI-Scripts or Service Now is installed first
Question How soon after AI-Scripts installation is an intelligence iJMB generated? Answer An iJMB is generated within 5 minutes after AI-Scripts installation...#serviceautomation #ai-scripts #JunosSpace #FAQ
Operation, event, commit and SNMP scripts can also now be written in Python...Junos PyEZ eases Python script development by providing an easy Python API to interface with the router
Question Which scripting language should you use for writing Junos automation scripts: SLAX or XSLT?...However, the SLAX syntax is signficantly easier to develop scripts with. When Junos processes SLAX, it converts it first to XSLT
For more information about contents of a JMB, see AI-Scripts Feature Guide . #JunosSpace #ai-scripts #serviceautomation #FAQ