Home> Support> Technical Documents>

RG-Router Implementation Cookbook (V1.1)

2017-05-25View: 101
Catalog
11.x项目配置指南模板

      Maintenance

1.1     Firmware Upgrade

1.1.1     Upgrade in Xmodem Mode

 

I. Topology

 

II. Upgrade in Xmodem Mode

Notes:

The default baud rate of the SIC-3G card is 115,200 Bd during startup and the baud rate for accessing the main screen is 9,600 Bd after startup. If the startup baud rate is changed to another value, select the new baud rate for login.

1.     Power on the device and press Ctrl+C to access the BootLoader main menu.

2.     (Optional) If the current baud rate of the SIC-3G card is 115,200 Bd, skip this step. Otherwise, perform the following step:

Note: Changing the baud rate to 115,200 Bd aims at accelerating transmission speed over Xmodem.

1)  Select 6. Scattered utilities.

2)  Select 4. Set baudrate.

3)  Select 2. Change baudrate to 115200.

4)  Change the baud rate for logging in to a terminal to 115,200 Bd and press Enter. The change is successful if the console displays correct information.

3.     Press Ctrl+Z twice to return to the BootLoader main menu.

4.     (Optional) If the main program of the SIC-3G card is lost, go to Step 4. Otherwise, perform the following step:

1)     Select 4. File management utilities to access the file management submenu.

2)     Select 1. Remove a file. Enter rgos.bin after the "The filename you want to remove:" prompt is displayed, and then press Enter.

3)     Press Ctrl+Z to return to the BootLoader main menu.

5.     Transfer the automatic upgrade package to the SIC-3G card.

1)     Select 1. XModem utilities.

2)     Select 1. Upgrade Main program.

3)     Send the Xmodem file.

To send the Xmodem file by using SecureCRT, choose Option > Session Option from the main menu; in the Session Option dialog box, choose Terminal > X/Y/Zmodem and click 1024 bytes (Xmodem-1k/Ymodem-1k) in X/Ymodem send packet size.

Choose Transfer > Send Xmodem from the main menu, select the bin file used for upgrade (name the bin file rgos.bin), and click OK to start upgrade.

6.     Restart the SIC-3G card for the automatic upgrade package to run.

1)     After downloading ends, press Ctrl+Z to return to the BootLoader main menu, and select 6. Scattered utilities.

2)     Select 2. Reload system.

The card upgrade is in progress. Please wait patiently.

 

III. Upgrade Verification

1)     After the upgrade ends, the card automatically restarts and enters the major release till the PCI BUS Scan/Setup End screen is displayed.

2)     Change the baud rate for the PC to connect to the SIC-3G card console to 9,600 Bd, and press Enter to enter the major release environment. Then, the upgrade is complete.

 

1.1.2     Upgrade in Router Mode

 

Features

The NMX-24ESW switch fabric module of the RSR20 series routers adopts the distributed system architecture. The NMX-24ESW switch fabric module is equipped with an independent CPU, memory, flash memory, and other hardware, and has an independent main program. The NMX-24ESW switch fabric module can be upgraded in router mode or independently.

Upgrade in router mode:

The software version of the switch fabric module is bound into the software version of the router. An upgrade channel is established between the router and the switch fabric module, and the router directly transmits the software version of the switch fabric module to the flash memory of the latter, thereby achieving remote upgrade of the switch fabric module.

The RSR20 series routers of 10.3(5t86)/10.3 (5b6) p3 and later versions support switch fabric module upgrade in router mode.

Independent upgrade of the switch fabric module

The network port of the switch fabric module is connected to an external TFTP server through a network cable, and the TFTP server transmits the software version of the switch fabric module to the flash memory of the latter.

The switch fabric module of all versions supports this upgrade mode.

 

I. Upgrade Steps

1.     Log in to the switch fabric module from the router.

In router mode, run the service-module fastEthernet 5/0 session command to enter the switch fabric module.

RSR20-14#service-module fastEthernet 5/0 session     //Enter the switch fabric module. If the switch fabric module is seated in Slot 5,enter5/0; if it is seated in Slot 6, enter 6/0.

Ruijie#      //If the device prompt is changed to Ruijie#, you enter the switch fabric module successfully.

 

2.     Back up the original software version of the switch fabric module.

Notes:

