Back
Home> Support> Technical Documents>

S86E Implementation Cookbook V1.1

2017-02-01 View: 36277
Catalog
11.x项目配置指南模板

Installation and Device Management

1.1       System Management

1.1.1      Console Management

 

.

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

1.1.2      Telnet Management

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

1.1.3      SSH Management

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 1password 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

1.1.4 Creating a Management IP Address

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

1.1.5 Configuring a Default Gateway

Note: The default gateway of a layer 3 switch is provided by static routing. A device can also learn network routing through a dynamic routing protocol so as to implement remote management. For the configuration specification of other routing protocols, see IP Route (for the configuration method, see Common Function Configuration > IP Route).

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

 

1.2        Firmware Upgrade

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.

 

1.2.2 Upgrade with USB Drive

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

1.2.3      Upgrade with FTP

 

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.

1.2.4      Upgrade with TFTP

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.

 

2. 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.2.5      Install Patch

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

1.3        Restore 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 + 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

How do you like this document ?

Suggestion
(0/255)

Can we contact you to discuss your suggestion?

Privacy Policy
Thank you. We will inform you of our response as soon as possible.
Thank you again for your valuable input!
This page will be closed in 5 s…
Submit

Ruijie Networks websites use cookies to deliver and improve the website experience.

See our cookie policy for further details on how we use cookies and how to change your cookie settings.

Cookie Manager

When you visit any website, the website will store or retrieve the information on your browser. This process is mostly in the form of cookies. Such information may involve your personal information, preferences or equipment, and is mainly used to enable the website to provide services in accordance with your expectations. Such information usually does not directly identify your personal information, but it can provide you with a more personalized network experience. We fully respect your privacy, so you can choose not to allow certain types of cookies. You only need to click on the names of different cookie categories to learn more and change the default settings. However, blocking certain types of cookies may affect your website experience and the services we can provide you.

  • Performance cookies

    Through this type of cookie, we can count website visits and traffic sources in order to evaluate and improve the performance of our website. This type of cookie can also help us understand the popularity of the page and the activity of visitors on the site. All information collected by such cookies will be aggregated to ensure the anonymity of the information. If you do not allow such cookies, we will have no way of knowing when you visited our website, and we will not be able to monitor website performance.

  • Essential cookies

    This type of cookie is necessary for the normal operation of the website and cannot be turned off in our system. Usually, they are only set for the actions you do, which are equivalent to service requests, such as setting your privacy preferences, logging in, or filling out forms. You can set your browser to block or remind you of such cookies, but certain functions of the website will not be available. Such cookies do not store any personally identifiable information.

Accept All

View Cookie Policy Details

Contact Us

Contact Us

How can we help you?

Contact Us

Get an Order help

Contact Us

Get a tech support