MSR路由器作为FTP Server进行Comware版本升级的方法
如何通过FTP方式进行远处Comware升级?
1.组网图
图见附件1
2.设备基本配置
#
ftp server enable //全局启用 FTP Server
#
local-user h3c //建立FTP帐号
password simple h3c // 设置密码
level 3 //级别为3
service-type ftp // 用户类型为FTP
#
interface Ethernet0/0 //用于连接client 的接口地址
port link-mode route
ip address 10.0.0.1 255.255.255.0
#
3.操作步骤
1.确认设备FTP功能与Telnet 功能使用正常
2.查看设备启动时使用的配置文件与启动时加载的版本信息
<H3C>dis boot-loader
The boot file used this time:cf:/msr20-cmw520-b1202.bin attribute: main
The boot file used next time:cf:/msr20-cmw520-b1202.bin attribute: main
The boot file used next time:cf:/msr20-cmw520-b1202.bin attribute: backup
< H3C >dis startup
Current startup saved-configuration file: cf:/vrpcfg.cfg
Next main startup saved-configuration file: cf:/vrpcfg.cfg
3.使用FTP功能上传设备启动文件,put XXX.bin (启动时加载的版本文件),使用dir 命令。查看 是否文件上传成功
图见附件2
< H3C >dir
Directory of cf:/
0 -rw- 12258924 Jan 18 2007 09:06:42 msr20-cmw520-b1203bi.bin
4.设置启动时加载的版本文件为FTP上传的文件 boot-loader file 文件名
< H3C >boot-loader file msr20-cmw520-b1203bi.bin main
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!
< H3C >dis boot-loader
The boot file used next time:cf:/msr20-cmw520-b1203bi.bin attribute: main
5.重新启设备(reboot),启动完毕后Telnet到设备 验证文件是否正常加栽
< H3C >reboot
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...
< H3C >dis ver
Copyright Notice:
All rights reserved (Oct 25 2006).
Without the owner's prior written consent, no decompiling
nor reverse-engineering shall be allowed.
Huawei Versatile Routing Platform Software
VRP software, Version 5.20, Beta 1203, Basic
4 注意事项
1.保证设备操作期间,不能出现断电重启现象,断电后,会导致信息丢失,设备无法正常启动。如出现该问题,请参看版本使用手册对设备进行操作。
附件
-
1.JPG
(7.27 KB)
-
2007-9-8 10:58
-
2.JPG
(12.8 KB)
-
2007-9-8 10:58