If the current main program running on the switch fabric module is rgos.bin, run the copy flash:rgos.bin flash:rgos.bak command for backup; if the main program is rgnos.bin, run the copy flash:rgnos.bin flash:rgnos.bak command for backup.

The following example is based on the main program rgos.bin running on the switch fabric module.

a.     Display the name of the current main program running on the switch fabric module.

Ruijie#dir

 

    Mode Link      Size               MTime Name

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

<DIR>    1         0 1970-01-01 08:00:00 dev/

<DIR>    1         0 1970-01-01 08:00:03 ram/

<DIR>    2         0 1970-01-01 08:00:35 tmp/

<DIR>    0         0 1970-01-01 08:00:00 proc/

            1         8 1970-01-04 10:15:00 priority.dat

1   5885184 1970-01-01 09:42:03 rgos.bin //The current main program running on the switch fabric module is rgos.bin.

            1   5885184 1970-01-01 08:07:19 rgos.10.2(2).33474

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

3 Files (Total size 11770376 Bytes), 4 Directories.

Total 31457280 bytes (30MB) in this device, 17907712 bytes (17MB) available.

b.     Back up the software version of the switch fabric module.

Ruijie#copy flash:rgos.bin flash:rgos.bak  //Back up the software version of the switch fabric module as rgos.bak.

Ruijie#dir

 

    Mode Link      Size               MTime Name

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

<DIR>    1         0 1970-01-01 08:00:00 dev/

<DIR>    1         0 1970-01-01 08:00:03 ram/

<DIR>    2         0 1970-01-01 08:00:35 tmp/

<DIR>    0         0 1970-01-01 08:00:00 proc/

            1         8 1970-01-04 10:15:00 priority.dat

1   5885184 1970-01-01 08:05:51 rgos.bak    //The software version of the switch fabric module is backed up successfully.

            1   5885184 1970-01-01 09:42:03 rgos.bin

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

3 Files (Total size 11770376 Bytes), 4 Directories.

Total 31457280 bytes (30MB) in this device, 17907712 bytes (17MB) available.

c.    Press Ctrl+X to exit from the switch fabric module to the router mode.

3.     Upgrade the main program of the router.

For the upgrade method, see section "Main Program Upgrade" (choose Daily Maintenance>Software Upgrade>Mid-range and Low-end Series Router Upgrade>10.x Version Upgrade> Main Program Upgrade).

4.     Display the software versions of the router and switch fabric module.

1)      Display the software version of the router in router mode.

RSR20-14#dir

 

    Mode Link      Size               MTime Name

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

<DIR>    1         0 1970-01-01 00:00:00 dev/

<DIR>    2         0 2013-03-29 02:15:55 esw/ //Directory for storing the software version of the switch fabric module

<DIR>    2         0 2011-05-23 03:40:19 log/

<DIR>    2         0 2013-03-29 04:31:32 mnt/

<DIR>    1         0 2013-03-29 04:31:26 ram/

<DIR>    2         0 2013-03-29 04:31:46 tmp/

<DIR>    0         0 1970-01-01 00:00:00 proc/

            1      1263 2013-01-31 14:19:56 config_0113.bak

1   7248608 2013-03-29 02:15:36 rgos.bin //Software version of the router

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

2 Files (Total size 7249871 Bytes), 7 Directories.

Total 33030144 bytes (31MB) in this device, 20160512 bytes (19MB) available.

2)      Display the software version of the switch fabric module in router mode.

Notes:

For RSR20 series routers of 10.3(5t86), 10.3(5b6)p3, and later versions, the software version of the switch fabric module is packaged into the main program of the router. After the router upgrade is complete, the router automatically decompresses the software version of the switch fabric module into the esw folder in the flash memory.

RSR20-14#cd esw //Access the directory for storing the software version of the switch fabric module.

RSR20-14#dir

 

    Mode Link      Size               MTime Name

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

1   4221664 2013-03-29 02:16:04 esw_install.bin //Main program file of the switch fabric module

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

1 Files (Total size 4221664 Bytes), 0 Directories.

Total 33030144 bytes (31MB) in this device, 20160512 bytes (19MB) available.

5.      Return to the main program of the router in the flash memory and enable the terminal monitor function.

RSR20-14#cd ..      //Return to the main program of the router in the flash memory.

