1、非VSU模式下动态插入普通线卡升级失败的恢复方法

假如正常升级失败,或线卡ctrl运行在10.4(1)以前的版本,则需要通过如下步骤修复线卡主程序:

1)在管理板ctrl下,执行tftp xxx xxx file -ctrl命令单独升级线卡ctrl程序到10.4(3b7)的版本(其中xxx为IP地址,file为线卡ctrl程序的bin文件,该文件可以向4008111000索取)

Ctrl>

Ctrl>help tftp

Syntax:

    tftp LIP RIP FILE -old_boot | -ctrl | -rom | (-main | -file NAME) -go

Usage Details:

    LIP:         Local(Switch/Router) IP address.

    RIP:         Remote(PC) IP address.

    FILE:        Remote(PC) filename to be downloaded.

    -ctrl:       Upgrade CTRL.

    -rom:        Burn the total FlashROM by this downloaded file.

    -main:       Upgrade Main program.

    -file NAME:  Download a file to flash filesystem.

    -go:         Download a program to RAM an run it directly(not support selfdecompress).

Examples:

    tftp 192.168.1.3 192.168.1.2 ctrl-xxx.bin -ctrl

    tftp 192.168.1.3 192.168.1.2 xxx.rom -rom

    tftp 192.168.1.3 192.168.1.2 rgos-xxx.bin -main

    tftp 192.168.1.3 192.168.1.2 rgos-xxx.bin -file xxx.bin

    tftp 192.168.1.3 192.168.1.2 rgos-xxx.bin -go

 

Ctrl>tftp 192.168.1.1 192.168.1.2 ctrl-lc.bin -ctrl            (升级PC与主引擎的MGMT口连接)

 

2)重新拔插线卡,待线卡进入ctrl之后,执行upgrade命令升级该线卡的主程序(命令格式如下:upgrade -slot n -type main -force,其中n表示线卡槽号,如果n指定为all,则表示升级所有板卡,线卡主程序文件可以向4008111000索取)

Ctrl>help upgrade

Syntax: upgrade -slot <all | 1..30 | M1 | M2> [-type <boot | ctrl | main>] [-force]

Usage Details:

    -slot:     Specify physical slot number to upgrade.

    all:       Upgrade all slots.

    1..30:     Upgrade specified slot.

    M1:        Upgrade M1 slot.

    M2:        Upgrade M2 slot.

    -type:     Specify image type(default: all) to upgrade.

    boot:      Upgrade BOOT.

    ctrl:      Upgrade CTRL.

    main:      Upgrade MAIN.

    -force:    Force to upgrade.

Examples:

    upgrade -slot 1

    upgrade -slot M1 -type ctrl

    upgrade -slot M2 -force

    upgrade -slot all -type main -force

Ctrl>upgrade -slot 2 -type main -force                             (升级PC与主引擎的MGMT口连接)

 

总之,由于从10.4(2)开始RGOS引入了新的升级技术,所以动态插入板卡时必须保证板卡的CTRL运行的是10.4(2)以后的版本(否则不支持对热插入线卡的分发操作,需要线卡进入MAIN后进行自动同步),如果不是,需要使用上述方法先升级板卡的CTRL,之后才能对板卡的主程序进行升级。

 

2、S86升级中出现!!!!!!!!!!!!!Tftp download failed的故障处理

1)现象

在ctrl下用tftp下载文件的时候,出现:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!Tftp download failed.

2)原因

主管理板空间不足。

3)解决方法

释放主管理板空间,在主管理板ctrl 命令行下,将管理板文件系统中不需要的.bin 文件删除,腾出足够的空间存放要下载的文件,删除后需要在Ctrl 命令行重新下载管理板和线卡和安装包文件。(如果是格式化管理板的文件系统,那么必须进行必要的备份,以免客户数据丢失。)

Ctrl>rm filename

释放空间后,重新执行tftp 命令下载。

 

3、升级中出现tftp 提示"The flash space was not enough, checkand remove some useless files.Tftp download failed."的故障处理

1)现象:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

