Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Upgrade Junos OS Software on a vSRX Virtual Firewall Instance

date_range 24-Jun-24

This section outlines how to upgrade Junos OS software on your vSRX Virtual Firewall instance to a newer release. Depending upon your preference, you can replace the vSRX Virtual Firewall software in one of two ways:

Upgrade the Junos OS for vSRX Virtual Firewall Software Release

You can directly upgrade the Junos OS for vSRX Virtual Firewall software using the CLI. Upgrading or downgrading Junos OS can take several hours, depending on the size and configuration of the network. You download the desired Junos OS Release for vSRX Virtual Firewall .tgz file from the Juniper Networks website.

You also can upgrade using J-Web (see J-Web) or the Junos Space Network Management Platform (see Junos Space).

For the procedure on upgrading a specific Junos OS for vSRX Virtual Firewall software release, see the Migration, Upgrade, and Downgrade Instructions topic in the release-specific vSRX Virtual Firewall Release Notes available on the vSRX TechLibrary.

Replace the vSRX Virtual Firewall Instance on Azure

To replace a vSRX Virtual Firewall instance on Azure with a different software release:

  1. Log in to the vSRX Virtual Firewall instance using SSH and start the CLI.
    content_copy zoom_out_map
    root@% cli
    root@>
    
  2. Enter configuration mode.
    content_copy zoom_out_map
    root@> configure 
    root@#
    
  3. Copy the existing Junos OS configuration from the vSRX Virtual Firewall. The contents of the current level of the statement hierarchy (and below) are saved, along with the statement hierarchy containing it.
    Note:

    By default, the configuration is saved to a file in your home directory.

    • See Saving a Configuration File for additional background information on saving a Junos OS configuration file.

    • See file copy for information on how to copy files from one location to another location on the local device or to a location on a remote device that is reachable by the local device.

    content_copy zoom_out_map
    root@#save <filename>
    [edit]
    root@#
    
  4. Remove the vSRX Virtual Firewall instance on Azure as described in Remove a vSRX Instance from Microsoft Azure.
  5. Once the vSRX Virtual Firewall instance on Azure has been successfully removed, define the specifics of a vSRX Virtual Firewall instance prior to launching it.
  6. Launch the vSRX Virtual Firewall image using the desired software version available from Azure Marketplace.
  7. Load the previously copied Junos OS configuration file onto your new (upgraded) vSRX Virtual Firewall instance as described in Loading a Configuration File.
footer-navigation