Junos OS Configuration Activation Commands

Which Command Temporarily Activates a Configuration?

Prev Question Next Question

Question

Which command causes the Junos OS temporarily activate a configuration?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

The correct answer is C. commit confirmed.

The Junos OS provides a feature called "commit confirmed" that temporarily activates a configuration for a specified period of time. During this time, if the administrator does not explicitly commit the configuration using the "commit" command or if the configuration is not saved before the time expires, the Junos OS automatically reverts to the previous configuration.

Here's a brief explanation of the other answer choices:

A. commit check - This command checks the configuration for syntax errors and other issues but does not actually activate the configuration.

B. commit synchronize - This command is used to synchronize the configuration between multiple routing devices. It does not temporarily activate the configuration.

D. commit and-quit - This command activates the configuration and then exits configuration mode. It does not temporarily activate the configuration.

To use the "commit confirmed" command, you need to specify a time limit after which the configuration will automatically revert. For example, to temporarily activate the configuration for 5 minutes, you would use the following command:

sql
user@router# commit confirmed 5

This command will activate the configuration and provide a message indicating the time remaining before the configuration will automatically revert:

css
commit complete. Reverting to previous configuration in 5 minutes unless confirmed.

During this time, you can use the "commit" command to permanently activate the configuration, or use the "commit confirmed" command again to extend the time limit. If you do not commit the configuration or extend the time limit before it expires, the Junos OS will automatically revert to the previous configuration.

Overall, the "commit confirmed" command is a useful feature for making temporary configuration changes without the risk of permanently activating an incorrect configuration.