经验案例:如何将WX5002作为TFTP Client端升级应用程序
适用WX5002版本:Comware Software, Version 5.00, ESS 1102P01
WX5002作为TFTP客户端,从TFTP服务器上下载新的启动文件aaa.bin。
TFTP服务器的IP地址为10.1.1.1/16。
PC通过Console口对WX5002进行操作。
操作步骤:
1、保证WX5002到TFTP服务器的网络连通性。
2、删除设备中的多余文件,以保证剩余足够的空间,用于存储新的启动文件。
<Sysname> dir
Directory of flash:/
0 drw- - Dec 07 2006 10:00:57 filename
1 drw- - Jan 02 2006 14:27:51 logfile
2 -rw- 1216 Jan 02 2006 14:28:59 statup.cfg
3 -rw- 1216 Jan 02 2006 16:27:26 backup.cfg
31750 KB total (4960 KB free)
<Sysname> delete /unreserved flash:/backup.cfg
3、以TFTP方式登录服务器,获取系统启动文件。
<H3C> tftp 10.1.1.1 get aaa.bin
...
File will be transferred in binary mode
Downloading file from remote tftp server, please wait.........................
..............................................
TFTP: 6862352 bytes received in 67 second(s)
File downloaded successfully.
4、用户可以通过boot-loader命令来指定获取的文件为下次启动时的主用启动文件,重启设备后,实现设备启动文件的升级。
<Sysname> boot-loader file flash:/ aaa.bin main
This command will set boot file, Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot!
<Sysname> reboot
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作