% Tftp: the flash space is not enough, or something with flash is wrong!!

% File transmission failure.

2)原因

主管理板空间不足。

3)解决方法

释放主管理板空间

在主管理板ctrl 命令行下,将管理板文件系统中不需要的.bin 文件删除,腾出足够的空间存放要下载的文件,删除后需要在Ctrl 命令行重新下载管理板和线卡和安装包文件。(如果是格式化管理板的文件系统,那么必须进行必要的备份,以免客户数据丢失。)

Ctrl>rm filename

释放空间后,重新执行tftp 命令下载。

 

4、升级中出现Upgrade file to Module in slot [4] failed!的故障处理

1)现象(极少可能出现)

在ctrl 下用tftp 升级线卡主程序的时候,出现:

Please wait......

Upgrade file to Module in slot [4] failed!

CURRENT PRODUCT INFORMATION :

PRODUCT ID: 0x20060050

PRODUCT DESCRIPTION: Ruijie High-density IPv6 10G Core Routing

Switch(S8606) By Ruijie Network

ERROR: UPGRADE LINECARD OR SLAVE CM BOARD FAILED !!!

The program upgraded failed, please retry.

2)原因

线卡空间不足。

3)解决方法

释放线卡空间

将从管理板和升级成功的线卡拔出,在主管理板的ctrl 菜单项(命令quit 从命令行到菜单项)下,格式化升级失败的线卡文件系统。具体操作如下:

Ctrl>quit

====== Ctrl Menu("Ctrl+Z" to upper level) ======

************************************************

TOP menu items.

************************************************

0. format all other module fs.

1. show all module version infomation.

************************************************

Press a key to run the command: 0

Do you still want to format all other modules' flash?(y/N):y

Formatting flash of module(s) in slot: [4]

Please wait......

如果过了将近30秒,还处于Please wait….的状态,很可能没办法成功格式化,下电重启后,进行ctrl 后再尝试格式化一遍,当出现以下信息时,说明对应槽的线卡已经格式化成功:

Formatting flash of Module in slot [4] OK!

此后,管理板和线卡会自动重启。自动重启后,按ctrl + q 退回ctrl 命令行,重新执行tftp 命令,tftp 成功后将从管理板和拔出的线卡重新插入。

 

5、升级过程出现Upgrade file to Module in slot [M2] failed!的故障处理

1)现象

在ctrl 命令行,传输管理板安装包时,出现以下情况

Upgrade file to Module(s) in slot: [M2]

Please wait......

Upgrade file to Module in slot [M2] failed!

CURRENT PRODUCT INFORMATION :

PRODUCT ID: 0x20060050

PRODUCT DESCRIPTION: Ruijie High-density IPv6 10G Core Routing

Switch(S8606) By Ruijie Network

ERROR: UPGRADE LINECARD OR SLAVE CM BOARD FAILED !!!

The program upgraded failed, please retry.

2)原因

从管理板空间不足,导致从板主程序丢失或损坏。

3)解决方法

释放从板空间

a、将主管理板拔出,串口线连到从管理板,把从管理板中线卡的安装包删除。重新插入主管理板,下电重启。

b、在主管理板ctrl 下,尝试重新tftp 传输。当出现以下信息时,说明传输成功。

Upgrade file to Module in slot [M2] OK!

Load temporary upgrade file to memory ...

CURRENT PRODUCT INFORMATION :

PRODUCT ID: 0x20060050

PRODUCT DESCRIPTION: Ruijie High-density IPv6 10G Core Routing

Switch(S8606) By Ruijie Network

SUCCESS: UPGRADING OK.

 

6、升级中出现%Can not find this file!的故障处理

1)现象

send download request.

send download request. %Can not find this file!

2)原因

a.TFTP 路径设置错误

b.ctrl 命令行参数,文件名输入错误

c.其他

3)解决方法

a、检查TFTP 工具路径设置与tftp 命令行参数

b、在ctrl 命令行,更改TFTP 路径到正确目录,检查源目ip是否正确,是否颠倒,BIN文件与tftp软件的设置目录是否正确,路径最好不带中文名,推荐两者都放在根目录,比如d:\下;在ctrl 命令行,重新执行tftp 命令

