Instructions (Command Line):
- Obtain a connection to the switch or virtual chassis through SSH session.
- Verify the current version of JUNOS.
xxxx@switchname> show version
fpc0:
--------------------------------------------------------------------------
Hostname: switchname
Model: ex4200-48px
JUNOS Base OS boot [11.4R5.7]
JUNOS Base OS Software Suite [11.4R5.7]
JUNOS Kernel Software Suite [11.4R5.7]
JUNOS Crypto Software Suite [11.4R5.7]
JUNOS Online Documentation [11.4R5.7]
JUNOS Enterprise Software Suite [11.4R5.7]
JUNOS Packet Forwarding Engine Enterprise Software Suite [11.4R5.7]
JUNOS Routing Software Suite [11.4R5.7]
JUNOS Web Management [11.4R5.7]
JUNOS FIPS mode utilities [11.4R5.7]
- Determine if the switch is a single unit or virtual chassis. Note this for later in the procedure.
EXAMPLE OF SINGLE UNIT OUTPUT:
xxx@switchname> show virtual-chassis
Virtual Chassis ID: fc89.e3b2.936a
Virtual Chassis Mode: Enabled
Mstr Mixed Neighbor List
Member ID Status Serial No Model prio Role Mode ID Interface
0 (FPC 0) Prsnt FP0211490716 ex4200-48px 250 Master* N
Member ID for next new member: 1 (FPC 1)
EXAMPLE OF VIRTUAL CHASSIS OUTPUT:
xxx@switchname> show virtual-chassis
Preprovisioned Virtual Chassis
Virtual Chassis ID: 1f6a.721e.ee86
Virtual Chassis Mode: Enabled
Mstr Mixed Neighbor List
Member ID Status Serial No Model prio Role Mode ID Interface
0 (FPC 0) Prsnt GR0213340013 ex2200-c-12p-2g 129 Master* NA 1 vcp-255/1/0
1 (FPC 1) Prsnt GR0212353405 ex2200-c-12p-2g 129 Backup NA 0 vcp-255/1/0
- Verify healthy performance of the device by checking:
- Log messages (show log messages | last 200)
- CPU utilization (show chassis routing-engine)
- Chassis alarms (show chassis alarms)
- System alarms (show system alarms)
- Capture/record ARP table (show arp), routes (show route summary), LLDP neighbors (show lldp neighbors) and compare results post-upgrade.
- Load the JUNOS Installer.
NOTE: The example referenced below is from an EX4200 upgrade. You must modify the command to reflect the correct JUNOS installer filename for the EX switch model that you are upgrading.
EX2200-C jinstall-ex-2200-12.3R6.6-domestic-signed.tgz
EX4200 jinstall-ex-4200-12.3R6.6-domestic-signed.tgz
EX4500 jinstall-ex-4500-12.3R6.6-domestic-signed.tgz
xxx@switchname> request system software add no-copy ftp://xxx:xxx@1xx.xx.xx.xx/junos/current/jinstall-ex-4200-12.3R6.6-domestic-signed.tgz
- Reboot the switch to complete the JUNOS upgrade.
SINGLE UNIT
xxx@switchname> request system reboot
Reboot the system ? [yes,no] (no) yes
VIRTUAL CHASSIS
xxx@switchname> request system reboot all-members
Reboot the system ? [yes,no] (no) yes
- After reboot has completed, validate JUNOS upgrade was successful.
xxx@switchname> show version
fpc0:
--------------------------------------------------------------------------
Hostname: switchname
Model: ex4200-48px
JUNOS Base OS boot [12.3R6.6]
JUNOS Base OS Software Suite [12.3R6.6]
JUNOS Kernel Software Suite [12.3R6.6]
JUNOS Crypto Software Suite [12.3R6.6]
JUNOS Online Documentation [12.3R6.6]
JUNOS Enterprise Software Suite [12.3R6.6]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.3R6.6]
JUNOS Routing Software Suite [12.3R6.6]
JUNOS Web Management [12.3R6.6]
JUNOS FIPS mode utilities [12.3R6.6]
- Upon successful upgrade, the primary and backup partitions should be synchronized.
xxx@switchname> show system snapshot media internal
fpc0:
--------------------------------------------------------------------------
Information for snapshot on internal (/dev/da0s1a) (backup)
Creation date: Jan 5 11:25:01 2013
JUNOS version on snapshot:
jbase : ex-11.4R5.7
jkernel-ex: 11.4R5.7
jcrypto-ex: 11.4R5.7
jdocs-ex: 11.4R5.7
jswitch-ex: 11.4R5.7
jpfe-ex42x: 11.4R5.7
jroute-ex: 11.4R5.7
jweb-ex: 11.4R5.7
fips-mode-powerpc: 11.4R5.7
Information for snapshot on internal (/dev/da0s2a) (primary)
Creation date: Mar 13 05:37:11 2014
JUNOS version on snapshot:
jbase : ex-12.3R6.6
jkernel-ex: 12.3R6.6
jcrypto-ex: 12.3R6.6
jdocs-ex: 12.3R6.6
jswitch-ex: 12.3R6.6
jpfe-ex42x: 12.3R6.6
jroute-ex: 12.3R6.6
jweb-ex: 12.3R6.6
fips-mode-powerpc: 12.3R6.6
The following command will sync the partitions. NOTE: this may take several minutes to complete.
xxx@switchname> request system snapshot slice alternate
fpc0:
--------------------------------------------------------------------------
Formatting alternate root (/dev/da0s1a)...
Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes)
The following filesystems were archived: /
xxx@switchname> show system snapshot media internal
fpc0:
--------------------------------------------------------------------------
Information for snapshot on internal (/dev/da0s1a) (backup)
Creation date: Mar 13 05:47:05 2014
JUNOS version on snapshot:
jbase : ex-12.3R6.6
jkernel-ex: 12.3R6.6
jcrypto-ex: 12.3R6.6
jdocs-ex: 12.3R6.6
jswitch-ex: 12.3R6.6
jpfe-ex42x: 12.3R6.6
jroute-ex: 12.3R6.6
jweb-ex: 12.3R6.6
fips-mode-powerpc: 12.3R6.6
Information for snapshot on internal (/dev/da0s2a) (primary)
Creation date: Mar 13 05:37:11 2014
JUNOS version on snapshot:
jbase : ex-12.3R6.6
jkernel-ex: 12.3R6.6
jcrypto-ex: 12.3R6.6
jdocs-ex: 12.3R6.6
jswitch-ex: 12.3R6.6
jpfe-ex42x: 12.3R6.6
jroute-ex: 12.3R6.6
jweb-ex: 12.3R6.6
fips-mode-powerpc: 12.3R6.6
- The JUNOS upgrade is now complete.