Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Rolling Back Configuration Changes

 

This sample procedure shows how to use the rollback command to return to the most recently committed configuration. This command is useful if you make configuration changes, and then decide not to keep the changes.

This example shows how to view the default configuration for redirect server when the component is running, make configuration changes for redirect server, then return to the most recently committed configuration that does not include the changes. Redirect server redirects HTTP requests to a captive portal page.

  1. Enter configuration mode.

  2. View the current configuration (if any) for redirect server.

    The statements in the output show the default configuration for redirect server.

  3. Configure the destination URL for redirect server.

  4. View the updated configuration.

    The destination-url statement shows the new URL.

  5. Use the rollback configuration mode command to return to the most recently committed configuration.

  6. View the configuration again to make sure that your change is no longer present.

    The destination-url statement shows there is no URL.

  7. Exit configuration mode.