c、在ctrl 命令行,重新执行tftp 命令,注意将命令行中的文件名参数写正确,后缀名是否正确,如果文件名确实没有错,请多试几次tftp 命令,或者更换tftp软件

d、关闭PC端的杀毒软件,防火墙等可能阻止tftp协议的程序。

 

7、升级中不停打印send download request.的故障处理

1)现象

send download request.

send download request.

send download request.

send download request.

send download request.

2)原因,有以下几种可能情况

a.没有打开TFTP软件

b.IP 地址错误

c.网线没有连好

3)解决方法

a、运行tftp软件,设置好路径及文件名;

b、在ctrl 命令行,检查源目ip地址是否设置错误,颠倒,PC上的ip是否填写错误,请多试几次tftp 命令,或者更换tftp软件;

c、检查PC与引擎的MGMT口是否连接好了;

d、关闭PC端的杀毒软件,防火墙等可能阻止tftp协议的程序。

 

8、升级中出现ERROR: THE PROGRAM FILE CAN NOT BE USED IN ANY CARD !!!的故障处理

1)现象

tftp 以-main 的形式下载bin 文件时,出现以下情况:

ERROR: THE PROGRAM FILE CAN NOT BE USED IN ANY CARD !!!

You can ignore this error, but this maybe cause system crashed.

Choose No and stop upgrading, if you do not know what to do next !!!

IGNORE IT ? Timeout in 28s [N/y]

2)原因

传入的bin 文件不适用该型号的引擎或者线卡。

3)解决方法

阅读对应软件的发行说明,检查型号是否匹配,选择正常、匹配的文件重传

 

9、双管理板情况下,从板不能进入主程序,并且不断复位

1)现象

从板打印以下信息:

Executing program, launch at: 0x01000000

Ctrl Version: RGNOS 10.3.00(3), Release(34376)

Read bin info fail!

Load program failed.

System bootstrap ...

Nor Flash ID: 0x00010049, SIZE: 2097152Byte

Press Ctrl+B to enter Boot Menu ......

Load Ctrl Program ...

Executing program, launch at: 0x01000000

Ctrl Version: RGNOS 10.3.00(3), Release(34376)

Read bin info fail!

Load program failed.

2)原因

从板主程序丢失或损坏

3)解决方法

将主管理板拔出,下电重启,进入从管理板的ctrl,在ctrl 下重新升级从管理板的安装包

 

10、升级中出现Version synchronization is disabled(bad_master_install _package) !!!的故障处理

1)现象

*Nov 12 14:15:39: %AUTO_UPGRADE-1-VER_SYNC_DISABLED: Version

synchronization is disabled(bad_master_install_package) !!!

2)原因

a.管理板的主程序不是一个安装包,只是一个main文件

b.用户在设备运行的过程中通过copy tftp 载入另外一个不同版本的安装包,然后没有复位设备就插入线卡或从板进行同步升级

3)解决方法(对应上述原因)

a.下电,重启,进管理板的ctrl 命令行,重新加载完整升级包。

b.下电重启即可。

 

11、show version 找不到线卡的版本信息,显示状态cannot startup

1)现象

该问题经常出现在10.3之前的软件升级,特别是跨版本较大的升级操作中容易出现。进入主程序的时 候,经过几分钟后提示:"DP-3-LINECARD_STARTUP_FAIL: Module in slot 4 has translated to cannotstartup."这样类似的信息,并且此时提示启动失败的线卡面板上端口的LED 灯全红(说明一直在复位),执行show verion 命令,发现没有该槽位线卡的版本信息,show version slot中该线卡的状态 也是cannot startup。

2)原因

线卡主程序丢失或没有升级成功,特别是ctrl版本与引擎相差较大。

3)解决方法

a.整机复位,进入管理板CTRL,通过restore 命令恢复;

====== Ctrl Menu("Ctrl+Z" to upper level) ======

************************************************

    TOP menu items.

