.
l Cables
Console cable, USB to RS232 cable
l login the device
Open your software Putty, set baud rate to 9600
After system
prompts "Ruijie>", you can start your configuration
I. Network Topology
II. Configuration Steps
1. console connect to device and set passwords
2. set ip and gateway
ruijie(config)#interface vlan 1
ruijie(config-if-VLAN 1)#ip address 192.168.1.1 255.255.255.0
ruijie(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.2
3. set telnet password
ruijie(config)#line vty 0 4
ruijie(config-line)#password ruijie
4. set enable password
Ruijie(config)#enable password ruijie
III. Verification
Telnet 192.168.1.1
Input telnet password
input enable password
I. Network Topology
II. Configuration Steps
1. Enable http service
Ruijie#configure terminal
Ruijie(config)#enable service web-server
2. Configure IP address
Ruijie(config)#interface vlan 1
Ruijie(config-if)# ip address 192.168.1.1 255.255.255.0
3. Configure login password
case1:password login
Ruijie(config)#enable password ruijie
Ruijie(config)#end
Ruijie#write
III. Verification
open IE browser,llink to http://192.168.1.1
enter password
done
case2:username&password login
1. Enable http service
Ruijie(config)#username admin password ruijie
Ruijie(config)#username admin privilege 15
Ruijie(config)#ip http authentication local
Ruijie(config)#end
Ruijie#write
III. Verification
1.show service
1. open browser,link to http://192.168.1.1
enter password
Note:
If prompted for an account or password error, try to set the IE browser compatibility to confirm whether the problem is resolved.
I. Network Topology
II. Configuration Steps
1. enable SSH service
Ruijie#configure terminal
Ruijie(config)#enable service ssh-server
2. generate key
Ruijie(config)#crypto key generate dsa
Choose the size of the key modulus in the range of 360 to 2048 for your Signature Keys. Choosing a key modulus greater than 512 may take a few minute
How many bits in the modulus [512]: //press enter
% Generating 512 bit DSA keys ...[ok]
3. configure IP address
Ruijie(config)#interface gigabitEthernet 0/0
Ruijie(config-if-GigabitEthernet 0/0)#ip address 192.168.1.1 255.255.255.0
Ruijie(config-if-GigabitEthernet 0/0)#exit
Solution 1:password login
Ruijie(config)#line vty 0 4
Ruijie(config-line)#login
Ruijie(config-line)#password ruijie
Ruijie(config-line)#exit
Ruijie(config)#enable password ruijie
Ruijie(config)#end
Ruijie#write
Solution 2: username & password login
Ruijie(config)#line vty 0 4
Ruijie(config-line)#login local
Ruijie(config-line)#exit
Ruijie(config)#username admin password ruijie
Ruijie(config)#enable password ruijie
Ruijie(config)#end
Ruijie#write
III. Verification
Check SSH service
Check SSH services
Show users
Creating a Management IP Address
The SVI and router port address can be used as the management address of the layer 3 switch.
Layer 3 Switch:
The address of a layer-3 switch can be configured for management or communication, for example, as the gateway for a user.
Configuration Method 1:
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#interface vlan 10
Ruijie(config-if-VLAN 10)#ip address 192.168.1.1 255.255.255.0
Ruijie(config-if-VLAN 10)#end
Ruijie#write
Note: To configure the address for VLANs other than VLAN 1 in interface configuration mode, create the corresponding VLAN first; otherwise, a failure prompt is displayed.
Configuration Method 2:
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#int GigabitEthernet 1/1
Ruijie(config-if-GigabitEthernet 1/1)#no switchport ------>configure the port as layer 3 port before configuring ip address
Ruijie(config-if-GigabitEthernet 1/1)#ip add 192.168.16.1 255.255.255.0
Ruijie(config-if-GigabitEthernet 1/1)#end
Ruijie#write ------>save configuration after checking.
Verification
Ruijie#show ip int brief
Interface IP-Address(Pri) IP-Address(Sec) Status Protocol
GigabitEthernet 1/1 192.168.16.1/24 no address up up
VLAN 10 192.168.1.1/24 no address up up
VLAN 100 192.168.100.1/24 192.168.10.1/24 up up
Configuring the Default Gateway of a Switch
Configure the default gateway, that is, default route, of a layer 3 switch.
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.254 ------>configure default gateway of switch as 192.168.1.254
Ruijie(config)#end
Ruijie#write ------>save configuration after checking.
Verification
Ruijie#show ip route
Codes:C - Connected, L - Local, S - Static
R - RIP, O - OSPF, B - BGP, I - IS-IS, V - Overflow route
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
SU - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
IA - Inter area, * - candidate default
Gateway of last resort is 192.168.1.254 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 192.168.1.254
Notes (Must-Read)
I. TFTP Server
A TFTP server must be installed on a TCP/IP-ready workstation or PC. Once the application is installed, a minimal level of configuration must be performed.
1. First, the TFTP application must be configured to operate as a TFTP server as opposed to a TFTP client.
2. Second, the outbound file directory must be specified. This is the directory in which the Ruijie RGOS Software images are stored (see step 2 below). Most TFTP applications provide a setup routine to assist in these configuration tasks.
Note: A number of TFTP are available from independent software vendors or as shareware from public sources on the World Wide Web.
3. Third, download a TFTP Server. There are many TFTP servers available, and they can be easily found by searching for "tftp server" on your favorite Internet search engine. Ruijie does not specifically recommend any particular TFTP implementation.
II. Prerequisites
1. Download latest firmware at www.ruijienetworks.com
2. Backup running configuration to local hardrive
3. Prepare console cable in case of upgrade failure
4. Read firmware release notes, especially check "hardware supported" chapter
5. Log the whole upgrade process.
III. Tips
1. System upgrade require rebooting, may cause network down,suggest to upgrade in offpeak hours.
2. Keep power on during the whole upgrade process, or firmware might be lost.
3. Double check firmware package before upgrade, (Verify MD5 hash value)
4. Backup config file before your upgrade.
I. Network Topology
II. Configuration Steps:
1. Configure MGMT IP
Ruijie>enable ------>enable mode
Ruijie#configure terminal ------>enter global mode
Ruijie(config)#interface vlan 1 ------>interface mode
Ruijie(config-if)#ip address 192.168.1.1 255.255.255.0 ------>configure MGMT ip
Ruijie(config-if)#exit
2、Check ping connectivty
Notice: disable PC firewall during the whole process.
3. Check running firmware verion
4. Put tftp client and upgrade package in the same folder
5. Enable TFTP server
6. Login the switch
Ruijie#show ip route Ruijie#copy tftp://192.168.1.2/S2600_V10.4(2)_R75955.bin flash:rgos.bin 192.168.1.2 -->PC;S2600_V10.4(2)_R75955.bin-->upgrade package;rgos.bin --> firmware name
Copying firmware
7. File transfer finished
8. Reboot the switch
9. Check rebooting process
Notice
1. Ctrl mode upgrade is designed for disaster recovery
2. If system prompts "send download request", you have to follow these monitor mode upgrade steps.
I. Tips
1. Connect console cable to the switch
2. Connect Ethernet cable to the first copper port or MGMT port (phycial port doesn't linked up until data transfer start, you also can not check ping connectivity during this process)
II. Upgrade Steps
1. Set pc IP address -->192.168.1.2,enable TFTP server
Note: disable windows fireware during the whole upgrade process.
2. Connect switch console port
3. Console login to the system
1) Enter monitor mode
2) Teminate this progress, enter Ctrl> mode
Note: during normal start-up process, Press "ctrl+C" to interuppt
3) Input commmand tftp 192.168.1.1 192.168.1.2 S2600_V10.4(3)_R117920.bin -main
4) File transfering
5) Check file size
6) Load upgrade package
7) Show version
Note:Applicable for all chassis/box switches
Scenario
One VSU group is consist of two S8600 VSU group, each of the chassis is loaded with dual control engine.
I. Network Topology
II. Configuration Tips
1. Read release notes before the upgrade, especially the "supported hardware list"
2. VSU upgrade will cause network service down, plz researve at least TWO hours for the upgrade process.
III. Configuration Steps
1. Backup config file to local PC
2. Confirm hardware version before upgrade
3. Confirm with customer if service download is allowed;
4. Change chassis from VSU to standalone mode
Ruijie-ACTIVE#switch convert mode standalone
5. Follow chapter "firmware upgrade>User mode upgrade"
6. Show version on both chassis
7. Convert chassis back to VSU mode
Ruijie#switch convert mode virtual
Convert switch mode will automatically backup the "config.text" file and then delete it, and reload the switch. Do you want to convert switch to virtual mode? [no/yes]y
Do you want to recover "config.text" from "virtual_switch.text" (press 'ctrl + c' to cancel) [yes/no]:y
8. (show switch virtual), check network production
IV. Verification
1. Show version
2. Show switch virtual
Overview
Two upgrade packages are available to 11.X switches, namely rack package and patch package.
A rack package contains main installation packages of the supervisor module and all line cards and is used to upgrade all line cards on a rack device at one time.
A hot patch package contains hot patches for several functional components and is generally used to fix minor bugs. The functional component package can be patched by upgrading the hot patch package. After the upgrade, the device can immediately have new features without being restarted.
Both the rack package and the hot patch package are upgraded with their configurations saved.
Notes (Must-Read)
The difference between an 11.X box-type switch and a rack-type switch lies in that the former restarts after the upgrade command is run while the latter restarts after the reload command is run.
Ruijie#upgrade flash:S2910_RGOS11.4(1)B1_02162700_install.bin
Upgrade the device must be auto-reset after finish, are you sure upgrading now?[Y/N]y
Upgrade in the Running Mode
Rack Package Upgrade Using a USB Flash Disk
Notes
1. To fix software bugs or get new features, upgrade the switch software version in the running mode.
2. A USB flash disk is recommended for 11.X switch upgrade because the installation package is big and upgrade using other methods is slow. Upgrade with a USB flash disk is easy and quick.
3. The CM supervisor module only has a capacity of 512 MB. Therefore, the rack package can be directly upgraded only with a USB flash disk.
4. If the CM supervisor module has a capacity of 1 GB, upgrade the device by copying the installation package from TFTP to the installation partition as well as by using a USB flash disk. Run the dir install: command to view the corresponding drive.
5. If the CMII supervisor module has a large capacity, upgrade the device by copying the installation package from TFTP to the data partition as well as using a USB flash disk. Run the dir flash: command to view the corresponding drive.
Patch Package Upgrade Using a USB Flash Disk
Notes
1. To fix software bugs or get new features, upgrade the switch software version in the running mode.
2. A hot patch package contains hot patches for several functional components and is generally used to fix minor bugs. The functional component package can be patched by upgrading the hot patch package. After the upgrade, the device can immediately have new features without being started.
3. There is a baseline version for the patch package upgrade. Upgrade the device to the corresponding baseline version before upgrading the patch package. The device may be upgraded compulsively to the corresponding baseline version but it may cause version incompatibility. Therefore, compulsive upgrade is not advised.
4. To permanently activate patches, run the patch active command to temporarily activate the patch before running the patch running command.
I. Configuration Tips
Run the show version detail command to display the current version, that is, system software number.
Verify the upgrade file used by checking Release Notes.
Copy the upgrade file from the PC to the root directory of the USB flash drive.
Insert the USB flash drive to the USB port of the supervisor engine. The USB flash drive is automatically identified.
Note: Before removing the USB flash drive from the switch, run the show usb command to check the USB ID, and then run the usb remove xx command to remove the USB flash drive.
II. Configuration Steps
1. On CLI, run the upgrade command.
Ruijie#dir usb0: Checks whether the upgrade file exists on the USB flash drive.
Ruijie#upgrade usb0: /xxxxx_install.bin (xxxx_install.bin is the upgrade file copied to the USB flash drive)
2. Wait until the upgrade progress reaches 100%, or run the show upgrade status command to check the upgrade progress.
Ruijie#show upgrade status
3. Wait until the upgrade process of all the line cards, FE cards, and supervisor engines reaches 100% and the result is success, run the reload command to restart the device. (The entire upgrade process generally takes four to five minutes and does not affect services. In this operation, the Flash file on the line card is upgraded, but the earlier version still runs on the memory.) After the device is restarted, the new version runs.
4. Wait three to five minutes until the device is restarted.
III. Verification
Ruijie#show version detail
Run the show version detail command to display the current version, that is, system software number.
Verify the upgrade file used by checking Release Notes.
II. Configuration Steps
1. Start the FTP server on the device, and designate the root directory as the USB0 root directory. (The space on the built-in Flash of CMI is small, and may be insufficient for storing the upgrade file. The CMII can be specified as the Flash root directory.) ,the reference commands are as follows:
Ruijie(config)#ftp-server username admin
Ruijie(config)#ftp-server password ruijie
Ruijie(config)#ftp-server topdir usb0: / //The USB flash drive must be installed in advance on the main engine.
Ruijie(config)#ftp-server timeout 300
Ruijie(config)#ftp-server enable
2. The local PC serves as the FTP client. Start the client software (such as FLASHFTP) and connect to the FTP server (N18K). Ensure that the PC can communicate properly with the S86E.
3. Use the FTP client on the PC to load the upgrade file to the FTP server.
4. Run the upgrade command. (The subsequent procedures and methods are the same as those in the USB upgrade mode.)
The only difference between the FTP and USB onsite upgrade modes lies in the file transfer mode. In FTP upgrade mode, the upgrade file is transferred to the remote device through FTP to meet the remote upgrade requirement. In USB onsite upgrade mode, the upgrade file is directly copied from a PC to the USB flash drive.
The subsequent upgrade method is the same. That is, run the upgrade command to update the file and then restart the device to finish the upgrade.
Run the show version detail command to display the current version, that is, system software number.
Verify the upgrade file used by checking Release Notes.
I. Configuration Steps
1. Start the TFTP server on the PC and specify the directory of the upgrade file. Ensure that the PC communicates properly with the S86E.
3. The S86E serves as the TFTP client. The upgrade method is the same as that in the common TFTP upgrade mode. Copy the upgrade file to the USB flash drive on the CMI, or to the built-in Flash on the CMII.
Ruijie#copy tftp://192.168.1.1/S86e_install.bin usb0:// S86e_install.bin
4. Run the upgrade command. (The subsequent procedures and methods are the same as those in the USB upgrade mode.)
The only difference between the TFTP and USB onsite upgrade modes lies in the file transfer mode. In TFTP upgrade mode, the upgrade file is transferred to the remote device through TFTP to meet the remote upgrade requirement. In USB onsite upgrade mode, the upgrade file is directly copied from a PC to the USB flash drive.
The subsequent upgrade method is the same. That is, run the upgrade command to update the file and then restart the device to finish the upgrade.
The TFTP transmission rate is lower than the FTP transmission rate. Data is transmitted using TCP in FTP mode, and using UDP in TFTP mode. TFTP is simple and easy to use.
1. 11.X is a modular OS and the bug of a software function can be fixed by using a patch. After the patch is installed, the device can fix the bug and can run normally without being restarted. This OS is applicable to the scenario that imposes rigid requirements on the network interruption time during maintenance.
2. A patch is in the uninstalled, installed, or activated state, where:
The installed state indicates that the patch is installed on the memory of the device but the path function does not take effect yet.
Only a patch in the activated state takes effect.
I. Configuration Steps
1. Install a patch.
Copy the path file to a USB flash drive, and run the upgrade command to install the path.The reference command is as follows:
Ruijie#upgrade usb0: /N18K-octeon-cm_RGOS11.0(1b2)_20140708_patch.bin
2. Activate a patch.
The reference command is as follows:
Ruijie#patch active slot all
Ruijie#patch running slot all
Note: active means that the patch is currently effective and is ineffective after the device is restarted. running indicates that the patch is effective permanently.
3. Display the patch status.
The reference command is as follows:
Ruijie#show patch slot all
Notice
3. Ctrl mode upgrade is designed for disaster recovery
4. If system prompts "send download request", you have to follow these monitor mode upgrade steps.
I. Tips
1. Connect console cable to the switch
2. Connect Ethernet cable to the first copper port or MGMT port (phycial port doesn't linked up until data transfer start, you also can not check ping connectivity during this process)
II. Upgrade Steps
Note: disable windows fireware during the whole upgrade process.
1. Connect switch console port
2. Console login to the system
1) Enter monitor mode, change the baudrate to 115200
2) Teminate this progress, enter Ctrl> mode
Note: during normal start-up process, Press "ctrl+C" to interrupt, change the baudrate to 115200 first
Relogin the CLI page of switch since the baudrate has been changed.
Choose 1 for Xmodem utilities, and then choose 1 for main program upgrading, then choose transmission mode as sendXmodem(N) for firmware transmission
3) Load upgrade package
7) Show version
Ruijie#show version
System description : Ruijie 10G Ethernet Switch(S5750C-48GT4XS-H) By Ruijie Networks
System start time : 2016-08-23 17:45:36
System uptime : 0:03:10:08
System hardware version : 1.00
System software version : S5700H_RGOS 11.4(1)B2P3
System patch number : NA
System serial number : 1234942570049
System boot version : 1.2
Module information:
Slot 0 : S5750C-48GT4XS-H
Cpu 0:
Hardware version : 1.00
Boot version : 1.2
Software version : S5700H_RGOS 11.4(1)B2P3
Serial number : 1234942570049
Ruijie# show
I. Configuration Tips
1. Recovery the password in monitor mode (Ctrl mode)
2. Rename previous config file instead of renaming config file
II. Configuration Steps
1. Connect console cable to the switch
2. Refer to chapter system management>console management
1) Manually reboot the switch
2) Press Ctrl+C when system rebooting
3) Rename config.text ---->config.bak
4) Load firmware
5) Recovery the previous config file
6)Set new password
6)Verify new password
Login with the new password
I. Configuration Tips
1. Prepare console cable before recovering
2. Password recovery require system rebooting and network downtime
3. Improper operation may cause config file lost.
II. Configuration Steps
1. connect console cable to the switch
2. Refer to chapter system management>console management
1) manually reboot the switch
2) Press Ctrl+C when system rebooting
3) Press CTRL +Q to enter uboot CLI mode
4) then system will reboot automatically
5) At this moment, no password is required to enter CLI
Note: The password is reset just temporarily .Once you quit privilege mode, password is required again. You have to reset the password quickly.
6) Reset new password
7) Verify new password
Login with the new password
Note: For some devices, after input main_config_password_clear , this switch still prompt username and password. We could follow the guide shown as below to reset the password:
1)Reboot Switch
2)Press Ctrl+C to enter bootloader
====== BootLoader Menu("Ctrl+Z" to upper level) ======
TOP menu items.
************************************************
0. Tftp utilities.
1. XModem utilities.
2. Run main.
3. SetMac utilities.
4. Scattered utilities.
5. Set Module Serial
************************************************
Press a key to run the command:
3)Press ctrl + q, then input ubootui, click enter and press ctrl + p
s29xs#ubootui
Leaving simple UI....
s29xs#
4)Input the command shown as below:
s29xs#setenv runlevel 2
s29xs#run linux
Creating 1 MTD partitions on "nand0":
0x000001000000-0x000002e00000 : "mtd=6"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset:2048 (aligned 2048)
UBI: data offset:4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:"mtd=6"
UBI: MTD device size:30 MiB
UBI: number of good PEBs: 240
UBI: number of bad PEBs:0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold:4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs:19
UBI: total number of reserved PEBs: 221
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 2/0
UBIFS: recovery needed
UBIFS: recovery deferred
UBIFS: mounted UBI device 0, volume 0, name "kernel"
UBIFS: mounted read-only
UBIFS: file system size: 26030080 bytes (25420 KiB, 24 MiB, 205 LEBs)
UBIFS: journal size: 3682304 bytes (3596 KiB, 3 MiB, 29 LEBs)
UBIFS: media format:w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
Unmounting UBIFS volume kernel!
Uncompressing Kernel Image ... OK
Loading Device Tree to 823fc000, end 823ff593 ... OK
Starting kernel ...
5)Execute command shown as below:
~ #
~ # cd /data/
/data # ls
/data # mv config.text config_backup.text
/data # sync
/data # reboot
I. Network Topology
II. Configuration Steps
1. Connect console cable to the switch
2. Refer to chapter system management>console management
1) Manually reboot the switch
2)Press Ctrl+C when system rebooting
3) Delete config. txt
4)Load firmware
III. Verification
Confirm if all previous config file has been earased.
Suggestions for Improvement: | Please rate this document. | ||||||||||||
1000 characters remaining.
|
|
|
|||