Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

change-configuration (Event Policy)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
change-configuration {
    commands {
        "command";
    }
    commit-options {
        check <synchronize>;
        force;
        log "comment-string";
        synchronize;
    }
    retry count number interval seconds;
    user-name username;
}

Hierarchy Level

content_copy zoom_out_map
[edit event-options policy policy-name then]

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 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.

footer-navigation