178-0444-1181

机房建设 机房装修 机房环控

机房知识

分享你我感悟

您当前位置>首页 >> 机房知识 >> 常见问题

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

发表时间:2022-08-28 00:24:10

文章来源:超级管理员

浏览次数:473

假如正常升级失败,或线卡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,之后才能对板卡的主程序进行升级。


相关机房案例查看更多