2010年8月19日星期四
Juniper SSG 520 通过 Boot Loader升级固件
一、已有条件
SSG 520:
boot loader版本:Saipanloader V1.0.7
firmware screenOS版本:5.4.0
下载的新版本固件:ssg500.6.3.0r4.0
PC机:安装 Cisco TFTP Server,将ssg500.6.3.0r4.0放置到该目录下。PC机ip地址是 192.168.170.210
二、步骤
1、将PC机串口连接SSG 520 Console口,将PC机网口连接SSG520 ethernet0/0,PC机ip地址为192.168.170.210。启动TFTP Server。
2、开启终端工具(如windows hyperterminal),启动SSG 520。终端工具中显示
ScreenOS Saipanloader V1.0.7
Built Mar 19 2009/15:54:12
watchdog_probe, 1132 bus/dev/fn = 0/248 ich = 2640
boot_drive = 80
start1 = 0768, start2 = 3840
Hit 'X' and 'A' to upgrade bootloadermounting FAT16 partition
此时hit 'X' and 'A'
file size = 112
size = 112, sizeof(nvram_rec) = 112
Hit any key to load new firmware
Serial Number []: READ ONLY
BOM Version Number []: READ ONLY
Self MAC Address [0000-0000-0000]: READ ONLYip = 192.168.170.91 svr = 192.168.17
0.210
self_ip_buf = 192.168.170.91, tftp_ip_buf = 192.168.170.210
Firmware File Name [ssg500.6.3.0r4.0]:
Self IP Address [192.168.170.91]:
TFTP IP Address [192.168.170.210]:
IP MASK [255.255.255.0]:
Gateway IP Address [192.168.170.210]:
Saipan motherboard proto 3 or later detected
Probing...[Ethernet0/0 and Ethernet0/1]
Initiating hardware and waiting for link up ...
self_ip = 192.168.170.91, tftp_server_ip = 192.168.170.210
ip = 192.168.170.91 mask = 255.255.255.0 gw = 192.168.170.210 svr = 192.168.170.
210
network_ready = 1
ssg500.6.3.0r4.0
buf_read = 10991, fp->maxposition = 11545327
offset = 0, maxposition = 11545327
11545327 bytes downloaded from tftp server
hdr->magic_number = 81ba16ee, hdr->platform_type = 1700, hdr->cpu_type = 11
Ignore image authentication!
Save to on-board flash disk? (y/[n]/m) Yes,选择Yes
Saving default system image to on-board flash disk...
Program flash (11545327 bytes) f_start = 14536 f_end = 20173
Done
Run downloaded system image? ([y]/n) Yes,选择Yes
loading elf format....
<0x4000000:0x48f5:0x0>
move image from 1001020 -> 4000000, size = 18677
<0x4005000:0xafc000:0x50d8>
move image from 1006020 -> 4005000, size = 11538648
real_entry_addr = 4000000, entry_addr = 4000000
Uncompressing Kernel...
Now booting the kernel
the system has been up for 0 second(s)
the system has been up for 0 second(s)
CPU:GenuineIntel
Version Information:
Extended Family ID = 0
Extended Model ID = 0
Family ID = f
Model = 4
Stepping ID = 9
Processor Type = 0
Brand String = 0
Additional Information:
Brand Index = 0
CLFLUSH Line Size = 64
Initial APIC ID = 0
Feature Information:
FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV
PAT PSE-36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS
HTT TM PBE
Extended Feature Information:
SSE3 MONITOR/MWAIT DS-CPL TM2 CNXT-ID
TLB/Cache Information:
1st-level data cache: 16 KByte, 8-way set associative, 64 byte line size
Data TLB: 4 KByte and 4 MByte pages, 64 entries
Instruction TLB: 4 KByte and 2-MByte or 4-MByte pages, 128 entries
Instruction TLB: 4 KByte Pages, 4-way set associative, 32 entries
2nd-level cache: 256-KB, 4-way set associative, sectored cache, 64-byte line siz
e
Trace cache: 12 K-ooooop, 8-way set associative
No 2nd-level cache or, if processor contains a valid 2nd-level cache, no 3rd-lev
el cache
3: eax = 0, ebx = 0, ecx = 0, edx = 0
4: eax = 121, ebx = 1c0003f, ecx = 1f, edx = 0
eax = 40, ebx = 40, ecx = 0, edx = 0
count = 80000008
Brand String: Intel(R) Celeron(R) CPU 2.53GHz
L1 I Cache: 0K (0 bytes/line), D cache 0K (0 bytes/line)
L2 Cache: 256K (64 bytes/line)
total DRAM size is 1048576 KB
init 0(+100000)
heap 100000(+2bf00000)
iocard 2c000000(+1400000)
packet 2d400000(+800000)
CTRL 2dc00000(+400000)
TASK 2e000000(+12000000)
heap_start = 24ff010, heap_size = 29b00ff0
RCBA = fed1c001
FD = f8ef1
MAP = 1
MAP = 1
bootmap_size = 8000
zone_table[ZONE_TASK].free_pages = 71670, zone_table[ZONE_TASK].num_pages = 7372
8
_fbss = 1cf5000, _end = 24ff000
data_start = 11e2000, data_end = 1cd4000
Juniper Networks, Inc
SSG520/SSG550 System Software
Copyright, 1997-2008
Version 6.3.0r4.0
set_ecb_dcr: not implemented
scan pci 0 devices....
Device found on PCI bus 0:dev_num is 0,vendor id is 0x25888086
Device found on PCI bus 0:dev_num is 1,vendor id is 0x25898086
Device found on PCI bus 0:dev_num is 29,vendor id is 0x26588086
Device found on PCI bus 0:dev_num is 30,vendor id is 0x244e8086
Device found on PCI bus 0:dev_num is 31,vendor id is 0x26408086
scan pci 1 devices....
Device found on PCI bus 1:dev_num is 0,vendor id is 0x03298086
scan pci 2 devices....
Device found on PCI bus 2:dev_num is 2,vendor id is 0x90001148
Device found on PCI bus 2:dev_num is 3,vendor id is 0x90001148
cav_bar_init: called. Dump BARs PCI conf regs --
cav_bar_init: called. orig reg setting: PCI 10 = 0000e801, 18 = 0000e401
Load Manufacture Information ... init manufacture info Done
cfcard ready.
Install module init vectors
Changed to l3 mode
IO_CARD_BUF_START: 0x2c000000
ssg Searching GbE devices...
On-board GbE device found, VID = 0x1148, DID = 0x9000 Bus 2, Slot 2
On-board GbE device found, VID = 0x1148, DID = 0x9000 Bus 2, Slot 3
Total on-board GbE devices found 2
Total adapter GbE devices found 0
Install modules (011e2000,01cd4000) ...
PPP IP-POOL initiated, 256 pools
Initializing DI 1.1.0-ns
System config (743 bytes) loaded
Done.
Load System Configuration .....................
Unsupported command - set zone "VLAN" block
................................
Unsupported command - set dl-buf size 4718592
...........Done
system init done..
Load NVRAM Information ... (5.4.0)Done
login: ethernet0/0 interface change physical state to Up
login:
启动后为ScreenOS 6.3.0 r4
SSG 520:
boot loader版本:Saipanloader V1.0.7
firmware screenOS版本:5.4.0
下载的新版本固件:ssg500.6.3.0r4.0
PC机:安装 Cisco TFTP Server,将ssg500.6.3.0r4.0放置到该目录下。PC机ip地址是 192.168.170.210
二、步骤
1、将PC机串口连接SSG 520 Console口,将PC机网口连接SSG520 ethernet0/0,PC机ip地址为192.168.170.210。启动TFTP Server。
2、开启终端工具(如windows hyperterminal),启动SSG 520。终端工具中显示
ScreenOS Saipanloader V1.0.7
Built Mar 19 2009/15:54:12
watchdog_probe, 1132 bus/dev/fn = 0/248 ich = 2640
boot_drive = 80
start1 = 0768, start2 = 3840
Hit 'X' and 'A' to upgrade bootloadermounting FAT16 partition
此时hit 'X' and 'A'
file size = 112
size = 112, sizeof(nvram_rec) = 112
Hit any key to load new firmware
Serial Number []: READ ONLY
BOM Version Number []: READ ONLY
Self MAC Address [0000-0000-0000]: READ ONLYip = 192.168.170.91 svr = 192.168.17
0.210
self_ip_buf = 192.168.170.91, tftp_ip_buf = 192.168.170.210
Firmware File Name [ssg500.6.3.0r4.0]:
Self IP Address [192.168.170.91]:
TFTP IP Address [192.168.170.210]:
IP MASK [255.255.255.0]:
Gateway IP Address [192.168.170.210]:
Saipan motherboard proto 3 or later detected
Probing...[Ethernet0/0 and Ethernet0/1]
Initiating hardware and waiting for link up ...
self_ip = 192.168.170.91, tftp_server_ip = 192.168.170.210
ip = 192.168.170.91 mask = 255.255.255.0 gw = 192.168.170.210 svr = 192.168.170.
210
network_ready = 1
ssg500.6.3.0r4.0
buf_read = 10991, fp->maxposition = 11545327
offset = 0, maxposition = 11545327
11545327 bytes downloaded from tftp server
hdr->magic_number = 81ba16ee, hdr->platform_type = 1700, hdr->cpu_type = 11
Ignore image authentication!
Save to on-board flash disk? (y/[n]/m) Yes,选择Yes
Saving default system image to on-board flash disk...
Program flash (11545327 bytes) f_start = 14536 f_end = 20173
Done
Run downloaded system image? ([y]/n) Yes,选择Yes
loading elf format....
<0x4000000:0x48f5:0x0>
move image from 1001020 -> 4000000, size = 18677
<0x4005000:0xafc000:0x50d8>
move image from 1006020 -> 4005000, size = 11538648
real_entry_addr = 4000000, entry_addr = 4000000
Uncompressing Kernel...
Now booting the kernel
the system has been up for 0 second(s)
the system has been up for 0 second(s)
CPU:GenuineIntel
Version Information:
Extended Family ID = 0
Extended Model ID = 0
Family ID = f
Model = 4
Stepping ID = 9
Processor Type = 0
Brand String = 0
Additional Information:
Brand Index = 0
CLFLUSH Line Size = 64
Initial APIC ID = 0
Feature Information:
FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV
PAT PSE-36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS
HTT TM PBE
Extended Feature Information:
SSE3 MONITOR/MWAIT DS-CPL TM2 CNXT-ID
TLB/Cache Information:
1st-level data cache: 16 KByte, 8-way set associative, 64 byte line size
Data TLB: 4 KByte and 4 MByte pages, 64 entries
Instruction TLB: 4 KByte and 2-MByte or 4-MByte pages, 128 entries
Instruction TLB: 4 KByte Pages, 4-way set associative, 32 entries
2nd-level cache: 256-KB, 4-way set associative, sectored cache, 64-byte line siz
e
Trace cache: 12 K-ooooop, 8-way set associative
No 2nd-level cache or, if processor contains a valid 2nd-level cache, no 3rd-lev
el cache
3: eax = 0, ebx = 0, ecx = 0, edx = 0
4: eax = 121, ebx = 1c0003f, ecx = 1f, edx = 0
eax = 40, ebx = 40, ecx = 0, edx = 0
count = 80000008
Brand String: Intel(R) Celeron(R) CPU 2.53GHz
L1 I Cache: 0K (0 bytes/line), D cache 0K (0 bytes/line)
L2 Cache: 256K (64 bytes/line)
total DRAM size is 1048576 KB
init 0(+100000)
heap 100000(+2bf00000)
iocard 2c000000(+1400000)
packet 2d400000(+800000)
CTRL 2dc00000(+400000)
TASK 2e000000(+12000000)
heap_start = 24ff010, heap_size = 29b00ff0
RCBA = fed1c001
FD = f8ef1
MAP = 1
MAP = 1
bootmap_size = 8000
zone_table[ZONE_TASK].free_pages = 71670, zone_table[ZONE_TASK].num_pages = 7372
8
_fbss = 1cf5000, _end = 24ff000
data_start = 11e2000, data_end = 1cd4000
Juniper Networks, Inc
SSG520/SSG550 System Software
Copyright, 1997-2008
Version 6.3.0r4.0
set_ecb_dcr: not implemented
scan pci 0 devices....
Device found on PCI bus 0:dev_num is 0,vendor id is 0x25888086
Device found on PCI bus 0:dev_num is 1,vendor id is 0x25898086
Device found on PCI bus 0:dev_num is 29,vendor id is 0x26588086
Device found on PCI bus 0:dev_num is 30,vendor id is 0x244e8086
Device found on PCI bus 0:dev_num is 31,vendor id is 0x26408086
scan pci 1 devices....
Device found on PCI bus 1:dev_num is 0,vendor id is 0x03298086
scan pci 2 devices....
Device found on PCI bus 2:dev_num is 2,vendor id is 0x90001148
Device found on PCI bus 2:dev_num is 3,vendor id is 0x90001148
cav_bar_init: called. Dump BARs PCI conf regs --
cav_bar_init: called. orig reg setting: PCI 10 = 0000e801, 18 = 0000e401
Load Manufacture Information ... init manufacture info Done
cfcard ready.
Install module init vectors
Changed to l3 mode
IO_CARD_BUF_START: 0x2c000000
ssg Searching GbE devices...
On-board GbE device found, VID = 0x1148, DID = 0x9000 Bus 2, Slot 2
On-board GbE device found, VID = 0x1148, DID = 0x9000 Bus 2, Slot 3
Total on-board GbE devices found 2
Total adapter GbE devices found 0
Install modules (011e2000,01cd4000) ...
PPP IP-POOL initiated, 256 pools
Initializing DI 1.1.0-ns
System config (743 bytes) loaded
Done.
Load System Configuration .....................
Unsupported command - set zone "VLAN" block
................................
Unsupported command - set dl-buf size 4718592
...........Done
system init done..
Load NVRAM Information ... (5.4.0)Done
login: ethernet0/0 interface change physical state to Up
login:
启动后为ScreenOS 6.3.0 r4
标签: Boot Loader, Firmware upgrade, Juniper SSG 520
Juniper SSG 5通过Boot Loader升级固件
一、已有条件
SSG 5:
boot loader版本:Boot Loader Version 1.3.3
firmware screenOS版本:6.1.0
下载的新版本固件:ssg5ssg20.6.3.0r4.0
PC机:安装Solarwinds TFTP Server,其默认根目录默认为c:\TFTP-Root,已经将ssg5ssg20.6.3.0r4.0放置到该目录下。PC机ip地址是 192.168.170.210
二、步骤
1、将PC机串口连接SSG 5Console口,将PC机网口连接SSG5 ethernet0/3,PC机ip地址为192.168.170.210。启动TFTP Server。
2、开启终端工具(如windows hyperterminal),启动SSG 5。终端工具中显示
Juniper Networks SSG5 Boot Loader Version 1.3.3 (Checksum: D8BC25A8)
Copyright (c) 1997-2006 Juniper Networks, Inc.
Total physical memory: 256MB
Test - Pass
Initialization - Done
Hit any key to run loader
Hit any key to run loader
此时hit any key,
Serial Number [0162042009001887]: READ ONLY
HW Version Number [0710]: READ ONLY
Self MAC Address [0023-9c38-99c0]: READ ONLY
Boot File Name [ssg5ssg20.6.3.0r4.0]:ssg5ssg20.6.3.0r4.0
Self IP Address [192.168.170.91]:192.168.170.91
TFTP IP Address [192.168.170.210]:192.168.170.210
顺利的话
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata
Loaded Successfully! (size = 13,280,811 bytes)
Image authenticated!
3、Save to on-board flash disk? (y/[n]/m) Yes!
此步选择yes,才能每次都能启动新固件,不同于升级boot loader,虽然升级入口都一样(Hit any key)
然后,
Saving system image to on-board flash disk...
Done! (size = 13,280,811 bytes)
4、Run downloaded system image? ([y]/n) Yes!
Start loading...
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
......................
Done.
Juniper Networks, Inc
SSG5/SSG20 System Software
Copyright, 1997-2008
Version 6.3.0r4.0
Cksum:d99f6452
Load Manufacture Information ... Done
Initialize FBTL 0........ Done
Load NVRAM Information ... (6.1.0)Done
Install module init vectors
The device is storing the firmware into reserved flash sectors.
Please do not power off the device during this operation. Doing so could result
in loss of firmware.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++
The device successfully completed the operation.
Changed to l3 mode
Install modules (01254800,01fb4000) ...
PPP IP-POOL initiated, 256 pools
Initializing DI 1.1.0-ns
System config (1331 bytes) loaded
Done.
Load System Configuration ...............................
Unsupported command - set zone "VLAN" block
..................................modem is not detected
....................................Disabled licensekey auto update
...........Done
system init done..
login: ethernet0/3 interface change physical state to Up
bgroup0 interface change physical state to Up
System change state to Active(1)
升级成功,此时进入ScreenOS 6.3.0r4
SSG 5:
boot loader版本:Boot Loader Version 1.3.3
firmware screenOS版本:6.1.0
下载的新版本固件:ssg5ssg20.6.3.0r4.0
PC机:安装Solarwinds TFTP Server,其默认根目录默认为c:\TFTP-Root,已经将ssg5ssg20.6.3.0r4.0放置到该目录下。PC机ip地址是 192.168.170.210
二、步骤
1、将PC机串口连接SSG 5Console口,将PC机网口连接SSG5 ethernet0/3,PC机ip地址为192.168.170.210。启动TFTP Server。
2、开启终端工具(如windows hyperterminal),启动SSG 5。终端工具中显示
Juniper Networks SSG5 Boot Loader Version 1.3.3 (Checksum: D8BC25A8)
Copyright (c) 1997-2006 Juniper Networks, Inc.
Total physical memory: 256MB
Test - Pass
Initialization - Done
Hit any key to run loader
Hit any key to run loader
此时hit any key,
Serial Number [0162042009001887]: READ ONLY
HW Version Number [0710]: READ ONLY
Self MAC Address [0023-9c38-99c0]: READ ONLY
Boot File Name [ssg5ssg20.6.3.0r4.0]:ssg5ssg20.6.3.0r4.0
Self IP Address [192.168.170.91]:192.168.170.91
TFTP IP Address [192.168.170.210]:192.168.170.210
顺利的话
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!ata!at
a!ata!ata!ata!ata!ata!ata!ata
Loaded Successfully! (size = 13,280,811 bytes)
Image authenticated!
3、Save to on-board flash disk? (y/[n]/m) Yes!
此步选择yes,才能每次都能启动新固件,不同于升级boot loader,虽然升级入口都一样(Hit any key)
然后,
Saving system image to on-board flash disk...
Done! (size = 13,280,811 bytes)
4、Run downloaded system image? ([y]/n) Yes!
Start loading...
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
.................................................................
......................
Done.
Juniper Networks, Inc
SSG5/SSG20 System Software
Copyright, 1997-2008
Version 6.3.0r4.0
Cksum:d99f6452
Load Manufacture Information ... Done
Initialize FBTL 0........ Done
Load NVRAM Information ... (6.1.0)Done
Install module init vectors
The device is storing the firmware into reserved flash sectors.
Please do not power off the device during this operation. Doing so could result
in loss of firmware.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++
The device successfully completed the operation.
Changed to l3 mode
Install modules (01254800,01fb4000) ...
PPP IP-POOL initiated, 256 pools
Initializing DI 1.1.0-ns
System config (1331 bytes) loaded
Done.
Load System Configuration ...............................
Unsupported command - set zone "VLAN" block
..................................modem is not detected
....................................Disabled licensekey auto update
...........Done
system init done..
login: ethernet0/3 interface change physical state to Up
bgroup0 interface change physical state to Up
System change state to Active(1)
升级成功,此时进入ScreenOS 6.3.0r4
标签: Boot Loader, Firmware upgrade, Juniper SSG 5
订阅 博文 [Atom]