When replacing a RE on an EX8200, you may need to perform a Junos upgrade to match the Junos version of the active RE. There are two ways to perform the Junos upgrade:
After removing the routing engine and swapping it with the new one, make sure the new RE is powered on and it is detected by the chassis:
show chassis routing-engine
Check connectivity between primary RE and backup:
start shell ping -Ji re1
Example output:
root@jtac-EX8208-r001-re0> start shell user root root@jtac-EX8208-r001-re0:RE:0% root@jtac-EX8208-r001-re0:RE:0% root@jtac-EX8208-r001-re0:RE:0% ping -Ji re1 PING re1 (128.0.0.5): 56 data bytes 64 bytes from 128.0.0.5: icmp_seq=0 ttl=64 time=1.346 ms 64 bytes from 128.0.0.5: icmp_seq=1 ttl=64 time=1.274 ms 64 bytes from 128.0.0.5: icmp_seq=2 ttl=64 time=1.267 ms ^C --- re1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.267/1.296/1.346/0.036 ms
If there is connectivity, proceed with the upgrade via the primary RE. Make sure the Junos code is on the primary RE in order to push it onto the new RE. Issue the following command from the primary RE to push the image to the new RE:
request system software add re1 /var/tmp/ <image> validate reboot
root@jtac-EX8208-r001-re0> file list /var/tmp/
/var/tmp/: .schema-cache/ .snap/ install/ jinstall-ex-8200-15.1R6-S6.1-domestic-signed.tgz krt_rpf_filter.txt pfe_debug_commands pics/ rtsdb/ vi.recover/
root@jtac-EX8208-r001-re0> request system software add re1 /var/tmp/jinstall-ex-8200-15.1R6-S6.1-domestic-signed.tgz validate reboot Verify the signature of the new package Verified jinstall-ex-8200-15.1R6-S6.1-domestic.tgz signed by PackageProductionRSA_2018 method RSA2048+SHA1 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately Rebooting ... shutdown: [pid 1987] Shutdown NOW!
After reboot, verify the new Junos is installed by issuing the following command:
show version invoke-on all-routing-engines
root@jtac-EX8208-r001-re0> show version invoke-on all-routing-engines re0: -------------------------------------------------------------------------- Hostname: jtac-EX8208-r001-re0 Model: ex8208 Junos: 14.1X53-D103 JUNOS EX Software Suite [14.1X53-D103] JUNOS FIPS mode utilities [14.1X53-D103] JUNOS Online Documentation [14.1X53-D103] JUNOS EX 8200 Software Suite [14.1X53-D103] JUNOS Web Management Platform Package [14.1X53-D103] re1: -------------------------------------------------------------------------- Hostname: jtac-EX8208-r001-re1 Model: ex8208 Junos: 15.1R6-S6.2 JUNOS EX Software Suite [15.1R6-S6.2] JUNOS FIPS mode utilities [15.1R6-S6.2] JUNOS Online Documentation [15.1R6-S6.2] JUNOS EX 8200 Software Suite [15.1R6-S6.2] JUNOS Web Management Platform Package [15.1R6-S6.2]
Install the image on a formatted USB stick
Plug in the USB stick in the new routing Engine. Once you plug in a usb stick, you will get the following message
umass1: Unigen Corporation PQS1000B1, rev 2.00/11.00, addr 3 da1 at umass-sim1 bus 1 target 0 lun 0 da1: <Unigen PQS1000 1100> Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 980MB (2007040 512 byte sectors: 64H 32S/T 980C)
root@jtac-EX8208-r001-re1> show log messages | match da1 Apr 10 03:13:28 jtac-EX8208-r001-re1 /kernel: da1 at umass-sim1 bus 1 target 0 lun 0 Apr 10 03:13:28 jtac-EX8208-r001-re1 /kernel: da1: <Unigen PQS1000 1100> Removable Direct Access SCSI-0 device Apr 10 03:13:28 jtac-EX8208-r001-re1 /kernel: da1: 40.000MB/s transfers Apr 10 03:13:28 jtac-EX8208-r001-re1 /kernel: da1: 980MB (2007040 512 byte sectors: 64H 32S/T 980C)
Mount the usb to a directory so you can push the junos config from it by issuing the following command:
mount_msdosfs /dev/da1s1 /mnt/
root@jtac-EX8208-r001-re1> start shell user root root@jtac-EX8208-r001-re1:BK:1% mount_msdosfs /dev/da1s1 /mnt/ root@jtac-EX8208-r001-re1:BK:1% cli root@jtac-EX8208-r001-re1> file list /mnt/ /mnt/: System Volume Information/ jinstall-ex-8200-15.1R6-S6.2-domestic-signed.tgz*
Upgrade the backup RE from the /mnt directory by issuing the following command:
request system software add /mnt/ <package>
root@jtac-EX8208-r001-re1> request system software add /mnt/jinstall-ex-8200-15.1R6-S6.2-domestic-signed.tgz NOTICE: Validating configuration against incoming-package.tgz. NOTICE: Use the 'no-validate' option to skip this if desired. Verify the signature of the new package Verified jinstall-ex-8200-15.1R6-S6.2-domestic.tgz signed by PackageProductionRSA_2018 WARNING: A reboot is required to install the software WARNING: Use the 'request system reboot' command immediately
From the primary RE, reboot the backup RE using this command:
request system reboot other-routing-engine
root@jtac-EX8208-r001-re0> request system reboot other-routing-engine Rebooting re1 root@jtac-EX8208-r001-re0> show chassis routing-engine 1 Routing Engine status: Slot 1: Current state Present
After a few minutes, check the version on the backup RE by issuing the following command:
show version invoke-on all-routing-engines