好消息,超酷的在线虚拟网络实验室上线了!点击开始实验

为获得更好的浏览效果,建议您使用 Firefox 或者 Chrome 浏览器



MSR路由器作为TFTP Client

进行Comware版本升级的方法

关键字:MSR; TFTP;

1.组网图

2.设备基本配置

#                                                                                                                                                                                                 

interface Ethernet0/0    //用于连接client 的接口地址

 port link-mode route                                                          

 ip address 10.0.0.1 255.255.255.0                                             

#                                                                                                                                    

3.操作步骤

1.确认设备FTP功能使用正常

2.查看设备启动时使用的配置文件与启动时加载的版本信息

<H3C>dis boot-loader                                                       

 The boot file used this time:cf:/msr20-cmw520-r1508-si.bin attribute: main      

 The boot file used next time:cf:/msr20-cmw520-r1508-si.bin attribute: main     

 The boot file used next time:cf:/msr20-cmw520-r1508-si.bin attribute: backup   

 <H3C>dis startup

  Current startup saved-configuration file:          cf:/config.cfg

  Next main startup saved-configuration file:        cf:/config.cfg                                                                                                         

 3.使用tftp x.x.x.x get xxx.bin功能下载设备启动文件,使用dir 命令查看是否文件上传成功。

<H3C>tftp 10.0.0.2 get msr20-cmw520-r1508p02-si.bin

 

  File will be transferred in binary mode

  Downloading file from remote tftp server, please wait...\

  TFTP: 17671636 bytes received in 84 second(s)

  File downloaded successfully.

<H3C>dir

Directory of cf:/                                                                                                     

   1     -rw-  17925748  Sep 06 2007 18:41:40   msr30-cmw520-r1508-si.bin

   6     -rw-  17926700  Sep 29 2007 15:57:10   msr30-cmw520-r1508p02-si.bin

4.设置启动时加载的版本文件为FTP下载的文件 boot-loader file 文件名

<H3C>boot-loader file msr30-cmw520-r1508p02-si.bin main

 This command will set boot file, Continue? [Y/N]:y                           

The specified file will be used as a main boot file at the next time!        

<H3C>display boot-loader

 The boot file used at this reboot:cf:/msr30-cmw520-r1508-si.bin attribute: main

 The boot file used at the next reboot:cf:/msr30-cmw520-r1508p02-si.bin attribute: main 5.重新启设备(reboot),启动完毕后Telnet到设备 验证文件是否正常加栽

<H3C>reboot                                                                

 Start to check configuration with next startup configuration file, please wait

.........Checking is finished!                                                 

 This will reboot device. Continue? [Y/N]:y                                   

 Now rebooting, please wait... 

<H3C>dis ver                                                               

H3C Comware Platform Software

Comware Software, Version 5.20, Release 1508P02, Standard

Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved.

H3C MSR30-60 uptime is 0 week, 0 day, 1 hour, 13 minutes

Last reboot 2007/10/10 08:20:40

System returned to ROM By Power-up.

注意事项

1.保证设备操作期间,不能出现断电重起现象,断电后,会导致信息丢失,设备无法正常启动。如出现该问题,请参看版本使用手册对设备进行操作。

注:如遇到其他问题,请参考版本使用说明书

X Close
X Close