(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute
注意(一般不会遇到此类情况):
如果Flash memory空间不够,可以首先在交换机上使用如下命令删除原有版本文件
<Quidway> delete / U 文件名
然后再将主机程序通过FTP上载到交换机上完成主机程序的升级。在此过程中设备不能掉电或者重启。
3、 设置启动文件
4、 设置最新的bootrom和主机软件为最新的启动文件
< Quidway >boot bootrom S3900_V602.btm
This will update Bootrom on unit 1. Continue? [Y/N] y
Upgrading Bootrom, please wait... Upgrade Bootrom succeeded! //仔细留意此处是否成功!!!如果没有成功暂停后面操作。
< Quidway >boot boot-loader S3900EI-VRP310-R1702P01.bin
The specified file will be booted next time on unit 1!
< Quidway >display boot-loader
Unit 1:
The current boot app is: s3900ei-vrp310-r1602p01.bin
The main boot app is: s3900ei-vrp310-r1702p01.bin//仔细留意此处是否正确!!!如果没有成功暂停后面操作。
The backup boot app is: 3.3 操作后验证
1、 重启交换机,并验证版本
(重启前请确认配置是否保存,防止重启后造成配置丢失,可以再进行Save保存)
< Quidway >reboot
Start to check configuration with next startup configuration file,
please wait.........Checking is finished!
This will reboot device. Continue? [Y/N] y
#Apr 2 00:12:44:912 2000 GDFOS-BC-SX-SW03-3928P COMMONSY/5/REBOOT:- 1 -
Reboot Fabric by command.
启动完毕之后,检查版本,版本必须与如下的粗体部分相同。
< Quidway >dis version
Huawei Versatile Routing Platform Software. VRP Software, Version 3.10,> Copyright (c) 1998-2009 Huawei Technologies Co., Ltd. All rights reserved.
Quidway S3928P-EI uptime is 0 week, 0 day, 0 hour, 1 minute
Quidway S3928P-EI with 1 Processor
64M bytes DRAM
16384K bytes Flash Memory
Config Register points to FLASH
Hardware Version is REV.C
CPLD Version is CPLD 001 Bootrom Version is 602
[Subslot 0] 24 FE Hardware Version is REV.C
[Subslot 1] 4 GE Hardware Version is REV.C 注:在交换机重启过程中(大约持续<2分钟)。
2、 PING测试
同样使用串口登录升级完的设备,执行PING测试(详细见前面第二部分第6步)。 PING测试结果与之前备份的PING结果进行对比分析,可以使用ultredit工具file菜单中的compare files功能进行比较或者使用其它软件。
3、 升级后检查
<Quidway>dis cur //请比对前后脚本
<Quidway>dis version //再次确认升级的版本
<Quidway>dis interface //请比对前后接口状态
<Quidway>dis ip routing-table //请比对前后路由表
<Quidway>dis vrrp //请比对前后VRRP节点主备用状态
<Quidway>dis ospf peer //请比对前后OSPF邻居状态
4、 验证升级成功,删除临时数据 验证升级成功后,删除如下的临时数据,并注意保存配置。
<Quidway>sys
[Quidway]interface Ethernet1/0/20
[Quidway-Ethernet1/0/20]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
<Quidway>save //非常关键一步
5、 升级失败,倒回应急方案
也是通过FTP加载旧文件即可。