Thursday, 7 February 2013

Junos : Configuration Rollback

Overview

After you commit a configuration, it becomes the active configuration. For SRX Series devices running Junos Release 10.0 or later, 5 previous versions of commited configurations are saved, in addition to the active configuration. You can also create one rescue configuration, which allows you to have a known working configuration that you can roll back to at any time.

You can make one of the previous configurations or the rescue configuration the active configuration by using the rollback command.


J-Web Configuration

Reviewing Configurations Available for Rollback

To review the configurations available for rollback:
  1. Select Maintain>Config Management>History. All configurations available for rollback are listed.

Comparing the Active Configuration to a Previous Configuration

To compare the active configuration to a previous configuration:
  1. Select Maintain>Config Management>History. All configurations available for rollback are listed.
  2. To compare configurations, select the check box for two configurations, and click Compare. The differences between the configurations are listed.

Rolling Back to a Previous Configuration

To roll back to a previous configuration:
  1. Select Maintain>Config Management>History. All configurations available for rollback are listed.
  2. Click the Rollback link for the configuration for which you want to rollback.
  3. Click Commit to activate the configuration.

Creating and Rolling Back to a Rescue Configuration


A rescue configuration allows you to define a known working configuration or a configuration with a known state that you can roll back to at any time. This alleviates the necessity of having to remember the rollback number with the rollback command. You use the rescue configuration when you need to roll back to a known configuration or as a last resort if your router configuration and the backup configuration files become damaged beyond repair.

To create a rescue configuration:
  1. Select Maintain>Config Management>Rescue.
  2. Click the Set rescue configuration link.
  3. When prompted to confirm creating the rescue configuration, click OK.

No comments:

Post a Comment

loading...