• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

MSR2600 软件版本升级怎么操作?

2018-03-28 发表
  • 0关注
  • 1收藏 6091浏览
黄帅 四段
粉丝:0人 关注:0人

问题描述

MSR2600 软件版本升级怎么操作?

解决方法

      使用TFTP协议升级路由器的启动文件

路由器作为TFTP Client,访问TFTP文件服务器的制定路径,完成启动文件的备份及升级操作,具体操作步骤如下:

1. 备份当前启动文件和配置文件

(1)      在命令行配置界面的任意视图下,执行save命令保存路由器当前配置信息:

<Sysname> save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[cfa0:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

cfa0:/startup.cfg exists, overwrite? [Y/N]:y

 Validating file. Please wait....

 Configuration is saved to device successfully.

<Sysname>

(2)      在命令行配置界面的用户视图下,执行dir命令查看路由器当前的文件系统,确认启动文件及配置文件名,以及CF卡的剩余空间,保证CF卡有足够空间放入新的启动文件:

<Sysname> dir

Directory of cfa0:/

 

   0     drw-         -  Jun 28 2011 14:41:16   logfile

   1     drw-         -  Jun 28 2011 14:42:56   domain1

   2     -rw-     16256  Jun 28 2011 14:43:40   p2p_default.mtd

   3     -rw-      1694  Jun 28 2011 14:47:12   startup.cfg

   4     -rw-      3432  Jun 28 2011 14:47:10   system.xml

   5     -rw-  23861744  Jun 28 2011 14:37:46   main.bin

 

252328 KB total (227856 KB free)

 

File system type of cfa0: FAT16

 

<Sysname>

路由器出厂时,缺省的启动文件名为main.bin,用户保存路由器配置信息后,缺省的配置文件名为startup.cfgCF卡剩余存储空间约为220 MB227856 KB)。

(3)      在命令行配置界面的用户视图下,执行tftp put命令将启动文件main.bin备份到TFTP文件服务器上:

<Sysname> tftp 192.168.1.1 put main.bin

 

  File will be transferred in binary mode

  Sending file to remote TFTP server. Please wait... \

  TFTP: 23861744 bytes sent in 70 second(s).

  File uploaded successfully.

 

<Sysname>

(4)      在命令行配置界面的用户视图下,执行tftp put命令将配置文件startup.cfg备份到TFTP文件服务器上:

<Sysname> tftp 192.168.1.1 put startup.cfg

  File will be transferred in binary mode

  Sending file to remote TFTP server. Please wait... \

  TFTP:     1694 bytes sent in 0 second(s).

  File uploaded successfully.

                                                                    

<Sysname>

2. 升级启动文件

(1)      在命令行配置界面的用户视图下,执行tftp get命令将启动文件MSR30-CMW520-R2207P02-SI.BIN导入到路由器的CF卡中:

<Sysname> tftp 192.168.1.1 get MSR30-CMW520-R2207P02-SI.BIN

 

  File will be transferred in binary mode

  Downloading file from remote TFTP server, please wait...|

  TFTP: 23861744 bytes received in 70 second(s)

  File downloaded successfully.

 

<Sysname>

(2)      在命令行配置界面的用户视图下,执行boot-loader命令设置路由器下次启动使用的启动文件为MSR30-CMW520-R2207P02-SI.BIN,并指定启动文件类型为main

<Sysname> boot-loader file msr30-cmw520-r2207p02-si.bin main

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

  The specified file will be used as the main boot file at the next reboot on slot 0!

<Sysname>

(3)      在命令行配置界面的用户视图下,执行display boot-loader命令查看设备的启动程序文件信息:

<Sysname> display boot-loader

 The boot file used at this reboot:cfa0:/main.bin attribute: main

 The boot file used at the next reboot:cfa0:/msr30-cmw520-r2207p02-si.bin attribute: main

 Failed to get the backup boot file used at the next reboot!

 Failed to get the secure boot file used at the next reboot!

<Sysname>

如上显示信息中,下一次启动的程序文件已经设置为MSR30-CMW520-R2207P02-SI.BIN

(4)      在命令行配置界面的用户视图下,执行reboot命令重启路由器:

<Sysname> reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

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

#Aug 16 15:40:26:623 2011 MSR30-20 DEVM/1/REBOOT:

 Reboot device by command.

                                                              

%Aug 16 15:40:26:623 2011 MSR30-20 DEVM/5/SYSTEM_REBOOT: System is rebooting now.

 Now rebooting, please wait...

<Sysname>

System is starting...

(5)      路由器重启后,通过display version命令查看路由器的启动文件版本信息是否与升级的启动文件一致。

<Sysname> display version

Comware Software, Version 5.20, Release 2207P02, Standard

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

H3C MSR30-20 uptime is 0 week, 0 day, 4 hours, 24 minutes

Last reboot 2011/08/16 09:57:05

System returned to ROM By <Reboot> Command.

 

CPU type: FREESCALE MPC8349 533MHz

256M bytes DDR SDRAM Memory

4M bytes Flash Memory

Pcb               Version:  3.0

Logic             Version:  2.0

Basic    BootROM  Version:  3.12

Extended BootROM  Version:  3.13

[SLOT  0]CON                       (Hardware)3.0    (Driver)1.0,   (Cpld)2.0

[SLOT  0]AUX                       (Hardware)3.0    (Driver)1.0,   (Cpld)2.0

[SLOT  0]GE0/0                     (Hardware)3.0    (Driver)1.0,   (Cpld)2.0

[SLOT  0]GE0/1                     (Hardware)3.0    (Driver)1.0,   (Cpld)2.0

[SLOT  0]CELLULAR0/0               (Hardware)3.0    (Driver)1.0,   (Cpld)2.0

 

<Sysname>

该案例对您是否有帮助:

您的评价:1

若您有关于案例的建议,请反馈:

作者在2019-06-12对此案例进行了修订
2 个评论
青袍儒生 知了小白
粉丝:0人 关注:0人

谢谢前辈的分享,辛苦了

Daniel 知了小白
粉丝:0人 关注:0人

谢谢前辈的分享 !


编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作