RSR20-14#terminal monitor    //Enable the terminal monitor function.

6.     Shut down services of the switch fabric module, and deliver the main program of the switch fabric module from the flash memory of the router to the flash memory of the switch fabric module.

Notes:

1)      It takes about 15 minutes to transmit the software version of the switch fabric module from the router to the flash memory of the switch fabric module.

2)      When the prompt "Upload completed" is displayed, wait another 8-15 minutes (15 minutes are recommended) to ensure that the version files of the switch fabric module are all received.

3)      Do not perform destructive operations such as power-off and restart during upgrade of the switch fabric module. Otherwise, the upgrade of the switch fabric module will fail.

4)      If the switch fabric module or router is restarted before version files of the switch fabric module are all received, the version files may be damaged and the switch fabric module may fail to start. In this case, run the RSR20-14#service-module fastEthernet 5/0 reset command in router mode to restart the switch fabric module, press Ctrl+C to enter the Ctrl layer of the switch fabric module, press Ctrl+Q to enter the CLI mode, and then run the Ctrl>rename rgos.bak  rgos.bin command to restore the original main program of the switch fabric module. Then, run the Ctrl>reload command to restart the switch fabric module and restore services.

RSR20-14#esw-switch shut-service    //Shut down services of the switch fabric module.

RSR20-14#esw-upgrade xmodem slot 5 //Transmit the software version of the switch fabric module in the flash memory of the router to the flash memory of the switch fabric module (if the switch fabric module is seated in Slot 5, enter slot 5; if it is seated in Slot 6, enter slot 6).

*Mar 29 06:09:29: %UPGRADE-6-ESW_CARD_UPRADE: Now start transmit file.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#*Mar 29 06:24:45: %UPGRADE-6-ESW_CARD_UPRADE: Upload completed, 4221664 bytes of valid data has been transferred.

*Mar 29 06:24:45: %UPGRADE-6-ESW_CARD_UPRADE: Please wait a few minutes(about 8-15min) for the switch card upgrading until you can login the card.  //Wait another 8-15 minutes (15 minutes are recommended) to ensure that version files of the switch fabric module are all received.

7.     Enable services of the switch fabric module, log in to the switch fabric module, and check its software version.

RSR20-14#esw-switch open-service   //Enable services of the switch fabric module.

RSR20-14#service-module fastEthernet 5/0 session   //Enter the switch fabric module. If the switch fabric module is seated in Slot 5, enter 5/0; if it is seated in Slot 6, enter 6/0.

8.     (Optional) Rename the main program file of the switch fabric module.

If the original main program of the switch fabric module is rgnos.bin, skip to Step 9.

Notes:

l  If the original main program file of the switch fabric module is rgnos.bin, the version file transmitted over Xmodem directly replaces it and the file does not need to be renamed. The switch fabric module fails if it is renamed.

l  If the original main program file of the switch fabric module is rgos.bin, the new program file needs to be renamed rgos.bin to ensure successful upgrade. The following example is based on the original main program file rgos.bin of the switch fabric module.

1)      Display the main program file of the switch fabric module.

Ruijie#dir

 

    Mode Link      Size               MTime Name

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

<DIR>    1         0 1970-01-01 08:00:00 dev/

<DIR>    1         0 1970-01-01 08:00:03 ram/

<DIR>    2         0 1970-01-01 08:00:35 tmp/

<DIR>    0         0 1970-01-01 08:00:00 proc/

            1         8 1970-01-04 10:15:00 priority.dat

1   4221696 1970-01-01 08:51:00 rgnos.bin //New main program of the switch fabric module

1   5885184 1970-01-01 08:05:51 rgos.bak //Original main program backup of the switch fabric module

1   5885184 1970-01-01 09:42:03 rgos.bin //Original main program of the switch fabric module

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

4 Files (Total size 15992072 Bytes), 4 Directories.

Total 31457280 bytes (30MB) in this device, 12918784 bytes (12MB) available.

2)     Rename the new main program of the switch fabric module rgos.bin.

Ruijie#rename flash:rgnos.bin flash:rgos.bin   //The new main program directly replaces the original main program.

3)     Check whether the new main program is renamed successfully.

Ruijie#dir

 

    Mode Link      Size               MTime Name

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

<DIR>    1         0 1970-01-01 08:00:00 dev/

