Juniper SSG5 從usb升級ScreenOS
Juniper SSG 從usb升級ScreenOS:
在繼續閱讀前請先看過以下連結,非常重要!!
要先將隨身碟格式化成 FAT32 的檔案格式,且隨身碟必容量須等於或小於4GB,若大於4GB時就會出現掛載失敗。
SSG5-serial->
SanDisk Ultra, rev 2.10/1.00, addr 2, SCSI over Bulk-Only
Mount usb device. Please wait...
Usb
disk size is larger than 4G .Mount
failed!
/* 當您插入的隨身碟大於4GB時就會掛載失敗 */
在Juniper SSG5的背板有一個USB插槽,可以讓您在沒有網路連線能力下直接昇級,以下是詳細的過程說明:
1. 先在您的電腦上把取得的SSG5 image file解壓縮,因為從網站上下載的通常是壓縮檔(.zip),您必須先解壓縮成原始的image file檔案,例如我從網站上下載的檔案名稱是 "SSG5SSG20.6.3 .0r23.zip",解壓縮之後的檔名是 "SSG5SSG20.6.3.0r23",另外還要準備好image-key檔案imagekey.cer,而您必須先確認您手中的image file是跟imagekey.cer是批配的(請參考上面網路連結)。
2. 然後直接把兩個檔案複製到USB隨身碟中,再將USB隨身碟插入SSG5背板的USB插槽中。
當插入隨身碟時,console會出現以下訊息:
ssg5-serial-> /* 當您插入的隨身碟小於4GB時才能正常的被掛載 */
Sony Storage Media, rev 2.00/2.00, addr 2, SCSI over
Bulk-Only
Mount usb device. Please wait...
usb device (usb) ready.
ssg5-serial->
請先檢查一下原有SSG5的版本號碼:
SSG5-serial-> get system
Product Name: SSG5-Serial
Serial Number: 0162072011007638,Control Number: 00000000
Hardware Version: 0710(0)-(00),FPGA checksum: 00000000,VLAN1 IP (0.0.0 .0)
Flash Type: Samsung
Software Version: 6.3.0r9.0,Type: Firewall+VPN
Feature: AV-K
BOOT Loader Version: 1.3.3
Product Name: SSG5-Serial
Serial Number: 0162072011007638,Control Number: 00000000
Hardware Version: 0710(0)-(00),FPGA checksum: 00000000,VLAN1 IP (
Flash Type: Samsung
Software Version: 6.3.0r9.0,Type: Firewall+VPN
Feature: AV-K
BOOT Loader Version: 1.3.3
請在CLI命令列輸入以下命令:
SSG5-serial-> save image-key usb imagekey.cer ##載入新的image-key
Read .finished
wait...Done
SSG5-serial-> save soft from usb SSG5SSG20.6.3 .0r23
to flash ##載入新的ScreenOS
It will replace current image file with usb image
SSG5SSG20.6.2 .0r3.0.
Do you want to continue... y/[n] y /* 要按y */
Load image from usb to flash: SSG5SSG20.6.2 .0r3.0.
Read
...............................................
SSG5-serial-> reset
##載入後要重開機
System reset,are you sure? y/[n] y /* 要按y */
In reset ...
Juniper Networks,Inc SSG5/SSG20 System Software
Copyright,1997-2008
Version 6.2.0 r3.0
< firmware is now upgraded
password:
SSG5-serial-> get
system /* 看看是否已升級成功 */
Product Name: SSG5-Serial
Serial Number: 0162072011007638,Control Number: 00000000
Hardware Version: 0710(0)-(00),FPGA checksum: 00000000,VLAN1 IP (0.0.0 .0)
Flash Type: Samsung
Software Version: 6.3.0r23,Type: Firewall+VPN
Feature: AV-K
BOOT Loader Version: 1.3.3
Product Name: SSG5-Serial
Serial Number: 0162072011007638,Control Number: 00000000
Hardware Version: 0710(0)-(00),FPGA checksum: 00000000,VLAN1 IP (
Flash Type: Samsung
Software Version: 6.3.0r23,Type: Firewall+VPN
Feature: AV-K
BOOT Loader Version: 1.3.3
若要安全地移除USB設備,請執行以下命令:
SSG5-serial-> exec usb-device stop
若沒有正常移除USB設備就會出現以下的訊息:
ssg5-serial->
usb
device is removed illegally!
大功告成!