1.组网图
见附件1
2.设备基本配置
#
ftp server enable //全局启用 FTP Server
#
interface Ethernet0/0 //用于连接client 的接口地址
port link-mode route
ip address 10.0.0.1 255.255.255.0
#
3.操作步骤
1.确认设备FTP
功能使用正常
2.查看设备启动时使用的配置
文件与启动时加载的版本信息
<Quidway>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
<Quidway>dis startup
Current startup saved-configuration file: cf:/vrpcfg.cfg
Next main startup saved-configuration file: cf:/vrpcfg.cfg
3.使用FTP功能下栽设备启动文件,get XXX.bin (启动时加载的版本文件),使用dir
命令查看是否文件上传成功。
<Quidway>ftp 10.0.0.2
Trying 10.0.0.2 ...
Press CTRL+K to abort
Connected to 10.0.0.2.
220 3Com 3CDaemon FTP Server Version 2.0
User(10.0.0.2

none)):123456789
331 User name ok, need password
ftp]get msr20-cmw520-b1203bi.bin
227 Entering passive mode (10,0,0,2,5,241)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 12258924 byte(s) received in 68.185 second(s), 179.00K byte(s)/sec.
<Quidway>dir
Directory of cf:/
0 -rw- 12258924 Jan 18 2007 09:06:42 msr20-cmw520-b1203bi.bin
4.
设置启动时加载的版本文件为FTP
下载的文件 boot-loader file 文件名
<Quidway>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到设备 验证文件是否正常加栽
<Quidway>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...
<Quidway>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
注意事项
1.保证设备操作期间,不能出现断电重起现象,断电后,会导致信息丢失,设备无法正常启动。如出现该问题,请参看版本使用手册对设备进行操作。
注:如遇到其他问题,请参考版本使用说明书