<DIR>    1         0 1970-01-01 08:00:03 ram/

<DIR>    2         0 1970-01-01 08:00:35 tmp/

<DIR>    0         0 1970-01-01 08:00:00 proc/

            1         8 1970-01-04 10:15:00 priority.dat

            1   5885184 1970-01-01 08:05:51 rgos.bak

1   4221696 1970-01-01 08:51:00 rgos.bin //The new main program is successfully renamed rgos.bin.

9.     Press Ctrl+X to exit the switch fabric module and restart the router to complete upgrade of the switch fabric module.

Notes:

1)     The switch fabric module can be managed on the screen of the router. It is not recommended that the switch fabric module be independently restarted and upgraded. If some management commands become available after the switch fabric module is independently restarted, the router needs to be restarted.

2)     When the system reaches the state "FastEthernet 0/0, changed state to up" after router restart, wait 4-5 minutes for the switch fabric module to complete upgrade. Then, the system is restarted completely. This waiting is required only after the upgrade of the switch fabric module is complete, and is not required in normal restart.

RSR20-14#reload   //Restart the router to complete the upgrade.

Proceed with reload? [no]y

 

II. Upgrade Verification

Check whether the software versions of both the router and switch fabric module are upgraded successfully.

1)     Check whether the router is upgraded successfully.

RSR20-14#show version

System description      : Ruijie Router (RSR20-14) by Ruijie Networks

System start time       : 2013-03-29 7:7:40

System uptime           : 0:0:3:36

System hardware version : 1.00

System software version : RGOS 10.3(5T86), Release(154167)

System BOOT version     : 10.3.154167

2)     Enter the switch fabric module and check whether it is upgraded successfully.

Ruijie#show version

System description      : Ruijie Switch Service Module(NM2-24ESW) by Ruijie Network Co., Ltd..

System start time       : 1970-1-1 8:0:0

System hardware version : 2.0

System software version : RGOS 10.2(3T42), Release(153542)

System boot version     : 10.2.21580

System CTRL version     : 10.2.45595

System serial number    : 0000000000000

Device information:

  Device-1

    Hardware version : 2.0

    Software version : RGOS 10.2(3T42), Release(153542)

    BOOT version     : 10.2.21580

CTRL version     : 10.2.45595

    Serial Number    : 0000000000000

 

1.1.3     Distributed Router Upgrade

Instructions for Distributed Router Upgrade

I. RSR distributed routers include the following series:

RSR30-X SPU10 V2

RSR50E-40

RSR77 series (RSR7704/RSR7708/RSR7716)

RSR77-X series (RSR7708-X/RSR7716-X)

Upgrade in CTRL mode

II. Upgrade at the CTRL Layer

1)     Generally only when an upgrade fails or the main program is lost, the upgrade is performed at the CTRL layer. To upgrade at the CTRL layer, you must connect the cable between a router and a PC to the MGMT interface on the main processing unit (MPU) of the router.

2)     If send download request is displayed during startup and the device cannot enter the user mode, it indicates that functions of the current software version are lost and you need to upgrade the version at the CTRL layer.

III. Upgrade Steps

1.     Prepare the upgrade file on the PC and start the TFTP Server.

1)      Put the software upgrade file and the Trivial File Transfer Protocol (TFTP) Server in the same folder (rename the software version to rgos.bin).

2)      Double click startftp.exe to start the TFTP Server.

2.     Restart the router and enter command mode at the CTRL layer.

Restart the router. When Press Ctrl+C to enter Ctrl .... is displayed, press Ctrl+C to enter command mode at the CTRL layer. Ctrl> prompt is displayed.

3.      Check card identification.

Before the upgrade, check card identification. If any card fails to be identified, please stop the process in case all cards fail to be upgraded. If any card is in UNKNOWN status, it indicates that this card fails to be upgraded and you need to restart the device. If the card is still in UNKNOWN status after restart, contact Ruijie technical support engineers for upgrade guidance.

Run the upgrade–slot command to check the upgrade path of the device. The following is an example:

Note:Perform upgrade only when all cards are identified.

4.     Transmit the automatic upgrade package to the router.

Connect the cable between the PC and the router to the MGMT interface on the MPU of the router. Run the TFTP command to transmit the automatic upgrade package.

