Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

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

0

0

Article ID: KB11211 KB Last Updated: 11 Aug 2010Version: 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.
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

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search