************************************************

    0. format all other module fs.

    1. show all module version infomation.

    2. Tftp utilities.

    3. Restore main program of linecard!

    4. XModem utilities.

    5. Run Main.

    6. Run an Executable file.

    7. File management utilities.

    8. SetMac utilities.

    9. Scattered utilities.

************************************************

Press a key to run the command: 3

 

b.如果,restore 命令还是无法恢复,那么:下电,将同步成功的线卡及从板拔出;

c. 上电,进入主管理板ctrl 命令行,通过tftpold 命令将线卡的主程序传输给线卡(当然PC还是接 在引擎的MGMT口)。传输完成后,执行load命令;到主板主程序后,将拔出的卡重新插入,等待同步 ,并验证是否同步成功(sh ver 命令)。

举例:

Ctrl>version       //先通过version确认线卡ctrl信息已经被识别,否则需要先升级线卡ctrl文件

Module information:

  Slot-3 : M8600-24SFP/12GT

    Hardware version : 1.0

    Software version : RGOS 10.3(5b1), Release(87006)

    BOOT version     : 10.3.87006

    CTRL version     : 10.3.87006

  Slot-M1 : M8606-CM II

    Hardware version : 1.5

    Software version : RGOS 10.3(5b1), Release(87006)

    BOOT version     : 10.3.87006

    CTRL version     : 10.3.87006

Ctrl>help tftpold

Syntax: tftpold LIP RIP FILE (-slavecm | -lc | -msc) (-main | -ctrl)

Usage Details:

    LIP:         Local(Switch/Router) IP address.

    RIP:         Remote(PC) IP address.

    FILE:        Remote(PC) filename you want to download.

    -slavecm: Select the target is SlaveCM card.

    -lc:      Select the target is LineCard.

    -msc:     Select the target is MSCCard.

    -main:    Select the program is Main.

    -ctrl:    Select the program is CTRL.

Examples:

    tftpold 192.168.1.3 192.168.1.2 rgos-xxx.bin -slavecm -main

    tftpold 192.168.1.3 192.168.1.2 rgos-xxx.bin -lc -main

    tftpold 192.168.1.3 192.168.1.2 rgos-xxx.bin -msc -main

    tftpold 192.168.1.3 192.168.1.2 ctrl-xxx.bin -slavecm -ctrl

    tftpold 192.168.1.3 192.168.1.2 ctrl-xxx.bin -lc -ctrl

    tftpold 192.168.1.3 192.168.1.2 ctrl-xxx.bin -msc -ctrl

Ctrl>tftpold 192.168.64.2 192.168.64.1 lc-ctrl.bin -lc -ctrl

Ctrl>tftpold 192.168.64.2 192.168.64.1 install_lc_20070010.bin -lc -main

//通过tftpold命令来手动更新线卡ctrl,main

注:

a、10.3以前的软件,线卡的boot,ctrl,main有特定的一个压缩映像文件,类似 install_lc_20070010.bin 该文件通常支持所有的线卡;10.4以后的软件,线卡有独立的boot,ctrl ,main文件,也就是有三个BIN文件,LC-main.bin,LC-ctrl.bin,LC-boot.bin,另外一些特殊的线卡 比如08xfp,mpls等线卡可能还有自己独立的升级包,与其他普通线卡不共用;

b、关于升级包的组成大家作为了解知识,不必掌握,因为通常发布的版本都是一个完整的升级包,压缩 了上述这些文件,如果遇到ctrl下需要单独升级线卡的ctrl,main的情况,请向4008111000索取文件 。

 

12、线卡上的LED 灯依次亮灭,status灯黄色,闪烁

1)原因

可能升级的安装包不完整(比如:没有线卡的小包)。

或者版本没有同步好。

2)解决方法

a.先尝试复位线卡,在CLI下执行:ruijie#reset module <1-4>(其中的某一个槽)。

b.如果仍然无法恢复,按照show version 找不到线卡的版本信息,显示状态cannot startup章节进行恢复。

 

13、从管理板或者线卡,升级慢,长时间等待