When the prompt SUCCESS: UPGRADING OK is displayed on the router, it indicates that the upgrade package has been transmitted to the router.

5.      Upgrade line cards.

Run the upgrade -slot all -force command to upgrade the version of line cards.

The router automatically upgrades all line cards.

6.     Reset the system to run the automatic upgrade package.

Note:

1.     Do not perform any dangerous operation such as reset or power cutoff when running the automatic upgrade package until the upgrade process is finished.

2.     After the running process is finished, the system is automatically reset to boot a new system.

IV. Verification

1)      Run the show version command to display the device version and check whether the upgrade is successful.

Note:

Run the show version command to display the MAIN, CTRL, and BOOT versions of the MPU and all line cards. If all of these are the latest versions, the upgrade is successful.

2)      Run the show version slot command to display the status of each slot card. Confirm that the software status of each line card is running. The following is an example:

If the status is installed or runing-config for a long time after software upgrade, please immediately contact Ruijie for technical support.

 

Upgrade in Main Program Mode (via TFTP)

I. Upgrade Steps

1.     Configure an IP address for the router Ethernet interface.

Configure an IP address for the router.

Note:

Ensure that the PC can ping the router. Disable the firewall of the PC before upgrade.

2.     Prepare the upgrade file on the PC and start the TFTP Server.

1)     Put the software upgrade file and the TFTP server in the same folder.

2)     Double click startftp.exe to start the TFTP Server.

3.     Check card identification.

Before the upgrade, check card identification. If any card fails to be identified, please stop the process in case all cards fail to be upgraded. If any card is in no card status, it indicates that this card fails to be upgraded and you need to restart the device. If the card is still in no card status after restart, contact Ruijie technical support engineers for upgrade guidance.

Run the show upgrade command to check the upgrade path of the device.The following is an example:

Perform upgrade only when all cards are identified. Only the line cards or engines of the version to be released are displayed while the slot number of the active engine is not displayed. That is, if RSR77 has two engines, the standby engine instead of the active engine is displayed; if RSR77 has only one engine, the slot number of the engine is not displayed.

4.     Transmit the automatic upgrade package to the router.

Run the copy tftp: flash:/rgos.bin command to transmit the upgrade file to the router.

 

After transmission, the system automatically verifies the validity of the file. If the standby supervisor module has been inserted before upgrade, the installation package is automatically synchronized to the standby supervisor module. When the prompt SUCCESS: UPGRADING OK is displayed, it indicates that the automatic upgrade package has been transmitted to the router.

Note:

1)      If the prompt Verify the image .......[ok] is displayed, it indicates successful transmission and verification.

2)      If the prompt System is running defragment, please wait....Press Ctrl+C to quit..... is displayed, it indicates that the router is running defragment and please wait.

3)      If the prompt Transmission fail or ...... is displayed, it indicates that transmission fails. Check whether the PC can ping the router, whether the designated directory of TFTP Server is correct, and whether the file name is correct.

4)      If the prompt ERROR: THE BINARY FILE CANNOT BE USED IN CURRENT PRODUCT !!! is displayed, it indicates that validity verification fails (the automatic upgrade package is not applicable to the current product). Please check whether the correct automatic upgrade package is used.

5.     Decompress the upgrade package to line cards (if the current version is 3b21 or a later version, it is recommended but not mandatory to upgrade it to a later version).

Note:

1)      The new and old versions of RSR77 series routers have the same upgrade command: upgrade system rgos.bin, and are only different in the user interface (UI). If the current version is 10.4 (3b15) p1 or a later version, as the upgrade function is optimized and the upgrade time is reduced, the UI is different from that of an earlier version.

2)      After the upgrade system rgos.bin command is run to upgrade and restart the device, the old version of the BOOT layer may remain but it does not matter. If it is required to keep the versions of the MAIN layer, CTRL layer, and BOOT layer consistent, run the following command.

a.     The following is a upgrade UI example for 10.4 (3b15) p1 and a later version.

After the automatic upgrade package is downloaded to the device, run the upgrade system rgos.bin command to upgrade line cards.

Note:

The device is upgraded automatically. The following red box indicates the line cards and corresponding MAIN layer, CTRL layer, and BOOT layer to be upgraded.

Note:

