一 问题现象
锐捷10.x版本路由器升级过程正常并且显示成功,但是设备重启后一直无法启动
二 排查过程
1.重启设备查看加载版本
Ruijie#reload
Proceed with reload? noy
Verify the image ......ok
*May 18 17:13:02: %SYS-5-RELOAD: The device is reloading due to the execution of command reload.
Press CTRL+T to do memory-self-test!
System bootstrap ...
Boot Version: RGOS 10.4(3b143) Release(234306)
Nor Flash ID: 0xC22015C2, SIZE: 2097152Bytes
MTD_DRIVER-5-MTD_NAND_FOUND: 1 NAND chips(chip size : 134217728) detected
Press Ctrl+C to enter Boot .....
Verify the image ......ok
Loading main program ...
Loading main program 'rgos_bak.bin'. //查看加载版本为rgos_bak.bin
Load main program successfully.
Executing program, launch at: 0x04000000
MTD_DRIVER-5-MTD_NAND_FOUND: 1 NAND chips(chip size : 134217728) detected
2.另外crtl+c查看确定加载版本同样为rgos_bak.bin
Nor Flash ID: 0xC22015C2, SIZE: 2097152Bytes
MTD_DRIVER-5-MTD_NAND_FOUND: 1 NAND chips(chip size : 134217728) detected
Press Ctrl+C to enter Boot .
Hot Commands:
F1. tftp 192.168.1.5 192.168.1.3 RSR10-X_10.4(3b143)_R234306_install.bin -main
BootLoader>
BootLoader>setmac -prod
ProductID is 0x100d02f0
HardwareVersion is 1.24
MacAddress is 54-16-51-54-9d-9b
SerialNO is G1QC0T0001565
MainFile is rgos_bak.bin
BootLoader>
3.通过分析设备加载的版本名称为rgos_bak.bin,而我们日常的版本一般都是rgos.bin,所以判断版本加载错误导致
三 解决方法-重新升级版本为rgos_bak.bin解决
1.加载版本
Ruijie#copy tftp://192.168.1.100/RSR10-X_10.4(3b141)p3_R234314_install.bin flash:/rgos_bak.bin
Accessing tftp://192.168.1.100/RSR10-X_10.4(3b141)p3_R234314_install.bin...
System is running defragment,please wait....
Press Ctrl+C to quit
....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Transmission finished, file length 28417888 bytes.
Verify the image ......ok
CURRENT PRODUCT INFORMATION :
PRODUCT ID: 0x100D02F0
PRODUCT DESCRIPTION: Ruijie Router (RSR10-X-07) By Ruijie Networks.
SUCCESS: UPGRADING OK.
Ruijie#
2.重启设备
Ruijie#reload
Proceed with reload? noy
Verify the image ......ok
*May 18 17:25:36: %SYS-5-RELOAD: The device is reloading due to the execution of command reload.
3.再次查看版本加载成功
Ruijie#sh ver
System description : Ruijie Router (RSR10-X-07) By Ruijie Networks.
System start time : 2022-05-18 17:26:56
System uptime : 0:0:1:57
System hardware version : 1.24
System software version : RGOS 10.4(3b141)p3 Release(234314)
System BOOT version : 10.4(3b141)p3 Release(234314)
System serial number : G1QC0T0001565
System cpld version : 1.0.0.4
Ruijie#
Ruijie#