Junos OS

Procedure for OS upgradation of dual routing engine switch

  • 1.  Procedure for OS upgradation of dual routing engine switch

    Posted 28 days ago

    1. Download the require version OS from juniper website and transfer it with the help

    Of Winscp in below mentioned directory.

    /var/tmp/

     

    2.check the status of OS weather its transfer or not.

    >file list /var/tmp/

     

    3.Deactivate the graceful-switchover and nonstop-routing.

    #deactivate chassis redundancy graceful-switchover

    #deactivate routing-options nonstop-routing

     

    4.RE0 is the master routing engine and currently traffic is passing through RE0 so we need to first upgrade RE1.therefor transfer OS from RE0 to RE1.

    • Find the below command to copy the OS from RE0 to RE1

    >file copy /var/tmp/junos-vmhostall-mx-x86-64-16.1R4-S4.3.tgz re1:/var/tmp/junos-           vmhostall-mx-x86-64-16.1R4-S4.3.tgz

    (Note: OS file need to show into the /var/tmp/ directory.)

    >file list /var/tmp/

     

    • Or, we can directly upgrade the RE1 from RE0 by below command.

    >request system software add /var/tmp/junos-vmhostall-mx-x86-64-16.1R4-S4.3.tgz re1 no-validation no-copy no-validate reboot

     

    5.And Login into the RE1 through below command.

    >request routing-engine login other-routing-engine

    >request routing-engine login re1.

    >request routing-engine login backup.

     

    > show version

    >request system software add  /var/tmp/junos-vmhostall-mx-x86-64-16.1R4-S4.3.tgz

      no-copy no- validation reboot

      Note: routing engine will take restart.

     

    And if require we run below command for snapshot of OS of RE1

    >show version

    >request system snapshot media internal slice alternate

    >run show system snapshot media internal

    >run show version invoke-on other-routing-engine

     

    6.change the routing engine from backup to master of RE1.

    #request chassis routing-engine master switch

    #run show chassis routing-engine

     

    *Note: if you are not sure that you are currently logged in backup routing engine or master routing   engine. We can run the command "show chassis hardware". Because it only work in master routing engine.

     

    *if you able to see traffic is passing through RE1 then go for upgradation to RE0.

       >request routing-engine login re0

       > show version

       >file list /var/tmp/ (OS file need to show into the /var/tmp/ directory)

     

    7.Then upgrade the RE0 engine.

    #request system software add /var/tmp/junos-vmhostall-mx-x86-64-16.1R4-S4.3.tgz no-copy no-validate reboot

    • If require we can validate signature of the OS by below command.

    #request system software add validate /var/tmp/junos-vmhostall-mx-x86-64-16.1R4-S4.3.tgz no-copy reboot

    Note: routing engine will take restart.

     

    And if require we run below command for snapshot of OS of RE0.

    >show version

    >request system snapshot media internal slice alternate

    >run show system snapshot media internal

    >run show version invoke-on other-routing-engine

     

    8.change the routing engine from backup to master of RE0.

    >request chassis routing-engine master switch

    >show chassis routing-engine

    >show version invoke-on other-routing-engine

     

    9. Activate the graceful-switchover and nonstop-routing.

    #activate chassis redundancy graceful-switchover

    #activate routing-options nonstop-routing

    10. And finally you can verify the upgraded OS of the device.

    >show version

    >request routing-engine login re1

    >show version

    Regards..

    Umesh Sharma | +91 9007743324



    ------------------------------
    Umesh Sharma | +91 9007743324
    ------------------------------