SRX300をバージョンアップしてみました。下記の順番にアップグレードしてみました。
15.1X49→19.4R3.11→20.2R3.9→21.3R3.10→22.4R2.8
公式のアップグレードパスとは異なりますが、私の環境ではうまくいきました。
公式のアップグレードパスは以下です。
[SRX] Junos upgrade paths for SRX platforms
※作業は自己責任でお願いします。
1.SRX300のバックアップをUSBに転送(念のため)
バージョンアップ前に現在のバックアップを取得します。少し時間がかかります。
root@IDEA-SRX300> request system snapshot media usb
Clearing current label...
Partitioning usb media (/dev/da1) ...
Partitions on snapshot:
Partition Mountpoint Size Snapshot argument
s1a / 579M none
s2a /altroot 587M none
s3e /config 746M none
s3f /var 26G none
s4a /recovery/software 932M none
s4e /recovery/state 85M none
Copying '/dev/da0s1a' to '/dev/da1s1a' .. (this may take a few minutes)
Copying '/dev/da0s2a' to '/dev/da1s2a' .. (this may take a few minutes)
Copying '/dev/da0s3e' to '/dev/da1s3e' .. (this may take a few minutes)
Copying '/dev/da0s3f' to '/dev/da1s3f' .. (this may take a few minutes)
Copying '/dev/da0s4e' to '/dev/da1s4e' .. (this may take a few minutes)
Copying '/dev/da0s4a' to '/dev/da1s4a' .. (this may take a few minutes)
The following filesystems were archived: / /altroot /config /var /recovery/state /recovery/software
USBにバックアップができていることを確認します。
root@IDEA-SRX300> show system snapshot media usb
Information for snapshot on usb (/dev/da1s1a) (backup)
Creation date: Apr 12 18:34:04 2025
JUNOS version on snapshot:
junos : 15.1X49-D170.4-domestic
Information for snapshot on usb (/dev/da1s2a) (primary)
Creation date: Apr 12 18:38:47 2025
JUNOS version on snapshot:
junos : 19.4R3.11
UTMライセンスがある方はライセンスのバックアップもしておきましょう
※私は持っていないので割愛します。
2.FTP転送できるようSRXに設定
最低限IPアドレス、FTPを通信を許可するために必要な設定をします。
set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24
set security zones security-zone trust interfaces ge-0/0/0.0
set security zones security-zone trust host-inbound-traffic system-services all
commit
3.SRX300にFTPでファームウェアファイルを転送
下記のコマンドでSRXにFTPで転送します。FTPソフトはServa_Community_v5.0.0を使用しました。
FTPのセットアップ方法は割愛します。
request system software add no-copy no-validate ftp://192.168.1.1/junos-srxsme-19.4R3.11.tgz
root@IDEA-SRX300> ...date ftp://192.168.1.2/junos-srxsme-20.2R3.9.tgz
/var/tmp/incoming-package.3856 4905 kB 4905 kBps
Package contains junos-20.2R3.9.tgz ; renaming ...
Formatting alternate root (/dev/da0s1a)...
/dev/da0s1a: 588.2MB (1204616 sectors) block size 16384, fragment size 2048
using 4 cylinder groups of 147.06MB, 9412 blks, 18944 inodes.
super-block backups (for fsck -b #) at:
32, 301216, 602400, 903584
Installing package '/altroot/cf/packages/install-tmp/junos-20.2R3.9' ...
Verified junos-boot-srxsme-20.2R3.9.tgz signed by PackageProductionECP256_2021 method ECDSA256+SHA256
Verified junos-srxsme-20.2R3.9-domestic signed by PackageProductionECP256_2021 method ECDSA256+SHA256
JUNOS 20.2R3.9 will become active at next reboot
WARNING: A reboot is required to load this software correctly
WARNING: Use the 'request system reboot' command
WARNING: when software installation is complete
Saving state for rollback ...
4.システム再起動
システムを再起動します。
root@IDEA-SRX300> request system reboot
Reboot the system ? [yes,no] (no) yes
Shutdown NOW!
[pid 4879]
再起動後、バージョンが上がっていれば成功です。
root@IDEA-SRX300> show version
Hostname: IDEA-SRX300
Model: srx300
Junos: 20.2R3.9
JUNOS Software Release [20.2R3.9]
あとは、3.FTP転送と4.再起動を目的のバージョンまで繰り返すだけです。



コメント