After the upgrade process is finished, the upgrade result is displayed, specifying the line cards implementing image upgrade in this process, image type, and upgrade results. OK indicates successful upgrade. FAIL indicates failed upgrade.

3)      The following is a upgrade UI example for 10.4 (3b15) p1 and an earlier version.

After the automatic upgrade package is downloaded to the device, run the upgrade system rgos.bin command to upgrade line cards.

Note:

The device is upgraded automatically. The following red box indicates the line cards and corresponding MAIN layer, CTRL layer, and BOOT layer to be upgraded.

6.     Reset the system to run the automatic upgrade package.

Note:

Do not perform any dangerous operation such as reset or power cutoff when running the automatic upgrade package until the upgrade process is finished.

 

II. Verification

1)      Run the show version command to display the device version and check whether the upgrade is successful.

Note:

a)      Run the show version command to display the MAIN versions of the MPU and all line cards. If all of these are the latest versions, the upgrade is successful.

b)      The MAIN, CTRL, and BOOT versions can be inconsistent. When the manual upgrade is performed, the upgrade system automatically determines whether to upgrade CTRL/BOOT versions based on the upgrade policy in the installation package. Upgrade versions as required.

2)      Run the show version slot command to display the status of each slot card. Confirm that the software status of each slot card is running. The following is an example:

If the status is installed or runing-config for a long time after software upgrade, please immediately contact Ruijie for technical support.

 

Upgrade in Main Program Mode (via FTP)

I. Note to Upgrade via FTP

As the PC where the new version is stored is translating a private Intranet address to a public address, the device cannot be upgraded via TFTP. By upgrade via File Transfer Protocol (FTP), enable FTP Server on the PC and transmit the software version to the device via FTP.

II. Upgrade Tips

1.     Enable FTP Server on the device.

2.     Transmit the software version to the device with the PC as an FTP client.

3.     Restart the device to confirm the upgrade result.

III. Upgrade Steps

1.     Log in to the device to be upgraded and enable FTP Server.

Ruijie(config)#ftp-server enable    --->Enables FTP Server.

Ruijie(config)#ftp-server username ruijie --->Configures FTP Server user name.

Ruijie(config)#ftp-server password ruijie --->Configures FTP Server password.

Ruijie(config)#ftp-server topdir /   --->Configures the directory where received files are stored for FTP Server. For the upgrade file, the directory must be indicated by "/".

2.     Configure FTP parameters for the PC to log in to the device and transmit the new version to the device.

Put the bin file to be uploaded in a root directory of a disk, such as C:\.

Choose Menu > Run > CMD, and then press Enter.

Enter disk C (where the bin file is stored) and enable FTP Server.

Log in to the device to configure parameters.

3.     Transmit the bin file to the device.

The file is transmitted.

Run the bye command to disable the connection to FTP Server.

4.     Restart the device to check the upgrade result.

Log in to the device and run the DIR command to confirm whether the size in bytes of the rgos.bin file is consistent with the size in the release notes.

For a RSR77/77-X/50E-40 device, upgrade line cards.

Save the configuration of the device, and restart the device.

Run the Ruijie#write command to save the configuration:

Run the Ruijie#reload command to restart the device:

After restart, run the show version command to confirm whether the device has been upgraded to the target version.

 

1.2     Password Restoration

1.2.1     Password Restoration with RGOS Version 10.X

 

I. Password Restoration Requirements

If an administrator forgets the login password, the administrator can enter the Boot layer to restore the password by using a configuration cable, and previous configuration needs to be reserved.

 

II. Password Restoration Principle

The device reads the config.text file during startup and the password is stored in the config.text file. Therefore, enter the BootLoader mode of the device and rename the file. When the device fails to locate the config.text file during startup, it directly enters the system. After the device enters the system, name the configuration file config.text, set a new password and save it. Then, you can log in to the device by using the new password next time.

 

III. Password Restoration

1.     Get a configuration cable ready for password restoration. The device needs to be restarted and password restoration needs to be completed at the Boot layer.

2.     Rename the configuration file rather than delete it during password restoration. Otherwise, the configuration will be lost.

 

IV. Configuration Steps

1.     Restart the router to enter the CLI mode of the Boot layer.

Notes:

The operations of entering the CLI mode of the Boot layer from RSR routers are different for routers with RGOS later than or earlier than 10.4. You can directly enter the CLI mode of routers with RGOS later than 10.4, and you need to enter the menu mode first if the routers run RGOS earlier than 10.4.

