Knowledge Center Search


 

Loading a previous configuration file using the 'rollback' command from CLI for the EX-series switches

  [KB11211] Show KB Properties

  [KB11211] Hide KB Properties

Categories:
Knowledge Base ID: KB11211
Last Updated: 11 Aug 2010
Version: 4.0

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

Problem or Goal:
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

Purpose:
Troubleshooting

Related Links:

 

 

ASK THE KB

Question or KB ID:


 


 

 
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.