1)现象

升级慢长时间等待,提示如下信息:

Upgrade file to Module(s) in slot: [线卡或者管理板槽号]

Please wait......

此处一直卡住,命令行无法敲,卡住时间超过10 分钟。

2)原因

协议连接断开或者管理通道不稳定而丢包

3)解决方法

a.进入管理板主程序尝试用自动升级方式升级,debug support下执行upgrade force slot xx

b.下电重启,进入管理板ctrl,尝试tftp方式重新升级,如果还是失败,继续尝试方法2;

c.每次升级只升级一块线卡,在进入CTRL 的时候,把其它的未升级的和已升级的线卡都拔除,只留一块未升级的线卡,然后单独升级它。针对从管理板单独升级;

d.如果仍然无法升级,将线卡更换插槽或者将管理板更换插槽。

 

14、升级出现"Write upgrade file to file system error !!!"故障处理

1)原因

文件写入到文件系统失败

2)解决方法

保证文件系统有足够空间,如果没有请清除一些无用的文件,ruijie#rm filename;

如果还是无法解决,尝试格式化flash,ctrl层下重新进行tftp下载(注意备份好配置文件)

在ctrl 命令行,执行format 命令,格式化完成后管理板会重启,重启后,进ctrl 再次尝试tftp 下载。

Ctrl>format

A filesystem had been mounted on specified device!

NOTICE : Please restart after format succeeded!!

The flash has been formatted successfully!

HAL-5-SYS_RESTART: System restarting, for reason 'Formatted flash under a

filesystem!'.

System bootstrap ...

Nor Flash ID: 0x00010049, SIZE: 2097152Byte

Press Ctrl+B to enter Boot

或者

Ctrl>quit

====== Ctrl Menu("Ctrl+Z" to upper level) ======

************************************************

    TOP menu items.

************************************************

    0. format all other module fs.

    1. show all module version infomation.

    2. Tftp utilities.

    3. Restore main program of linecard!

    4. XModem utilities.

    5. Run Main.

    6. Run an Executable file.

    7. File management utilities.

    8. SetMac utilities.

    9. Scattered utilities.

************************************************

Press a key to run the command: 7

====== Ctrl Menu("Ctrl+Z" to upper level) ======

************************************************

    File management utilities.

************************************************

    0. List information about the files.

    1. Remove a file.

    2. Rename or Move a file.

    3. Format flash filesystem.

************************************************

Press a key to run the command:3

 

15、主程序为10.4(3),ctrl&boot都为10.3版本,如何同步

交换机10.4(2b3)及以后的软件,都存在一个升级策略的问题,也就是设备从非10.4(2b3)升级到10.4(2b3)及以上版本时,主程序比如为10.4(3),但是boot,ctrl的版本可以有选择性的选择同步升级到10.4(3),也可以不升级,保持原来的版本,这样并不会影响功能使用。

10.4(2b3),默认是不自动同步的,如果想同步boot,ctrl,可以在debug support模式下强制同步版本,下面以s5750,10.4(3)的软件为例,说明下操作:(高端设备的原理类似)

Ruijie#sh ver

System description      : Ruijie 10G Routing Switch(S5750-24GT/12SFP) By Ruijie Networks

System start time       : 2010-12-30 13:0:36

System uptime           : 0:19:50:15

System hardware version : 1.00

System software version : RGOS 10.4(3) Release(117920)

System BOOT version     : 10.3 Release(65758)

System CTRL version     : 10.3 Release(65758)

Ruijie#debug support        //进入debug support模式

Ruijie(support)#upgrade ?

  force  Force to upgrade system images

Ruijie(support)#upgrade force ?

  boot  Force to upgrade boot image

  ctrl  Force to upgrade ctrl image

Ruijie(support)#upgrade force ctrl            //强制同步ctrl版本到主程序一样

Upgrading CTRL...

DO NOT POWER OFF!

Erasing device...eeeeeeeeeeeeeeeeeeeeeeeeee [ok]

Writing flash

####################

New software image CTRL installed in flash.