1)     Enter the CLI mode of the Boot layer from the router with RGOS later than 10.4.

Restart the router. When the "Press Ctrl+C to enter Boot ..." prompt is displayed, press Ctrl+C to enter the CLI mode of the Boot layer. The BootLoader> prompt is displayed.

2)     Enter the CLI mode of the Boot layer from the router with RGOS earlier than 10.4.

a.     Restart the router. When the "Press Ctrl+C to enter Boot Menu ..." prompt is displayed, press Ctrl+C to enter the menu mode of the Boot layer.

b.     In menu mode of the Boot layer, press Ctrl+Q to enter the CLI mode of the Boot layer. The BootLoader> prompt is displayed.

2.     Rename the configuration file.

BootLoader>rename config.text config.bak

3.     Restart the device.

BootLoader>reload

4.     Restore the configuration file.

5.     Set a new password and save device configuration.

RSR20-14E#configure terminal

RSR20-14E(config)#enable secret ruijie      //Set a new password.

RSR20-14E(config)#end

RSR20-14E#write        //Save device configuration.

After a new password is set, you can use it to log in to the system. Other configuration keeps unchanged.

 

1.2.2     Password Restoration on RSR77

 

I. Password Restoration Requirements

If an administrator forgets the login password, the administrator can enter the Ctrl layer to restore the password by using a configuration cable, and previous configuration needs to be reserved.

 

II. Password Restoration Principle

The device reads the config.text file during startup and the password is stored in the config.text file. Therefore, enter the Ctrl layer of the device and rename the file. When the device fails to locate the config.text file, it directly enters the system. After the device enters the system, name the configuration file config.text, set a new password and save it. Then, you can log in to the device by using the new password next time.

 

III. Password Restoration

1. Get a configuration cable ready for password restoration. The device needs to be restarted and password restoration needs to be completed at the Ctrl layer.

2. Rename the configuration file rather than delete it during password restoration. Otherwise, the configuration will be lost.

 

IV. Steps

1.     Restart the router to enter the CLI mode of the Ctrl layer.

Restart the router. When the "Press Ctrl+C to enter Ctrl ..." prompt is displayed, press Ctrl+C to enter the CLI mode of the Ctrl layer. The Ctrl> prompt is displayed.

2.     Rename the configuration file.

Ctrl>rename config.text config.bak   // Rename the configuration file config.bak.

3.     Restart the device.

Ctrl>reload

4.     Restore the configuration file.

Note:

To copy the configuration file of routers with RGOS earlier than 10.4, the command must be copy flash:/config.bak flash:/config.text and a slash (/) must be added behind flash: to indicate the absolute path. The slash (/) does not need to be added for routers with RGOS later than 10.4.

5.     Set a new password and save device configuration.

RSR7708#configure terminal

RSR7708(config)#enable secret ruijie

RSR7708(config)#end

RSR7708#*Mar  8 10:36:56: %SYS-5-CONFIG_I: Configured from console by console

*Mar  8 10:36:56: %PARAM-6-CONFIG_SYNC: Sync'ing the running configuration to the standby supervisor.

*Mar  8 10:36:56: %PARAM-6-CONFIG_SYNC: The running configuration has been successfully synchronized to the standby supervisor.

RSR7708#write

Building configuration...

[OK]

RSR7708#*Mar  8 10:37:01: %PARAM-6-CONFIG_SYNC: Sync'ing the startup configuration to the standby supervisor.

*Mar  8 10:37:01: %PARAM-6-CONFIG_SYNC: The startup configuration has been successfully synchronized to the standby supervisor.

After a new password is set, you can use it to log in to the system. Other configuration keeps unchanged.

 

1.3     Upgrade Firmware and Import Configuration Using FUNC Key

1.3.1     Upgrade Firmware Using Fun Key

 

Features

You can upgrade the device software in one-key mode by using the FUNC key. No commands need to be executed for the upgrade.

Notes:

1.     The FUNC key must exist on the device or supervisor module (this key does not exist on devices of earlier versions and therefore, the one-key upgrade is not supported in such devices).

2.     Access and convergence switches support one-key upgrade since version 3b12.

