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.
SNMP enables you to monitor network devices from a central location. Many network management systems (NMS) are based on SNMP, and support for this protocol is a key feature of most network devices
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
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?
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
Make Template-based Configuration Changes You can make template-based configuration changes using Python
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!)
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
no search term matches found in comments.
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. Templates are snippets that have variables, so that you can quickly and easily produce configurations
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
Question Can I filter specific SNMP queries on a device? Answer Yes, you can filter specific SNMP queries on a device using exclude and include statements. The following example shows a configuration that blocks read-write operation on all OIDs under .22.214.171.124.2.1.1 for the community test: user@host# show snmp view system-exclude ( oid .126.96.36.199.2.1.1 exclude; oid .1 include; ) community test ( view system-exclude; authorization read-write; ) ) For more information, click: Configuring SNMP on devices running Junos OS