Junos OS

 View Only
last person joined: 7 days ago 

Ask questions and share experiences about Junos OS.
Expand all | Collapse all

Junos upgrade path

  • 1.  Junos upgrade path

    Posted 09-27-2023 19:15

    What is the upgrade path for a MX960 from JUNOS 13.3R10.2 to the latest recommended release?



  • 2.  RE: Junos upgrade path

    Posted 09-28-2023 06:08

    Short answer: a long one :)

    I think you should consider the option to USB format install Junos 21.4 (or 22.4) in case you can do without the MX for some time. Surely you have redundancy, right? If not, then you have quite a few steps ahead of you. Check out my reply in the discussion "About the upgrade path to "junos-srxsme-22.4R2-S1.6" for some details. Here are two links for you:

    https://supportportal.juniper.net/s/article/How-to-check-if-a-Junos-version-after-15-1-is-EEOL

    https://support.juniper.net/support/eol/software/junos/

    13.1 is an EEOL release so you can skip EEOL 13.3 and go to 14.1.

    Skip 14.2 and go to 15.1. From there, it's a bit of a mess with 15.1X releases, but 16.1 should be the next step.

    After that, 16.2 and all releases in the 17.x train are EEOL but according to the basic rule where you can always skip over two releases, you would end up at 17.2. After that:

    18.1

    18.4

    19.3

    20.2 (20.2R3-S2)

    20.4 (20.4R3-S3)

    21.4 (21.4R3-S4)

    22.4 (if you want to go there)

    One thing that complicates things is that anything before 15.1 is no longer available from the download page. You need at least one 14.x release. I assume you have a contract and JTAC should be able to get one for you if you choose to go the stepwise upgrade path.

    Again, consider a USB install.




  • 3.  RE: Junos upgrade path

    Posted 09-28-2023 06:14

    Forgot... Having said all that, you can upgrade in bigger steps... most of the time. It's a bit risky but as long as you have a good config backup on your computer or elsewhere, you can always get back to a working state. If your config is simple enough, a no-validadte may do the trick and perhaps one or two lines are ignored when rebooting after upgrade. If you have local access to the box, you should be safe.

    Having said that, there are some steps that need to be done as file systems need reformatting or some firmware needs to be applied. Skipping those steps may cause big and unpredictable problems. JTAC will know...




  • 4.  RE: Junos upgrade path

    Posted 09-28-2023 10:09

    Hello Winkler,

    Here is the suggested upgrade path for MX960 based on the release notes:

    13.3R10.2 > 15.1R7 >17.1R3 > 17.4R3 > 18.3R3 > 19.2R3 > 19.4R3 > 20.4R3 > 21.4R3

    For a shorter path with fewer hops, we will provide an update in some time.

    Also, please ensure all the hardware components are compatible with the recommended target release (21.4R3).

    Regards,

    Akanksha Mathur



    ------------------------------
    Akanksha Mathur
    ------------------------------



  • 5.  RE: Junos upgrade path

    Posted 09-28-2023 10:47

    Hello Winkler,

    Here is the suggested upgrade path for MX960:

    Option 1:  Based on the release notes:

    13.3R10.2 > 15.1R7 >17.1R3 > 17.4R3 > 18.3R3 > 19.2R3 > 19.4R3 > 20.4R3 > 21.4R3

    Option 2: Based on Juniper lab testing

    Please find the below upgrade path with fewer hops which has been tested in Juniper lab with baseline configuration on device without line cards:

    13.3R10.2 > 15.1R7 > 21.2R3 > 21.4R3 

    Note:

    We suggest using the no-validate option while performing upgrades. While using the second option with fewer hops please ensure to install the os packages wherever applicable.

    It is recommended to test the upgrade in the lab before performing in production. Ensure all the hardware components are compatible with the recommended target release (21.4R3).

    Regards,

    Akanksha Mathur



    ------------------------------
    Akanksha Mathur
    ------------------------------



  • 6.  RE: Junos upgrade path

    Posted 09-29-2023 09:38

    Hello Akanksha, 

    You mentionned that we should ensure to install the os packages when available. Where would one find about them?

    In my case I upgraded from 18.4 to 20.4 to 21.4.



    ------------------------------
    YVON LEDUC
    ------------------------------



  • 7.  RE: Junos upgrade path

    Posted 10-03-2023 02:25

    Hello Yvon,

    If you have already upgraded to 21.4 successfully, the 'show version' output will display the FreeBSD package installed. If it is not stable_12 you can refer to the below document to find the latest package and the process to upgrade it.

    https://www.juniper.net/documentation/us/en/software/junos/junos-install-upgrade/topics/topic-map/upgrading-and-downgrading-to-upgraded-bsd.html

    Also, you can also refer to the TSB below:

    https://supportportal.juniper.net/s/article/os-package-recommendation-on-all-JUNOS-BSDx-platforms-in-preparation-for-software-upgrade?language=en_US

    Regards,

    Akanksha Mathur



    ------------------------------
    Akanksha Mathur
    ------------------------------



  • 8.  RE: Junos upgrade path

    Posted 10-03-2023 16:18

    Hello Akanksha,

    this is what I get from show version:

    Hostname: 2S-205-Lab_EX4300
    Model: ex4300-48p
    Junos: 21.4R3-S4.18
    JUNOS EX  Software Suite [21.4R3-S4.18]
    JUNOS FIPS mode utilities [21.4R3-S4.18]
    JUNOS Crypto Software Suite [21.4R3-S4.18]
    JUNOS Online Documentation [21.4R3-S4.18]
    JUNOS Phone-Home Software Suite [21.4R3-S4.18]
    JUNOS jsd [powerpc-21.4R3-S4.18-jet-1]
    JUNOS SDN Software Suite [21.4R3-S4.18]
    JUNOS EX 4300 Software Suite [21.4R3-S4.18]
    JUNOS Web Management Platform Package [21.4R3-S4.18]
    JUNOS py-base-powerpc [21.4R3-S4.18]
    JUNOS py-extensions-powerpc [21.4R3-S4.18]
    REST API Software Suite [21.4R3-S4.18]
    JUNOS Web Management Application package [21.4A1.1]

    I wish the Juniper documentation was a bit more helpful. 

    Thanks. 



    ------------------------------
    YVON LEDUC
    ------------------------------



  • 9.  RE: Junos upgrade path

    Posted 10-03-2023 18:33

    Yvon, the EX4300 is quite different from the MX960. In order to keep Junos the same across all platforms, some layers between the hardware and Junos need to be in place, different for almost each hardware platform. The EX4300 doesn't have the "Upgraded BSD". In your case, the only thing you need to upgrade separately is the PoE controller software. You can check that like this:

    user@switch> 

    show poe controller

    Controller  Maximum   Power         Guard    Management  Status   Lldp
    index       power     consumption   band                          Priority
       0**      405.00W   0.00W          19W     Class       AT_MODE  Disabled
      **New PoE software upgrade available.
     Use 'request system firmware upgrade poe fpc-slot <slot>'
     This procedure will take around 10 minutes (recommended to be performed during maintenance)

    You even have the command to do it in the output!

    If you do have a platform that may need the upgrade, it will show using this command:

    fw01-node0> show version | match stable
    JUNOS OS Kernel 64-bit  [20230515.19b0750_builder_stable_12_214]
    JUNOS OS libs [20230515.19b0750_builder_stable_12_214]

    ...

    Above, you see an upgraded one (stable_12).

    Below is one that should probably be upgraded:

    Model: ex3400-24p
    Junos: 20.2R3-S1.3
    JUNOS OS Kernel 32-bit  [20210429.58e41ab_builder_stable_11-204ab]
    JUNOS OS libs [20210429.58e41ab_builder_stable_11-204ab]

    Read the docs provided by others if you are unsure!




  • 10.  RE: Junos upgrade path

    Posted 10-03-2023 20:40
    Edited by YVON LEDUC 10-03-2023 20:40

    Thanks fb35523.

    Wow !! this is getting better and better. 

    So if I understand well. No need for OS Upgrade for the EX4300 but may need to perform POE upgrade. The update POE software would already be on the switch? Otherwise where can I find it?

    Thanks for your Help. 



    ------------------------------
    YVON LEDUC
    ------------------------------



  • 11.  RE: Junos upgrade path

    Posted 10-04-2023 10:33

    All you have to do is do what the command says:

     Use 'request system firmware upgrade poe fpc-slot <slot>'

    The PoE firmware comes with the Junos firmware. I don't know why it isn't applied automatically, but there are probably good reasons for that.

    Please note that it is not mandatory to upgrade the PoE controller, but if you're having PoE-related issues you obviously want to do that first.




  • 12.  RE: Junos upgrade path

    Posted 10-05-2023 08:44

    hello fb35523.

    I ran the "show poe controller" command with no mentions about needing to upgrade. 

    Thanks.



    ------------------------------
    YVON LEDUC
    ------------------------------