Related Documentation
- EX, M, MX, PTX, T Series
- Scheduling a Junos Commit Operation
- EX, J, M, MX, PTX, T Series
- Committing a Junos OS Configuration
Activating a Junos Configuration but Requiring Confirmation
When you commit the current candidate configuration, you can require an explicit confirmation for the commit to become permanent. This is useful if you want to verify that a configuration change works correctly and does not prevent access to the router. If the change prevents access or causes other errors, the router automatically returns to the previous configuration and restores access after the rollback confirmation timeout passes. This feature is called automatic rollback.
To commit the current candidate configuration but require an explicit confirmation for the commit to become permanent, use the commit confirmed configuration mode command:
Once you have verified that the change works correctly, you can keep the new configuration active by entering a commit or commit check command within 10 minutes of the commit confirmed command. For example:
If the commit is not confirmed within a certain time (10 minutes by default), Junos OS automatically rolls back to the previous configuration and a broadcast message is sent to all logged-in users.
To show when a rollback is scheduled after a commit confirmed command, enter the show system commit command. For example:
Like the commit command, the commit confirmed command verifies the configuration syntax and reports any errors. If there are no errors, the configuration is activated and begins running on the router.
Figure 1 illustrates how the commit confirmed command works.
Figure 1: Confirm a Configuration

To change the amount of time before you have to confirm the new configuration, specify the number of minutes when you issue the command:
In Junos OS Release 11.4 and later, you can also use the commit confirmed command in the [edit private] configuration mode.
Related Documentation
- EX, M, MX, PTX, T Series
- Scheduling a Junos Commit Operation
- EX, J, M, MX, PTX, T Series
- Committing a Junos OS Configuration
Published: 2012-11-27
Related Documentation
- EX, M, MX, PTX, T Series
- Scheduling a Junos Commit Operation
- EX, J, M, MX, PTX, T Series
- Committing a Junos OS Configuration