Juniper EX系列交换机从U盘更新系统

唯一需要注意的地方是必须复制安装文件到/var/tmp,否则会报文件验证失败的错误。

umass1: Kingston DataTraveler 3.0, rev 2.10/1.10, addr 2
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <Kingston DataTraveler 3.0 PMAP> Removable Direct Access SCSI-6 device
da1: 40.000MB/s transfers
da1: 14784MB (30277632 512 byte sectors: 255H 63S/T 1884C)

{master:0}
[email protected]> start shell user root
Password:
[email protected]:RE:0% ls /dev/da*
/dev/da0        /dev/da0s2      /dev/da0s3c     /dev/da0s4c
/dev/da0s1      /dev/da0s2a     /dev/da0s3d     /dev/da0s4d
/dev/da0s1a     /dev/da0s2c     /dev/da0s3e     /dev/da1
/dev/da0s1c     /dev/da0s3      /dev/da0s4      /dev/da1s1
[email protected]:RE:0% mount_msdosfs /dev/da1s1 /mnt
[email protected]:RE:0% cd /mnt
[email protected]:RE:0% ls
jinstall-ex-3300-12.3R12-S12-domestic-signed.tgz
[email protected]:RE:0% cp /mnt/jinstall-ex-3300-12.3R12-S12-domestic-signed.tgz /var/tmp
[email protected]:RE:RE:0% exit
exit

{master:0}
[email protected]:RE> request system software add /var/tmp/jinstall-ex-3300-12.3R12-S12-domestic-signed.tgz
b
[Mar 10 18:36:23]: Checking pending install on fpc0

[Mar 10 18:36:24]: Validating on fpc0
[Mar 10 18:36:49]: Done with validate on all virtual chassis members

fpc0:
Verify the signature of the new package
tar: +CONTENTS: time stamp Dec 28 06:52 2018 is 119967324 s in the future
tar: +COMMENT: time stamp Dec 28 06:52 2018 is 119967324 s in the future
tar: +DESC: time stamp Dec 28 06:52 2018 is 119967324 s in the future
tar: +INSTALL: time stamp Dec 28 06:52 2018 is 119967324 s in the future
tar: jinstall-ex-3300-12.3R12-S12-domestic.tgz: time stamp Dec 28 06:52 2018 is 119967292 s in the future
tar: jinstall-ex-3300-12.3R12-S12-domestic.tgz.md5: time stamp Dec 28 06:52 2018 is 119967295 s in the future
tar: jinstall-ex-3300-12.3R12-S12-domestic.tgz.sha1: time stamp Dec 28 06:52 2018 is 119967293 s in the future
tar: jinstall-ex-3300-12.3R12-S12-domestic.tgz.sig: time stamp Dec 28 06:52 2018 is 119967295 s in the future
tar: certs.pem: time stamp Dec 28 01:54 2018 is 119949392 s in the future
Verified jinstall-ex-3300-12.3R12-S12-domestic.tgz signed by PackageProduction_12_3_0
WARNING: A reboot is required to install the software
WARNING:     Use the 'request system reboot' command immediately

然后重启:

request system reboot

重启成功后复制新系统到备份分区:

request system snapshot slice alternate

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据