Which type of script serves this purpose?

You are asked to develop an on-box Junos script that prevents deletion of the SNMP configuration.

Which type of script serves this purpose?
A . commit script
B . event script
C . op script
D . SNMP script

Answer: A

Explanation:

A commit script in Junos is used to enforce policies and configuration constraints on the device. These scripts are written in Extensible Stylesheet Language Transformations (XSLT) or Python and are executed automatically during the commit process of a configuration change.

In this context, to prevent the deletion of the SNMP configuration, a commit script is the appropriate choice. It can be designed to check the configuration changes being committed and reject any commit that attempts to delete or modify the SNMP configuration. This script essentially acts as a gatekeeper, ensuring that only allowable changes are committed to the device configuration.

Supporting

Reference: Juniper Networks Commit Scripts Documentation: The official Juniper documentation provides examples and use cases of commit scripts, including how they can be used to prevent unauthorized changes to the device configuration.

"Junos Automation Scripting" by Jonathan Looney: This resource gives practical examples and best practices for creating commit scripts to enforce configuration policies in Junos OS.

Latest JN0-223 Dumps Valid Version with 100 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments