使用U盤升級EX交換機

   有臺4300須要使用usb升級到JTAC推薦版本,以前個人U盤作成了Srx550的啓動盤,格式化將軟件版本放進去,插到EX4300上,發現scrt在shell模式下沒有輸出U盤信息,查詢kb發現須要將U盤格式設置爲fat32shell

  1. 從新格式化U盤之後插入,能夠看到shell模式下輸出:dom

root@hostname:0% umass1: PNY Hook Attache, rev 2.00/0.00, addr 2ide

da1 at umass-sim1 bus 1 target 0 lun 0
ui

da1: <PNY Hook Attache 1.00> Removable Direct Access SCSI-4 device 
spa

da1: 40.000MB/s transfers
unix

da1: 7650MB (15667200 512 byte sectors: 255H 63S/T 975C)
orm

  2. 掛載U盤,查看文件,已經能夠看到4300的版本(Junos系統是基於freebsd unix,因此查看文件list的命令跟unix同樣):rem

root@hostname:RE:0%  mount_msdosfs /dev/da1s1 /mnt       (這裏的對應shell輸出)rpc

root@hostname:RE:0%  cd /mntget

root@hostname:0%  ls

.Spotlight-V100

._jinstall-ex-4300-14.1X53-D46.7-domestic-signed.tgz

.fseventsd

 3.將文件複製到var/tmp/裏面,(junos文件放置到var/tmp下面)並檢查:

root@hostname:0% cp jinstall-ex-4300-14.1X53-D46.7-domestic-signed.tgz /var/tmp

root@hostname:0% cd /var/tmp

root@hostname:0% ls

.snap

ex_autod_config

ex_autod_rollback_cfg

gres-tp

install

jdhcpd.core-tarball.0.tgz

jinstall-ex-4300-14.1X53-D46.7-domestic-signed.tgz

pics

rtsdb

sampled.pkts

snap

usb

vi.recove

4.安裝軟件包升級而且重啓:

root@hostname> request system software add /var/tmp/jinstall-ex-4300-14.1X53-D46.7-domestic-signed.tgz no-c no-p reboot

這是遇到一個報錯:

ERROR: Package signature validation failed.  Aborting install.

查詢kb的時候,並無找到這個error,可是找到另外一個kb:U盤升級失敗是系統時間的問題。

我設置下系統時間:

root@hostname> show system uptime 

fpc0:

--------------------------------------------------------------------------

Current time: 2014-09-02 21:14:21 UTC

System booted: 2014-09-02 19:44:57 UTC (01:29:24 ago)

Protocols started: 2014-09-02 19:46:19 UTC (01:28:02 ago)

Last configured: 2014-09-02 19:45:15 UTC (01:29:06 ago) by root

 9:14PM  up 1:29, 1 user, load averages: 0.52, 0.61, 0.54



root@hostname> set date 201107071700.00 

date: connect: Cwarning: clock_settime failed (16), time-of-day clock not adjusted to system time

an't assign requested address

Thu Jul  7 17:00:00 UTC 2011


  從新升級:  

root@hostname> request system software add /var/tmp/jinstall-ex-4300-14.1X53-D46.7-domestic-signed.tgz no-c no-p reboot

  系統開始升級重啓。


5.設備升級之後檢查版本,升級成功:

root@hostname> show version 

fpc0:

--------------------------------------------------------------------------

Hostname: hostname

Model: ex4300-32f

Junos: 14.1X53-D46.7

JUNOS EX  Software Suite [14.1X53-D46.7]

JUNOS FIPS mode utilities [14.1X53-D46.7]

JUNOS Online Documentation [14.1X53-D46.7]

JUNOS EX 4300 Software Suite [14.1X53-D46.7]

JUNOS Web Management Platform Package [14.1X53-D46.7]

JUNOS py-base-powerpc [14.1X53-D46.7]


檢查系統時間,自動更新爲了2017年。關於上面的這個error,是設備主機和IOS證書認證時時間衝突。

相關文章
相關標籤/搜索