Ruijie(support)#upgrade force boot     //强制同步boot版本到主程序一致

Upgrading BOOT...

DO NOT POWER OFF!

Erasing device...eee [ok]

Writing flash ########################################## [OK - 170,848 bytes]

New software image BOOT installed in flash.

Ruijie(support)#*Dec 31 08:52:25: %STACK-5-FINISH: (Device 1): All software images installed.

Ruijie(support)#end

Ruijie#

Ruijie#show ver

System description      : Ruijie 10G Routing Switch(S5750-24GT/12SFP) By Ruijie Networks

System start time       : 2010-12-30 13:0:36

System uptime           : 0:19:52:4

System hardware version : 1.00

System software version : RGOS 10.4(3) Release(117920)

System BOOT version     : 10.4(3) Release(117920)

System CTRL version     : 10.4(3) Release(117920)

Device information:

 

16、show version查看不到线卡信息,状态是conflict的故障处理

1)现象

Ruijie#show ver slot

  Dev Slot Port Configured Module            Online Module                User Status  Software Status

  --- ---- ---- ---------------------------- ---------------------------- ------------ ---------------

  1   1    24   M8600-24GT/12SFP             M8600-24GT/12SFP             installed    ok            

  1   2    2    M8600-FW                     none                         installed    none          

  1   3    0    none                         none                         none         none          

  1   4    0    none                         none                         none         none           

  1   5    0    none                         none                         none         none          

  1   6    0    M8600-MPLS                   none                         installed    none          

  1   7    24   M8600-24GT/12SFP             M8600-NMM                    installed    conflict       

  1   8    0    none                         none                         none         none          

  1   M1   0    N/A                          M8610-CM II                  N/A          backup        

  1   M2   0    N/A                          M8610-CM II                  N/A          master 

2)原因

Configured Module(CLI下配置安装的线卡类型)与Online Module (槽位上实际插的线卡类型)不一致,导致冲突。多数发生在槽位上原来插过A的线卡,后面更换成线卡B,这很容易出现冲突

3)解决方法

Ruijie(config)#no install ?

  <1-8>  Slot number of a module

Ruijie(config)#no install 7             //将槽位上原来线卡卸载掉

Ruijie(config)#*Apr 28 11:23:54: %MODULE-6-UNINSTALL: Uninstall Module in slot 7.

Ruijie(config)#install 7 ?

  24gt/12sfp        Module Type: M8600-24GT/12SFP

  24gt/12sfp-poe    Module Type: M8600P-24GT/12SFP

  24sfp             Module Type: M8600-24SFP

  24sfp/12gt        Module Type: M8600-24SFP/12GT

  2xfp              Module Type: M8600-02XFP

  2xfp24sfp/12gt-e  Module Type: M8600-02XFP24SFP/12GT-E

  48gt/4sfp         Module Type: M8600-48GT/4SFP

  48gt/4sfp-poe     Module Type: M8600P-48GT/4SFP

  4xfp              Module Type: M8600-04XFP

  8xfp              Module Type: M8600-08XFP

  fwm               Module Type: M8600-FW

  mpls              Module Type: M8600-MPLS

  nmm               Module Type: M8600-NMM

  vsu-2xfp          Module Type: M8600-VSU-02XFP

Ruijie(config)#install 7 nmm              //安装新的正确的线卡类型

Ruijie(config)#*Apr 28 11:24:07: %MODULE-6-INSTALL: Install Module M8600-NMM in slot 7.

/————————————————-线卡程序安装,分发,同步的过程log,需要等待比较长的时间——————————————————————-/

/—————————————--如果长时间无log打印,show ver slot线卡状态是none,resetting,cannot startup等状态,可以尝试——————————--/

Ruijie#reset module ?

  <1-8>  Slot number of a module

  M1     Module in slot M1

  M2     Module in slot M2

Ruijie#reset module 7              //重置线卡

Module 7 will reset! Continue? [N/y]:y

Ruijie#*Apr 28 11:25:46: %OIR-6-REMCARD: Card removed from slot 7, interfaces disabled.

