Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


change-configuration (Event Policy)


Hierarchy Level


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


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 primary Routing Engine.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

maintenance—To view or add this statement in the configuration.

Release Information

Statement introduced in Junos OS Release 12.1.