防火墙升级问题,老版防火墙太S13了,连系统都没有看到
升级一手:这是之前的启动文件
找400要了软件包
一个BIN,一个IPE。
区别在于如果内存大于ipe的俩倍就执行ipe文件,没有的话就用bin文件,个人觉得BIN更好用,直接加载重启
========================================
正式开始:
通过命令行去升级防火墙
首先查看防火墙的内存大小
dis memory
多少GB对应什么样的软件包
先将软件包copy到U盘中去,再将U盘插入到防火墙中去:
在slot1:usba3:/或者slot1:usba0:/
然后将升级软件包copy到防火墙的flash:/
copy soure_file_name destination_file_name
再将原有的启动文件删除
delete /unreserved flie_name (可永久删除不占有内存)
(delete删除有坑,内存不变,导致东西没有变少,结果你就啥也干不了)
然后查看剩余的内存:[save flash:/(重新载入一下再用dir)]
1.如果内存够ipe文件的俩倍,那么就执行ipe文件
boot-loader file flash:/f1010.ipe all main
2.如果内存不够的话,那么就执行bin文件
boot-loader file boot flash:/f1010fw-cmw710-boot-R9524P25.bin system flash:/f1010fw-cmw710-system-R9524P25.bin all main
#在命令行配置界面的用户视图下,执行display boot-loader命令查看设备的启动程序文件信息,确认Main startup software images:为新上传的版本文件即可。
(这是我实际操作之前的文件,那是操作之后的文件)
<H3C>display boot-loader
Software images on slot 1:
Current software images:
flash:/f1010fw-cmw710-boot-E9504P11.bin
flash:/f1010fw-cmw710-system-E9504P11.bin
Main startup software images:
flash:/f1010fw-cmw710-boot-R9524P25.bin
flash:/f1010fw-cmw710-system-R9524P25.bin
Backup startup software images:
None
========================================
有关的查询命令:
<H3C>dir
Directory of flash:
0 drw- - Dec 07 2019 12:56:30 diagfile
1 drw- - Oct 14 2020 11:10:56 dpi
2 -rw- 6149120 Dec 07 2019 01:13:37 f1010fw-cmw710-boot-r9510p12.bin
3 -rw- 94595072 Dec 07 2019 01:14:22 f1010fw-cmw710-system-r9510p12.bin
4 -rw- 735 Dec 07 2019 12:56:54 hostkey
5 -rw- 338 Oct 14 2020 11:20:24 ifindex.dat
6 drw- - Dec 07 2019 12:56:31 license
7 drw- - Dec 07 2019 12:56:30 logfile
8 drw- - Dec 07 2019 12:56:53 pki
9 drw- - Dec 07 2019 12:56:30 seclog
10 -rw- 591 Dec 07 2019 12:56:54 serverkey
11 -rw- 4549 Oct 14 2020 11:20:24 startup.cfg
12 -rw- 71336 Oct 14 2020 11:20:24 startup.mdb
<H3C>dis boot-loader
Software images on slot 1:
Current software images:
flash:/f1010fw-cmw710-boot-R9510P12.bin
flash:/f1010fw-cmw710-system-R9510P12.bin
Main startup software images:
flash:/f1010fw-cmw710-boot-R9510P12.bin
flash:/f1010fw-cmw710-system-R9510P12.bin
Backup startup software images:
262144 KB total (162460 KB free)
<H3C>dis version
H3C Comware Software, Version 7.1.064, Release 9510P12
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C SecPath F1005 uptime is 0 weeks, 0 days, 2 hours, 25 minutes
Boot image: flash:/f1010fw-cmw710-boot-R9510P12.bin
Boot image version: 7.1.064, Release 9510P12
Compiled Feb 28 2019 16:00:00
System image: flash:/f1010fw-cmw710-system-R9510P12.bin
System image version: 7.1.064, Release 9510P12
Compiled Feb 28 2019 16:00:00
SLOT 1
CPU type: Multi-core CPU
DDR3 SDRAM Memory 2032M bytes
Board PCB Version:Ver.A
Basic BootWare Version: 3.00
Extend BootWare Version: 3.00
[SubSlot 0]12GE (Hardware)Ver.A, (Driver)1.0