*Apr 28 11:26:04: %UPGRADE-5-DISPATCH_BEGIN: Dispatch image to slot 7.

Download image to slot  7:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 8,395,200  bytes]

Waiting for image installed.....Complete

Download image to slot  7:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK -  8,651,040 bytes]

Waiting for image installed.....Complete

Installing cpu 1:![ok]

Ruijie#show ver slo

  Dev Slot Port Configured Module            Online Module                User Status  Software Status

  --- ---- ---- ---------------------------- ---------------------------- ------------ ---------------

  1   1    24   M8600-24GT/12SFP             M8600-24GT/12SFP             installed    ok            

  1   2    2    M8600-FW                     none                         installed    none          

  1   3    0    none                         none                         none         none          

  1   4    0    none                         none                         none         none          

  1   5    0    none                         none                         none         none          

  1   6    0    M8600-MPLS                   none                         installed    none          

  1   7    0    M8600-NMM                    M8600-NMM                    installed    ok             

  1   8    0    none                         none                         none         none          

  1   M1   0    N/A                          M8610-CM II                  N/A          backup        

  1   M2   0    N/A                          M8610-CM II                  N/A          master        

 

17、show version查看不到线卡信息,状态是resetting的故障处理

1)现象

Ruijie#show ver slo

  Dev Slot Port Configured Module            Online Module                User Status  Software Status

  --- ---- ---- ---------------------------- ---------------------------- ------------ ---------------

  1   1    24   M8600-24GT/12SFP             M8600-24GT/12SFP             installed    ok            

  1   2    0    M8600-NMM                    none                         installed    resetting     

  1   3    0    none                         none                         none         none          

  1   4    0    none                         none                         none         none           

  1   M1   0    N/A                          none                         N/A          none          

  1   M2   0    N/A                          M8606-CM II                  N/A          master        

2)原因

resetting的状态,主要是线卡自身的程序丢失,或者升级出现异常,或者是管理板上与线卡的程序存在不一致,导致管理板无法驱动线卡导致的。

3)解决方法

a.可以尝试 Ruijie#reset module 2         //重置该槽位的线卡,建议耐心等待几分钟

b.或者在debug support模式下强制同步程序到线卡,建议耐心等待几分钟

Ruijie#debug support

Ruijie(support)#upgrade force slot ?

  <1-30>  Specify user slot ID to upgrade images

  WORD    Specify Board(M1|M2) to upgrade images

  all     Force to upgrade all slots if card inside

Ruijie(support)#upgrade force slot 2

Card in slot 2 is invalid.

Ruijie(support)#

c.如果出现方法2中的提示Card in slot 2 is invalid.,那么可以尝试在ctrl层下强制同步线卡

Ctrl>upgrade

Usage: upgrade -slot <all | 1..30 | M1 | M2> [-type <boot | ctrl | main>] [-force]

Ctrl>upgrade -slot 2 -type boot -force    //强制同步boot程序到线卡

These images in linecard will be updated:

    Slot    image    linecard

    ----    -----    ----------------

       2    BOOT           M8600-NMM

/-------------同步日志省略------------/

(Slot 2): Install finish in slot 2 (M8600-NMM).

Ctrl>upgrade -slot 2 -type ctrl -force     //强制同步ctrl程序到线卡

These images in linecard will be updated:

    Slot    image    linecard

    ----    -----    ----------------

       2    CTRL           M8600-NMM

/-------------同步日志省略------------/

(Slot 2): Install finish in slot 2 (M8600-NMM).

Ctrl>upgrade -slot 2 -type main -force     //强制同步main程序到线卡

These images in linecard will be updated:

    Slot    image    linecard

    ----    -----    ----------------

       2    MAIN           M8600-NMM

/-------------同步日志省略------------/

(Slot 2): Install finish in slot 2 (M8600-NMM).

Ctrl>version                   //确认版本线卡识别成功,信息同步一致

