以AC6605从V200R003C00版本升级到V200R006C10SPC200为例。
传输升级软件包到AC上
传输升级软件包到AC有以下方法,请根据实际情况选用。
AC作为TFTP Client
AC作为FTP Server
AC作为FTP Client
AC作为SFTP Client
假设当前系统的系统软件为,数据配置文件为vrpcfg.zip,要加
载的系统软件为。
说明:
如果AC6605剩余Flash空间足够容纳新的大包,上传大包约需要5分钟。如果剩余Flash空间 不够容纳新的大包,临时删除Flash内文件,再上传大包需要12分钟。在第二种情况下,删除
文件两小时后再上传大包,则上传只需要5分钟。
AC6605的存储器为Flash,AC6005的存储器为SD卡。
操作步骤
步骤 1 设置TFTP Server。
将PC作为TFTP服务器,在PC上运行TFTP Server程序并进行相应设置,其中: 工作目录(Current Directory)设置为待加载系统软件存放的路径,可点击Browse 来更改。需要将待加载系统软件存放在PC的D:\tftpd32i路径下。
服务器接口(Server interfaces)则填写TFTP服务器的IP地址,此处假设为
192.168.10.11,一般系统会自动填写。
步骤 2 保存配置文件。
<AC6605> save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file,
Configuration file has been saved successfully
Note: The configuration file will take effect after being activated
备份之前先看一下要备份的文件大小,备份结束后比较一下传输大小、备
上的文件大小,确认备份成功。
查询后缀名为:
.cc的系统软件
.zip 或.cfg的配置文件
.pat 的补丁文件
.dat 的License文件
以查看系统软件为例。
<AC6605> dir *.cc
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 -rw- 44543005 Apr 05 2012 17:25:41
206,324 KB total (136,776 KB free)
步骤 4 备份重要文件。
设备升级前请一定注意备份配置文件,备份文件用于设备在版本回退时加载使用。
需要备份的文件:
系统软件
配置文件
补丁文件
License文件
以备份系统软件为例。备份的系统软件名为。
<AC6605> tftp 192.168.10.11
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server.
100%
TFTP: Uploading the file successfully.
44,543,005 bytes send in 311 seconds.
步骤 5 检查备份是否成功。
登录PC或者便携机检查是否备份成功,可到D:\tftpd32i目录下查询此文件大小,确认
备份成功。
步骤 6 从服务器获取新版本的系统软件。
<AC6605> tftp 192.168.10.11
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server.
|100%
53276907 bytes received in 311 seconds.
TFTP: Downloading the file successfully.
Now begins to save file,
File had been saved successfully.
出现“File had been saved successfully”,则说明系统软件加载成功。
步骤 7 从服务器获取新的配置文件。
<AC6605> tftp 192.168.10.11 get vrpcfgnew.zip
Info: Transfer file in binary mode.
Downloading the file from the remote TFTP server.
|100%
2757 bytes received in 1 second.
TFTP: Downloading the file successfully.
Now begins to save file,
File had been saved successfully.
步骤 8 执行命令dir在AC6605上查看文件是否已存在、文件大小是否和服务器上的文件完全
相同。
<AC6605> dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
1 -rw- 53,276,907 Sep 22 2012 11:22:31
2 -rw- 2757 Aug 27 2012 11:05:45 vrpcfgnew.zip
3 drw- - Aug 27 2012 10:25:43 compatible
4 -rw- 1,600,000 Aug 31 2012 14:37:52 runtimeinfo1