2.8 VRP版本采用CLI TFTP方式的升级方法
【操作步骤】
第一步:首先启动tftp软件,并设置好版本文件所在的目录
第二步:配置路由器,从路由器上可以ping通TFTP Server
[Quidway] |
interface Ethernet 0/0 |
|
[Quidway-Ethernet0/0] |
ip address 1.1.1.1 8 |
配置接口地址 |
第三步:在路由器上执行tftp get命令开始下载版本
过程如下:
<Quidway>tftp 1.1.1.2 get AR28-VRP340-R0006-907-128-a.bin 340-0006.bin
/******server IP 源文件名 目的文件名******/
File will be transferred in binary mode.
Downloading file from remote tftp server, please wait........................................................................................................................................................................................................................................................................
TFTP: 8695261 bytes received in 260 second(s).
File downloaded successfully.
同时在TFTP Server上可以看见文件的传输过程。(老版本的TFTP Server可能没有进度提示!)
第四步:设定系统下一次引导使用的版本,然后重新启动系统
查看flash中的文件,确认版本已经正确上载。
<Quidway>dir
Directory of flash:/
0 -rw- 8695296 Dec 21 2004 11:29:19 main.bin
1 -rw- 8695261 Dec 24 2004 10:09:56 340-0006.bin
2 -rw- 5746199 Dec 22 2004 14:47:37 330-0008.bin
设定系统下一次引导使用的版本
[Quidway]boot main 340-0006.bin
Set main boot file successfully!
重新启动系统
<Quidway>reboot
This command will reboot the system. Since the current configuration may have changed, all changes may be lost if you continue. Continue? [Y/N] y
【验证】
系统重新启动后,查看版本,确认版本升级成功
Starting at 0x1c00000...
********************************************
* *
* Quidway Series Routers Boot ROM, V9.07 *
* *
********************************************
Copyright(C) 1997-2004 by HUAWEI TECH CO., LTD.
Compiled at 18:10:29 , Oct 14 2004.
Testing memory...OK!
128M bytes SDRAM
32768k bytes flash memory
Hardware Version is MTR 1.0
CPLD Version is CPLD 1.0
Press Ctrl-B to enter Boot Menu
The current starting file is main application file--flash:/340-0006.bin!
The main application file is self-decompressing...............................................................................................................................................................................................................................................OK!
System is starting...
Starting at 0x10000...
User interface Con 0 is available.
Press ENTER to get started.
<Quidway>disp ver
Copyright Notice:
All rights reserved (Dec 10 2004).
Without the owner's prior written consent, no decompiling
nor reverse-engineering shall be allowed.
Huawei-3Com Versatile Routing Platform Software
VRP(R) software, Version 3.40, Release 0006
Copyright (c) 2003-2004 Hangzhou Huawei-3Com Tech. Co.,Ltd. All rights reserved.
Copyright (c) 2000-2003 Huawei Tech. Co.,Ltd. All rights reserved.
Quidway AR28-31 uptime is 0 week, 0 day, 0 hour, 0 minute
CPU type: PowerPC 8245 300MHz
128M bytes SDRAM Memory
32M bytes Flash Memory
128K bytes NvRAM Memory
Pcb Version:1.0
Logic Version:1.0
BootROM Version:9.07
[SLOT 0] 2FE (Hardware)2.1, (Driver)2.0, (Cpld)0.0
[SLOT 1] 2SA (Hardware)1.1, (Driver)1.5, (Cpld)0.0
1、 TFTP server可以在论坛上下载:http://forum.huawei-3com.com/viewthread.php?tid=17170&fpage=1&highlight=%B9%A4%BE%DF
2、强烈建议使用CLI方式进行版本升级工作,即方便、速度又快。