Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

change-configuration (Event Policy)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 12.1.

Statement introduced in Junos OS Release 13.2X51-D10 for QFX Series switches.

Description

When the associated event policy is triggered, execute the Junos OS configuration mode commands to update the candidate configuration and commit the changes.

Note

Do not use the change-configuration statement to modify the configuration on dual Routing Engine devices that have nonstop active routing (NSR) enabled, because both Routing Engines might attempt to acquire a lock on the configuration database, which can cause the commit to fail. To modify the configuration through an event policy when NSR is enabled, invoke an event script that executes the commit on only the master Routing Engine.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

maintenance—To view this statement in the configuration.

maintenance-control—To add this statement to the configuration.