MSR路由器作为FTP
Client
进行Comware版本升级的方法
1.组网图
2.设备基本配置
#
interface Ethernet0/0 //用于连接client 的接口地址
port link-mode route
ip address
#
3.操作步骤
1.确认设备FTP功能使用正常
2.查看设备启动时使用的配置文件与启动时加载的版本信息
<H
The boot file used this time:cf:/msr20-cmw520-r1508-si.bin attribute: main
The boot file used next time:cf:/msr20-cmw520-r1508-si.bin attribute: main
The boot file used next time:cf:/msr20-cmw520-r1508-si.bin attribute: backup
<H
Current startup saved-configuration file: cf:/config.cfg
Next main startup saved-configuration file: cf:/config.cfg
3.使用FTP功能下载设备启动文件,get XXX.bin (启动时加载的版本文件),使用dir 命令查看是否文件上传成功。
<H
Trying
Press CTRL+K to abort
Connected
to
220 3Com 3CDaemon FTP Server Version 2.0
User(
331 User name ok,
need password
[ftp]get msr20-cmw520-r1508p02-si.bin
227 Entering passive mode (10,0,0,2,5,241)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 17926700 byte(s) received in 68.185 second(s), 179.00K byte(s)/sec.
<H
Directory of cf:/
1 -rw- 17925748 Sep 06 2007 18:41:40 msr30-cmw520-r1508-si.bin
6 -rw- 17926700 Sep 29 2007 15:57:10 msr30-cmw520-r1508p02-si.bin
4.设置启动时加载的版本文件为FTP下载的文件 boot-loader
file 文件名
<H
This command will set boot file,
Continue? [Y/N]:y
The specified file will be
used as a main boot file at the next time!
<H
The boot file used at this reboot:cf:/msr30-cmw520-r1508-si.bin attribute: main
The boot file used at the next
reboot:cf:/msr30-cmw520-r1508p02-si.bin attribute: main
5.重新启设备(reboot),启动完毕后Telnet到设备 验证文件是否正常加栽
<H
Start to check configuration with next
startup configuration file, please wait
.........Checking
is finished!
This will reboot device. Continue? [Y/N]:y
Now rebooting, please wait...
<H
H
Comware Software, Version 5.20, Release 1508P02, Standard
Copyright (c) 2004-2007 Hangzhou H
H
Last reboot 2007/10/10 08:20:40
System returned to ROM By Power-up.
注意事项
1.保证设备操作期间,不能出现断电重起现象,断电后,会导致信息丢失,设备无法正常启动。如出现该问题,请参看版本使用手册对设备进行操作。
注:如遇到其他问题,请参考版本使用说明书