1、 设置FTP客户端IP地址
(1)在交换机上打开20 端口(如果此端口没有使用则使用此端口,如果如果已经使用,则挑选一个没有使用且已经shutdown的端口使用),设置临时FTP客户端IP地址。
<Quidway>ping 192.192.192.1 //应该是无法Ping通
<Quidway>ping 192.192.192.2 //应该是无法Ping通
<Quidway>sys
[Quidway]interface Ethernet1/0/20
[Quidway-Ethernet1/0/20]undo shutdown
[Quidway-Ethernet1/0/20] interface Vlan-interface1
[Quidway- Vlan-interface1] ip address 192.192.192.2 255.255.255.252
[Quidway- Vlan-interface1]q
[Quidway]q
2、 加载bootrom和主机版本
用 线连接PC和交换机,此处举例为20 端口(依据实际情况确定)。
在串口终端上执行如下命令:
<Quidway>ftp 192.192.192.1
Trying …
Press CTRL+K to abort
Connected.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(none):load
331 Give me your password, please
Password:
230 Logged in successfully
[ftp]bin
200 Type is Image (Binary)
[ftp]get S3900_V602.btm
227 Entering Passive Mode (10,0,123,10,4,62)
150 “c:ftpS3900_V602.btm” file ready to send (200080 bytes)
in IMAGE / Binary mode
………226 Transfer finished successfully.
FTP: 200080 byte(s) received in 13.531 second(s) 14.00K byte(s)/sec.
[ftp]get S3900EI-VRP310-R1702P01.bin
227 Entering Passive Mode (10,0,123,10,4,67)
150 “c:ftpS3900EI-VRP310-R1702P01.bin” file ready to send (4
593060 bytes) in IMAGE / Binary mode
………………………………………………….226 Transfer finished
successfully.
FTP: 4593060 byte(s) received in 59.277 second(s) 77.00K byte(s)/sec.
[ftp]put vrpcfg.cfg
227 Entering Passive Mode (10,0,123,10,4,83)
150 “c:ftpvrpcfg.cfg” file ready to receive in IMAGE / Binar
y mode
226 Transfer finished successfully.
FTP: 3282 byte(s) sent in 0.309 second(s) 10.00Kbyte(s)/sec.
[ftp]bye
221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye
< Quidway >dir
Directory of unit1>flash:/
1 (*) -rw- 867258 Apr 02 2008 12:00:00 hw-http3.1.8-0033sp01.web
2 -rw- 2211 Apr 02 2008 12:00:00 vrpcfg.def
3 (*) -rw- 4625884 Apr 02 2008 12:00:00 s3900ei-vrp310-r1602p01.bin
4 (*) -rw- 3282 Apr 01 2000 23:58:13 vrpcfg.cfg
5 -rw- 200080 Apr 02 2000 00:00:50 s3900_v602.btm
6 -rw- 4593060 Apr 02 2000 00:03:04 s3900ei-vrp310-r1702p01.bin
15367 KB total (5184 KB free)
(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute
注意(一般不会遇到此类情况):
<Quidway> delete / U 文件名
然后再将主机程序通过FTP上载到交换机上完成主机程序的升级。在此过程中设备不能掉电或者重启。
3、 设置启动文件
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!