site_logo
  • Certification Notes
    • Index
    • CompTIA Certifications
      • A+ Cert Exam
      • Network + Cert Exam
      • Server+ Cert Exam
      • Security+ Cert Exam
    • Cisco Certifications
      • CCNA Cert Exam
      • CCNP Cert Exam
    • ITIL Certifications
      • ITIL Foundation Cert Exam
    • Others
      • PMP Cert Exam
      • JNCIA-Junos Cert Exam
      • OCPJP Cert Exam
      • OCA Cert Exam
      • CIW Associate Cert Exam
  • Electronic Assembly
    • Index
    • SMT Component & Assembly
    • Reliability Enhancement
    • SMD Components
    • Nano Technology Introduction
  • Satellite Comm.
    • Index
    • Fundamentals of SatCom
    • Link Budgeting Explained
    • Satellite link budget calculator
    • Satellite look-angle calculator
    • Satellite Phones
    • RF, Microwave, and Optical Comm. - A review
    • Satellites and Services
  • Computers & Network
    • Index
    • Hardware and OS
      • Motherboard Connectors On a PC
      • Motherboard-I
      • Motherboard-II
      • Flash Memory Tutorial
      • Printers and Scanners
      • Cellular Phones
      • Tablet PCs
    • Networking
      • SDN
      • OSI Model: A tutorial
      • Introduction to TCP/IP
      • Computer Networking
      • Routers-IOS & JUNOS
      • Wimax,LTE, and 3G/3.5G - Intro
      • WiMAX: Wireless Broadband
      • Broadband Internet Technologies
      • RFID: A Beginner's Guide
      • Spread Spectrum Comms.
      • A tutorial on IPv6
      • Cloud Computing
      • Introduction to MPLS
      • Initial Software Config on SRX100
      • Initial Software Config on SRX100
    • Certs
      • comptia aplus core 1 study notes
      • comptia aplus core 2 study notes
      • comptia Networkplus study notes
      • comptia Securityplus study notes
      • comptia Serverplus study notes
      • comptia IT Fundamentals study notes
      • Cisco CCNA study notes
      • Cisco CCNP ENCOR study notes
      • Cisco CCNP ENARSI study notes
      • Cisco CCST Networking study notes
      • Cisco CCST Cybersecurity study notes
      • Juniper JNCIA study notes
  • RF Test & Meas.
    • Index
    • Co-axial Cable Measurements
    • Spectrum Analyzers Intro
    • Noise Figure Measurement
    • Time/Frequency Standards
    • Coax Cables - Intro
  • Software
    • Index
    • Android App Development
    • Essentials of Webpage Development
    • Introduction to HTML5
    • Introduction to Java
    • Introduction to MySQL
    • ActiveX EXE:Beginner's Guide
    • Working w/ MyODBC & MySQL
    • Drag-n-Drop Using Visual Basic
    • Drag-n-Drop Using VB.net
    • Network Simulator-2 (NS2)
  • Home
  • Computers & Networking
  • Juniper JUNOS Fundamentals
  • JUNOS Reverting to previous configurations

Next Next


  1. JNCIA exam sim
  2. Juniper JNCIA Netsim
  3. JNCIA ExamSim with Netsim

Juniper JUNOS Fundamentals

2.4 JUNOS Reverting to previous configurations

In Junos, you can revert to a previous configuration by using the "rollback" command. The rollback command allows you to return to a previous version of the configuration that has been previously saved in the Junos configuration file.

The rollback command takes the following format:

rollback <number> 
Where <number> is the number of the previous configuration that you want to
revert to.

For example, if you want to revert to the previous configuration, you would use the following command: rollback 1

Once you have issued the rollback command, the device will compare the current active configuration with the specified previous configuration, and it will automatically merge any changes that were made in the meantime.

It's important to note that when you revert to a previous configuration, you will lose any changes that have been made to the active configuration since the previous configuration was saved. This makes it important to save a copy of the current configuration before reverting to a previous configuration, in case you need to revert back to the current configuration later.

Additionally, before committing a change, you can preview the changes you made to the candidate configuration by using the "show | compare" command, which will show you the difference between the current active configuration and the candidate configuration.

3. JUNOS Modifying, managing, and saving configuration files

In Junos, you can modify, manage, and save configuration files by using the following CLI commands:

  • 1. Modifying the configuration: You can modify the configuration by using the "set" command. The set command is used to add, modify, or delete configuration statements. For example, to modify the hostname of the device, you would use the following command:

    set system host-name <new-hostname>
  • 2. Managing the configuration: You can manage the configuration by using the "commit" and "rollback" commands. The "commit" command is used to apply changes to the active configuration, while the "rollback" command is used to revert to a previous configuration. Before committing a change, it's a best practice to check the changes you made to the configuration using the "show | compare" command.

  • 3. Saving the configuration: You can save the configuration by using the "commit and-quit" command or the "copy running-configuration startup-configuration" command. The "commit and-quit" command will save the current configuration and then exit the CLI, while the "copy running-configuration startup-configuration" command will save the current configuration to the startup configuration file, which will be used the next time the device is restarted.

It's important to note that when you save the configuration, you are saving the changes to the startup configuration file, which will be used the next time the device is restarted. If you make changes to the configuration and do not save them, they will be lost if the device is restarted or if you exit the CLI.

Next Next




simulationexams.com ad

certexams.com ad
  • Home
  • Resources
  • Privacy Policy
  • Copyright © 2003-2025 TutorialsWeb.com
  • Contact us
  • Disclaimer
  • Sitemap