一 组网需求:
EP302的软件系统分为APPBASE和APPSC两层,前者为下层支撑部分,提供网络连接和硬件测试功能,后者为上层应用程序,实现具体的业务功能。
APPBASE程序出厂预置于话机本地,每次启动从话机FLASH加载到内存,然后话机本地启动APPSC程序或者从指定的NCP服务器下载policy策略文件,根据策略文件判断是否, APPSC启动完成初始化工作后进入用户界面。
二 升级组网图:
图1组网图
三、升级步骤:
通过telnet 23端口升级base
1、将升级主文件EP302BASEV100RXXX.bin.gz、EP302V100RXXX.bin以及副文件policy.txt放在TFTP的下载目录。XXX表示正式发布的版本号。
2、升级主文件:首先登录到EP302 telnet 192.168.1.101
下面是操作的过程:(假设TFTPserver为192.168.1.100,话机为192.168.1.101)
telnet 192.168.1.101(登录)
-> console(进控制台)
[BRCM]>dir .(这个命令是额外的,可以看一下flash里边目前有些什么文件,关键是要有appbase.bin.gz)
dir .
Listing Directory /flash0:
drwxrwxrwx 1 0 0 2048 Dec 27 1990 nvram/
-rwxrwxrwx 1 0 0 1183226 Jan 1 1980 appbase.bin.gz
-rwxrwxrwx 1 0 0 16 Dec 27 1990 version.txt
-rwxrwxrwx 1 0 0 1746676 Dec 27 1990 appsc.bin.gz
:
:
:
[BRCM]> delDir /flash0/ (删除/flash0/目录下的文件,注意此动作不可恢复,请确定后操作)
Deleting /flash0/appbase.bin.gz
Deleting /flash0/version.txt
Deleting /flash0/appsc.bin.gz
[BRCM]>
copy /192.168.1.100/EP302BASEV100RXXX.bin.gz /flash0/appbase.bin.gz(从服务器上把目标文件copy下来保存到flash,注意源文件/目标文件名的名字跟后缀名不能写错,否则有可能引起升级失败)。XXX对应所升级的版本号。
这里把EP302BASEV100RXXX.bin.gz下载到flash0并更名为appbase.bin.gz,是为了以后下载新版本文件时能覆盖旧版本文件,从而节省空间。
TFTP download
-------------
Source: EP302BASEV100RXXX.bin.gz from /192.168.1.100
Destination: /flash0/appbase.bin.gz
Bytes: 32768Clearing sector 29
Bytes: 114688Clearing sector 32
Bytes: 147916Clearing sector 21
Bytes: 229376Clearing sector 11
Bytes: 262144Clearing sector 20
Bytes: 344064Clearing sector 37
Bytes: 393216Clearing sector 31
Bytes: 475136Clearing sector 12
Bytes: 540672Clearing sector 38
Bytes: 590284Clearing sector 40
Bytes: 671744Clearing sector 22
Bytes: 704512Clearing sector 41
Bytes: 786432Clearing sector 58
Bytes: 819200Clearing sector 42
Bytes: 901120Clearing sector 26
Bytes: 983040Clearing sector 25
Bytes: 1016780Clearing sector 45
Clearing sector 60
Bytes: 1098700Clearing sector 44
Bytes: 1161449Clearing sector 23
Status: OK
[BRCM]>dir .(确保appbase.bin.gz文件已经存在)
Listing Directory /flash0:
drwxrwxrwx 1 0 0 2048 Dec 27 1990 nvram/
-rwxrwxrwx 1 0 0 1183227 Jan 1 1980 appbase.bin.gz
3、重启话机加载其他文件。
升级完主文件appbase.bin.gz后,重启EP302话机,按menu中断,NCP-IP为Tftp server地址(此例中tftp地址为192.168.1.100),再按menu退出,就可以了。(过程中会看到download,update,loading),至此,升级完成。如果没有修改policy.txt,保持其默认配置,此时EP302话机版本支持XE7000服务器。如果需要切换为支持XE200/2000服务器,请参考KMS中《H3C EP302支持XE200、2000和支持XE7000服务器类型切换的配置》。
四、升级配置说明:
APPBASE版本查看方法:
1、话机上电启动;
2、当屏幕出现“Wait for NCP”时,按一下MENU键进入APPBASE主菜单;
3、按数字键1,再按向下方向键若干次,直到屏幕出现“Current Version EP302BASEV100Rxxx”,xxx即为APPBASE的版本号。