防火墙FW5030命令行升级版本步骤及详细流程,还有问下FW5030目前的稳定版本是哪个版本,是一般最新版本的上一个版本吗
(0)
最佳答案
目前的推荐版本是22年稳定版本:CMW710-R9660P29
命令行升级步骤:
设备作为FTP Client,访问FTP文件服务器的指定路径,完成启动文件的备份及升级操作,具体操作步骤如下:
(1) 备份当前启动文件和配置文件
# 在命令行配置界面的任意视图下,执行save命令保存设备当前配置信息:
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
cfa0:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
<Sysname>
# 在命令行配置界面的用户视图下,执行dir命令查看设备当前的文件系统,确认启动文件及配置文件名,以及CF的剩余空间,保证CF有足够空间放入新的启动文件:
<Sysname> dir
Directory of cfa0:
0 drw- - Jul 06 2017 15:04:22 context
1 drw- - Jul 05 2017 10:01:40 diagfile
2 drw- - Jul 05 2017 10:36:20 dpi
3 -rw- 735 Jul 05 2017 10:01:48 hostkey
4 -rw- 735 Jul 05 2017 09:24:34 hostkey_v3
5 -rw- 805 Nov 27 2017 19:50:26 ifindex.dat
6 drw- - Nov 27 2017 19:40:15 license
7 drw- - Jul 06 2017 10:27:44 logfile
8 drw- - Nov 27 2017 19:40:32 pki
9 -rw- 1676 Jul 05 2017 09:40:20 private-data.txt
10 drw- - Jul 05 2017 09:24:26 seclog
11 -rw- 591 Nov 27 2017 19:40:32 serverkey
12 -rw- 3928 Nov 27 2017 19:50:27 startup.cfg
13 -rw- 77641 Nov 27 2017 19:50:27 startup.mdb
14 drw- - Nov 27 2017 19:40:27 versionInfo
252164 KB total (146614 KB free)
<Sysname>
在文件服务器上启动FTP Server程序,设置启动文件所在的路径,以及FTP用户名和密码。本例设置用户名为user123,密码为123456。
# 在命令行配置界面的用户视图下,执行ftp命令登录FTP文件服务器,根据系统提示输入登录用户名和密码:
<Sysname> ftp 192.168.0.2
Press CTRL+C to abort.
Connected to 192.168.0.2 (192.168.0.2).
220 3Com 3CDaemon FTP Server Version 2.0
User (192.168.0.2:(none)): user123
331 User name ok, need password
Password:
230 User logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
# 在FTP客户端视图下,执行put命令分别将配置文件startup.cfg备份到FTP文件服务器上:
ftp> put startup.cfg
227 Entering passive mode (192,168,0,2,26,3)
125 Using existing data connection
.
226 Closing data connection; File transfer successful.
3950 bytes sent in 0.001 seconds (4.13 Mbytes/s)
ftp>
(2) 升级启动文件
# 在FTP客户端视图下,执行get命令将启动文件main.ipe导入到设备的CF中:
ftp> get main.ipe
227 Entering passive mode (192,168,0,2,8,252)
125 Using existing data connection
226 Closing data connection; File transfer successful.
107934720 bytes received in 187.994 seconds (560.68 Kbytes/s)
ftp>
# 在FTP客户端视图下,执行quit命令,返回到命令行配置界面的用户视图:
ftp> quit
221 Service closing control connection
<Sysname>
# 在命令行配置界面的用户视图下,执行boot-loader命令设置设备下次启动使用的启动文件为main.ipe,并指定启动文件类型为main:
<Sysname> boot-loader file cfa0:/main.ipe all main
Verifying the file cfa0:/main.ipe on slot 1.........Done.
H3C SecPath images in IPE:
main-cmw710-boot-XXX.bin
main-cmw710-system-XXX.bin
This command will set the main startup software images. Please do not reboot any
MPU during the upgrade. Continue? [Y/N]:y
Add images to slot 1.
File cfa0:/main-cmw710-boot-XXX.bin already exists on slot 1.
File cfa0:/main-cmw710-system-XXX.bin already exists on slot 1.
Overwrite the existing files? [Y/N]:y
Decompressing file main-cmw710-boot-XXX.bin to cfa0:/main-cmw710-bo
ot-XXX.bin..........Done.
Decompressing file main-cmw710-system-XXX.bin to cfa0:/main-cmw710-system-XXX.bin.............................................................
................................................................................
...............................Done.
Verifying the file cfa0:/main-cmw710-boot-XXX.bin on slot 1...Done.
Verifying the file cfa0:/main-cmw710-system-XXX.bin on slot 1.........D
one.
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on slot 1.
Decompression completed.
Do you want to delete cfa0:/main.ipe now? [Y/N]:N
<Sysname>
# 在命令行配置界面的用户视图下,执行display boot-loader命令查看设备的启动程序文件信息:
<Sysname> display boot-loader
Software images on slot 2:
Current software images:
cfa0:/main-cmw710-boot-XXX.bin
cfa0:/main-cmw710-system-XXX.bin
Main startup software images:
cfa0:/main-cmw710-boot-XXX.bin
cfa0:/main-cmw710-system-XXX.bin
Backup startup software images:
cfa0:/main-cmw710-boot-XXX.bin
cfa0:/main-cmw710-system-XXX.bin
<Sysname>
如上显示信息中,下一次启动的程序文件已经设置为main.ipe。
# 在命令行配置界面的用户视图下,执行reboot命令重启设备:
<Sysname> reboot
Start to check configuration with next startup configuration file, please wait.
........DONE!
This command will reboot the device. Continue? [Y/N]:y
System is starting...
……略……
# 设备重启后,通过display version命令查看设备的启动文件版本信息是否与升级的启动文件一致
<Sysname> display version
H3C Comware Software, Version 7.1.064, Release XXX
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. All rights reserved.
H3C SecPath uptime is 0 weeks, 0 days, 0 hours, 21 minutes
Last reboot reason: Warm reboot
Boot image: cfa0:/main-cmw710-boot-XXX.bin
Boot image version: 7.1.064, Release XXX
Compiled Nov 10 2017 16:00:00
System image: cfa0:/main-cmw710-system-XXX.bin
System image version: 7.1.064, Release XXX
Compiled Nov 10 2017 16:00:00
SLOT 1
CPU type: Multi-core CPU
DDR3 SDRAM Memory 16382M bytes
CF0 Card 247M bytes
Board PCB Version:Ver.A
CPLD_A Version: 1.0
CPLD_B Version: 2.0
Release Version:SecPath XXX
Basic BootWare Version: 2.05
Extend BootWare Version: 2.05
希望对你有帮助
(0)
是的,一般都是建议升级到最新的,也就是最上面的。但是F5030 官网中就一个稳定的版本
升级步骤在升级软件包中的版本说明中的附录C中有指到说明
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论