tftp软件升级

上传人:第*** 文档编号:38813448 上传时间:2018-05-08 格式:DOC 页数:8 大小:60.50KB
返回 下载 相关 举报
tftp软件升级_第1页
第1页 / 共8页
tftp软件升级_第2页
第2页 / 共8页
tftp软件升级_第3页
第3页 / 共8页
tftp软件升级_第4页
第4页 / 共8页
tftp软件升级_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《tftp软件升级》由会员分享,可在线阅读,更多相关《tftp软件升级(8页珍藏版)》请在金锄头文库上搜索。

1、TFTP 客户端配置举例1. 组网需求l设备作为 TFTP 客户端,PC 作为 TFTP 服务器lPC 的 IP 地址为 1.2.1.1/16,在 PC 上已经配置了 TFTP 的工作路径。l设备上 VLAN 接口 1 的 IP 地址为 1.1.1.1/16,设备和 PC 相连的端口属于该 VLAN。l设备通过 TFTP 协议从 TFTP 服务器上下载启动文件,同时将设备的配置文件 config.cfg上传到 TFTP 服务器的工作目录实现配置文件的备份。图 3-2 利用 TFTP 客户端功能实现平滑升级3. 配置步骤(1)配置 PC(TFTP 服务器),具体配置步骤略l在 PC 上启动了 T

2、FTP 服务器功能;l配置 TFTP 服务器的工作目录。(2)配置设备(TFTP 客户端)注意:如果设备的内存空间不够大,请删除内存中原有的应用程序然后再下载新的应用程序到设备的内存中。delete /unreserved icg 2000b-cmw520-r2104.bin # 进入系统视图。system-view# 配置 VLAN 接口 1 的 IP 地址为 1.1.1.1/16,同时保证与 PC 相连的端口属于这个VLAN。Sysname interface vlan-interface 1Sysname-Vlan-interface1 ip address 1.1.1.1 255.25

3、5.0.0Sysname-Vlan-interface1 return# 将应用程序 aaa.bin 从 TFTP 服务器上下载到设备。tftp 1.2.1.1 get aaa.bin bbb.bin# 将设备的配置文件 config.cfg 上传到 TFTP 服务器。tftp 1.2.1.1 put config.bin configback.bin# 用户可以通过 boot-loader 命令来指定下载的程序为下次启动时的主用启动文件(假设本例中的设备支持启动文件的主备用属性),然后重启设备,实现设备启动文件的升级。boot-loader file bbb.bin mainreboot d

4、ir Directory of cf:/0 drw- - Aug 14 2008 02:08:40 logfile1 -rw- 18264580 Feb 02 2009 10:39:56 main.binU 盘升级:Q:如何通过:如何通过 USB 口使用口使用 U 盘对盘对 Comware 版本进行升级?版本进行升级?A:操作步骤:T-INDENT: 2em“1、 先将要升级的 bin 文件拷到 U 盘中,PC 机通过 console 线与路由器相连。2、 在 MSR 路由器 Comware 正常运转的情况下,插入 U 盘,系统会出现如下提示:%Nov 16 15:31:36:259 2006

5、 MSR VFS/4/LOG:uf1: inserted into slot 0.此时说明系统已经能够从 U 盘读取信息了。3、 查看当前版本信息和查看当前版本信息和 U 盘的文件内容盘的文件内容在升级之前我们要确认机器的型号和所升级的版本,通过 display version 和 dir 命令display versionH3C Comware Platform SoftwareComware software, Version 5.20, Beta 1106Copyright(c) 2004-2006 Hangzhou Huawei-3Com Technology Co., Ltd. Al

6、l rights reserved.H3C MSR30-20 uptime is 0 week, 0 day, 0 hour, 9 minutesCPU type: FREESCALE MPC8349 533MHz256M bytes DDR SDRAM Memory4M bytes Flash MemoryPcb Version: 3.0Logic Version: 2.0Basic BootROM Version: 2.07Extend BootROM Version: 2.07SLOT 0CON (Hardware)3.0, (Driver)1.0, (Cpld)2.0SLOT 0AUX

