MSR路由器作为TFTP Client进行Comware版本升级的方法
1.组网图
见附件1
2.设备基本配置
#
interface Ethernet0/0 //用于连接client 的接口地址
port link-mode route
ip address 192.168.1.245 255.255.255.0
#
3.操作步骤
1.确认设备 TFTP功能使用正常
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.使用TFTP功能下栽设备启动文件,get XXXX.bin (启动时加载的版本文件),使用dir 命令查看 是否文件上传成功
< H3C >tftp 192.168.0.36 get msr20-cmw520-b1202.bin
File will be transferred in binary mode.
Downloading file from remote tftp server, please wait.......................................................
TFTP: 12695261 bytes received in 260 second(s).
File downloaded successfully.
< H3C >dir
Directory of cf:/
0 -rw- 12258924 Jan 18 2007 09:06:42 msr20-cmw520-b1203bi.bin
4.设置启动时加载的版本文件为TFTP下载的文件 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!
<Quidway>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 version
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
注意事项
1.保证设备操作期间,不能出现断电重起现象,断电后,会导致信息丢失,设备无法正常启动。如出现该问题,请参看版本使用手册对设备进行操作;
注:如遇到其他问题,请参考版本使用说明书。
附件
-
1.JPG
(6.98 KB)
-
2007-9-8 10:54