Description

If it is necessary to revert or rollback to a previous configuration this can be done using the 'rollback' command from CLI.

Symptoms

You need to revert to a previous configuration file.

Solution

You can revert or rollback to a previous configuration file using the 'rollback' command from either the CLI or J-Web interface.  This procedure is from the CLI only. 

NOTE : For J-Web you can access the 'rollback' function under the ' maintain > Config Managment > History ' menus.

Loading a Previous Configuration File (CLI Procedure)

You can return to a previously committed configuration file if you need to revert to a previous configuration or if you have lost management access to the switch. The EX-series switch saves the last 50 committed configurations, including the rollback number, date, time, and name of the user who issued the commit configuration command.

Syntax
    rollback (number)

Options

  • None — Return to the most recently saved configuration.
  • Number — Configuration to return to.
    • Range : 0 through 49. The most recently saved configuration is number 0, and the oldest saved configuration is number 49.
    • Default : 0
To return to a configuration prior to the most recently committed one:
  1. Specify the rollback number:
    [edit]
    user@switch# rollback number
    load complete
  2. Activate the configuration you have loaded:
    [edit]
    user@switch# commit

Modification History

2020-08-10: Minor, non-technical edit.

Related Information