7、 (Hardware)3.0, (Driver)1.0, (Cpld)2.0SLOT 0GE0/0 (Hardware)3.0, (Driver)1.0, (Cpld)2.0SLOT 0GE0/1 (Hardware)3.0, (Driver)1.0, (Cpld)2.0SLOT 1SIC-1FXS (Hardware)2.2, (Driver)1.10, (Cpld)2.0SLOT 4DSIC-9FSW (Hardware)3.0, (Driver)1.0, (Cpld)2.0SLOT 5MIM-2VE1 (Hardware)2.0, (Driver)1.10, (Cpld)1.0查看 U

8、盘 bin 文件信息dir uf1:/Directory of uf1:/0 -rw- 15990356 Oct 13 2006 14:56:46 msr30-cmw520-b1106.bin1 -rw- 15812716 Oct 13 2006 14:56:18 msr20-cmw520-b1106.bin2 -rw- 16411108 Oct 13 2006 14:57:06 msr50-cmw520-b1106.bin255340 KB total (208244 KB free)File system type of uf1: FAT16通过以上信息我们确认升级的文件为 msr30-c

9、mw520-b1106.bin4、 将要升级的文件从将要升级的文件从 U 盘拷到盘拷到 CF 卡卡使用 U 盘升级 Comware 版本只要将新的 bin 文件拷贝到 CF 卡中即可,如下:copy uf1:/ msr30-cmw520-b1106.bin cf:/Copy uf1:/30main.bin to cf:/ msr30-cmw520-b1106.bin?Y/N:y%Copy file uf1:/ msr30-cmw520-b1106.bin to cf:/ msr30-cmw520-b1106.bin.Done.copy 过程需要一定时间,大概 12 分钟。5、 更改启动文件更改

10、启动文件在没有删除原 bin 文件时,系统会默认用原有 bin 文件启动,此时需要将启动文件更改为刚刚拷到CF 卡中的 bin 文件。boot-loader file cf:/ msr30-cmw520-b1106.bin mainThis command will set boot file, Continue? Y/N:y.The specified file will be used as a main boot file at the next time!执行上述命令后,下次系统启动时将会采用 msr30-cmw520-b1106.bin。6、 保存当前配置保存当前配置升级完毕后,需要

11、经过重启系统才能使用升级后的 Comware 软件,在重启前最好将当前配置保存一下。saveThe current configuration will be written to the device. Are you sure? Y/N:yPlease input the file name(*.cfg)cf:/config.cfg(To leave the existing filename unchanged, press the enter key):cf:/config.cfg exists, overwrite? Y/N:yValidating file. Please wait

12、.Now saving current configuration to the device.Saving configuration cf:/config.cfg. Please wait.Configuration is saved to cf successfully.7、 重启设备重启设备rebootStart to check configuration with next startup configuration file, please wait.Checking is finished!This will reboot device. Continue? Y/N:y#Nov

13、 16 15:36:22:283 2006 MSR COMMONSY/4/REBOOT:Reboot device by command.%Nov 16 15:36:26:312 2006 MSR DEV/4/SYSTEM REBOOT:System is rebooted by common cause.InitDDRsystem start booting.Version 2.07Press CTRL+D to stop auto-bootBooting Normal Extend BootRomDecompressing.done!Ensure the baudrate is set t

14、o 9600bps!Starting at 0xa00000.* * H3C MSR30-20 BOOTROM, Version 2.07 * *Copyright(c) 2004-2006 Hangzhou Huawei-3Com Technology Co., Ltd.Compiled date: Sep 25 2006, 19:58:23CPU type : MPC8349ECPU L1 Cache : 32KBCPU Clock Speed : 533MHzMemory Type : DDR SDRAMMemory Size : 256MBMemory Speed : 266MHzBootRom Size : 4096KBCPLD Version is 2.00HardWare Version is 3.00CF Card is Inserted, now is mounting.cf:/ - Volume is OK Mount CF Card OK!CF Card Size:256MBytePress Ctrl+B to enter extended boot menu.The current starting file is main application file-cf:/ msr30-

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号