Module information:

  Slot-1 : M8600-24GT/12SFP

    Hardware version : 1.0

    BOOT version     : 10.4  Release (78635)

    CTRL version     : 10.4  Release (78635)

  Slot-2 : M8600-NMM

    Cpu 0:

    Hardware version : 1.0

    Original main file version : RGOS 10.4(2b3) Release(100306)

    BOOT version     : 10.4  Release (100306)

    CTRL version     : 10.4  Release (100306)

    Cpu 1:

    Hardware version : 1.0

    Original main file version : RGOS 10.4(2b3) Release(100306)

    BOOT version     : 10.4  Release (100306)

    CTRL version     : 10.4  Release (100306)

  Slot-M2 : M8606-CM II

    Hardware version : 1.5

    Original main file version : RGOS 10.4(2) Release(76696)

    BOOT version     : 10.4  Release (76696)

    CTRL version     : 10.4  Release (76696)

Ctrl>reload          //整机重启

 

18、S86升级10.4(3)软件,提示File is Too Long! Failed 或者The binary file crc was not  correct

1)现象

a.8610,原来软件版本RGOS 10.4(2b3) Release(102059),用S8600_V10.4(3)_R118208_CMII.bin升 级包,升级总是失败

b.主程序下通过copy tftp升级,提示File is Too Long! Failed!

Ruijie#copy tftp://192.168.1.110/rgos.bin flash:rgos.bin

Accessing tftp://192.168.1.110/rgos.bin...

System is running defragment,please waitting....

Press Ctrl+C to quit

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!File is Too Long! Failed!

% File transmission failure

c.CTRL层下升级,提示 The binary file crc was not correct. Delete it...

Ctrl>tftp 192.168.1.1 192.168.1.110 rgos.bin -main

 

Now, begin download program through Tftp...

Host IP[192.168.1.110]  Target IP[192.168.1.1]  File name[rgos.bin] 

                  %Now Begin Download File rgos.bin From 192.168.1.110 to 192.168.1.1

send download request.

send download  request.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

          %Mission Completion. FILELEN = 33553920

Tftp download OK, 33553920 bytes received!

The binary file crc was not correct. Delete it...

2)原因

a.RGOS 10.4(3)以前的软件版本,存在tftp协议无法传输超过32MByte大小的文件,所有无法传输 S8600_V10.4(3)_R118208_CMII.bin这个有近35MByte的文件;

b.S8600_V10.4(3)_R118208_CMII.bin升级包是适用于EC类线卡的,从提示的报错信息来看,应该是 软件版本错了,如果没有EC卡,应该升级S8600_V10.4(3)_R118208_NOEC_CMII.bin升级包

3)解决方案

86如果原来是非10.4(3)的版本,同时有EC线卡,那么升级的顺序应该先整机升级S8600_V10.4(3) _R118208_NOEC_CMII.bin(该文件适用于打破tftp协议的32Mbyte限制),重启,成功后再升级适用 EC卡的S8600_V10.4(3)_R118208_CMII.bin。

 

19、高端交换机MGMT管理口无法与某些特殊MAC地址的PC在CTRL模式下通过TFTP升级

问题描述

我司高端交换机,带MGMT管理口,比如s76,s78,s86,需要在ctrl层下升级设备,同时没有可用的带电口的线卡,只能用MGMT口来通过TFTP协议传输升级包时,存在无法下载成功的故障。比如PC端MAC为F0-DE-F1-3A-FF-CD,ctrl层下通过MGMT口传输BIN文件时,一直停留在send download request.状态。

 

问题影响

CTRL下使用MGMT口进行TFTP下载时,凡是TFTP服务器(PC端)MAC地址符合以下规则的都无法正常通信:

MAC第1字节为F0,同时,第2字节为00、09、0A,或者大于0x14

MAC第1字节为FE,同时,第2、4、5字节全部为00

 

解决方法

目前10.4(3)及以前的所有版本都存在该问题,无版本可用解决,计划各产品线在下一个正式版本上解决,目前可以采取以下方式规避

1)、不要在ctrl层下通过mgmt口升级,可采用线卡的电口进行文件传输,或者可以在主程序下直接升级

2)、可以修改PC端MAC地址为00开头的