3.     The RSR77 router supports one-key upgrade since version 3b21.

Principle

After the device is normally started and successfully identifies a USB flash drive or SD card, press the FUNC key. The system interrupts the current task and executes the FUNC key processing task. In the FUNC key processing task, the system detects whether an SD card or USB flash drive is inserted into the current device. If not, the system directly resets. If a storage medium is identified, the system scans the storage medium to detect whether an installation package in the specified file name format exists in the root directory. If an installation package in the correct format is detected, the system upgrades the device. After the upgrade ends, the system resets and restarts using the new software version.

Upgrade Steps

1.     Get ready the bin file required for upgrade.

Copy the bin file into the root directory of the USB flash drive and rename it rgos.bin. It is strongly recommended that only one bin file be stored in the USB flash drive.

2.     Insert the USB flash drive into the USB port of the device.

Wait till the USB indicator on the panel turns solid green, indicating that the device has correctly identified the USB flash drive.

3.     Press FUNC to upgrade the device (the device cannot be powered off).

Use a small object to press the FUNC key. After FUNC is pressed, the device automatically starts upgrade. The USB indicator blinks and the device automatically resets after upgrade. After the SYS indicator turns solid green, the upgrade is complete. Log in to the device to check the version.

Verification

Run the show version command to check whether the device is upgraded successfully.

Ruijie#show version

System description      : Ruijie Router (RSR20-14-E) by Ruijie Networks

System start time       : 2015-01-29 11:53:33

System uptime           : 11:2:44:28

System hardware version : 1.00

System software version : RGOS 10.3(3b23), Release(174201)

System BOOT version     : 10.3.150859

System serial number    : 123456789efagd

Ruijie#

For RSR77 routers, run the show version slot command to display operating status of cards in slots and check that Software Status of each card is running. The following figure shows an example.

If you wait for a long time after software upgrade but Status is always installed or running-config, immediately contact Ruijie Network to seek technical support.

 

1.3.2     Import Configuration Using FUNC Key

 

Features

You can import device configuration in one-key mode by using the FUNC key, in combination with a USB flash drive or SD card. You do not need to log in to the device and make configuration one by one on the CLI or import the config.text file.

Notes:

1.     The FUNC key must exist on the device or supervisor module (this key does not exist on devices of earlier versions and therefore, the one-key configuration import is not supported in such devices).

2.     Access and convergence switches support one-key configuration import since version 3b12.

3.     The RSR77 router supports one-key configuration import since version 3b21.

Principle

After the device is normally started and successfully identifies a USB flash drive or SD card, press the FUNC key. The system interrupts the current task and executes the FUNC key processing task. In the FUNC key processing task, the system detects whether an SD card or USB flash drive is inserted into the current device. If not, the system directly resets. If a storage medium is identified after normal device startup, the system scans the storage medium to detect whether the configuration file in the specified file name format config.des exists in the root directory. If the configuration file is detected, the system runs the configuration file in the USB flash drive or SD card, thereby implementing one-key configuration loading.

Import Steps

1.     Prepare the required config.text file.

         Prepare the required configuration file in advance and ensure that the content in the configuration file is supported by the current device and version.

2.     Install a PC-end configuration encryption tool, which is applicable to one-key configuration import, to encrypt the configuration file and generate the config.des file.

The configuration file is users' confidential content. Therefore, it needs to be properly protected against disclosure. Ruijie Networks one-key configuration import function provides a PC-end tool to encrypt the configuration file. Therefore, the configuration file is encrypted during transmission. When one-key configuration import is performed, the device reads encrypted configuration file in the SD card or USB flash drive and decrypts it. The device imports the configuration file only after successful decompression. If the decompression fails, the configuration file is incorrect or damaged during transmission and the system refuses import.

3.     Insert the USB flash drive into the USB port of the device.

Wait till the USB indicator on the panel is steadily on in green, indicating that the device has correctly identified the USB flash drive.

4.     Press FUNC to load the configuration (the device cannot be powered off).

Use a small object to press the FUNC key. After FUNC is pressed, the device automatically resets. The USB indicator blinks. After the device restart is complete, the system automatically loads the configuration file in the SD card of USB flash drive. Log in to the device to check the version.

Verification

After the device is started successfully, run the show run command to check whether the configuration is successfully loaded.

 

  • Sales Enquiry