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.
Configlets are configuration tools provided by the Junos Space Network Management Platform that enables the user to quickly apply configurations onto Juniper Networks devices, thus reducing configuration complexity
Make Template-based Configuration Changes You can make template-based configuration changes using Python
2 Comments - Config.pdff() method should actually read Config.pdiff() For the lazy ones that don't like reading - here's a super basic script with extras removed that just connects to a static device using root creds (need to enable root via ssh on your device first!)
This article provides answers to the most common questions about Junos Space device manaegement. Which Juniper Networks devices does Junos Space Network Management Platform support? What Junos OS releases are supported in Junos Space Network Management Platform? What minimum configuration do network devices require for Junos Space Platform to manage them? Which port on the Junos Space node does a device connect to? Does using Junos Space to discover devices that are connected to AI-Scripts and SRC affect those connections?
Question How do you delete an AI-Script from a device? Answer You can delete AI-Scripts from the device in the following ways: NOTE : We recommend that configuration of AI-Scripts Release 5.0R1.0 and later be deleted from a device by using Junos Space Service Now as Service Now calls the correct operational scripts as needed. However, if the connection between Service Now and the device is disrupted and you are unable to reach the device through Service Now, use one of the following commands to delete AI-Scripts from the device
Overview Configuration changes using unstructured snippets and templates, or using structured abstractions. Discussion There are two ways to make configuration changes: unstructured and structured. Unstructured changes are simply snippets of Junos OS configurations in any of the supported formats
Read the Configuration Out of a Junos Device Using Tables and Views Using the SRX examples in GitHub, https://github.com/Juniper/py-junos-.../cfgro/srx.yml , the Table uses get to retrieve a configuration stanza. A VRF query table was created below that is in a position to retrieve all the VRF instance names, and succesfully load all VRF instance names. VRF Query Table/View VRF: 1 get: routing-instances/instance args key: name view: VRFView VRFView: fields: instance name: name To retrieve entire sections of the configuration and group per instance, the PyEZ techwiki specifies that configuration can be retrieved using Table/View
1 Comment - no search term matches found in comments.
Part 2 of 6 of On-Box Storage Previous Article: Best Practices Series: Considerations for On-Box Data Storage and Access Next Article: On-Box Storage: Option 2 - JUNOS Device Configuration as a Data Store For SLAX version 1.0 and higher, you can pretty much always save data in a flat file of your choosing for your script
Use Local Scripts with an External Data Set This article shows how to pull information from an external data set (XML file) to use in a local (commit) script to configure devices that may or may not have unique configuration needs
Overview Configlets are configuration tools provided by the Junos Space Network Management Platform that enables the user to quickly apply configurations onto Juniper Networks devices, thus reducing configuration complexity. Feature A configlet is a configuration template that is transformed to a CLI configuration string before being applied to a device. The dynamic elements (strings) in configuration templates are defined using variables. These variables act as an input to the process of transformation, to construct the CLI configuration string. These variables can contain anything: the interface name, device name, description text, or any similar dynamic values