Ruijie RG-S2126G switch password recovery practices

Source: Internet
Author: User
Tags file info

A ruijie RG-S2126G switch password forgotten, in order not to delay the use and configuration, decided to recover the password.
1. First, connect to the control port of the switch through a PC.
Open the Super Terminal on the pc and set 57600, data bit: 8, parity: None, stop bit: 1, data flow control: None, such:
650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02344W4b-0.jpg "/>

After the switch is powered on, it will be completed within 3 seconds: click "OK" and press the "ESC" Key continuously to enter the ctrl layer of the switch.
The following figure is displayed:
Boot version: RG-S2126G-BOOT 03-02-02 2004-10-12
Ctrl version: RG-S2126G-CTRL 03-09-03 2005-08-02

Starting...

Initializing File System...

DEV [0]: 26 live files, 3 dead files.
DEV [0]: Total bytes: 32423936
DEV [0]: Bytes used: 5401804
DEV [0]: Bytes available: 27022132
DEV [0]: File system initializing took 2 seconds.


Xmodem file system is available.
Continue with configuration dialog? [Y/n]:
Then press "Y"
Then, it is displayed as follows:
--- Ctrl Loader Dialog ---

TOOLS MENU
**************************************** *************
* ****** 1 -- Download ******
* ****** 2 -- Upload ******
* ****** 3 -- File Info ******
* ****** 4 -- Delete File ******
* ****** 5 -- Rename File ******
* 6 -- Run Main File ******
* ****** 7 -- Format Flash ******
* ****** 8 -- Defrag Flash ******
* ****** 9 -- download all files (DHCP + TFTP )******
**************************************** *************
Input command:
After the preceding dialog box is displayed, we can follow the prompts. Here we select "2". After you press "2", it will appear:
Input filename:
Prompt statement, and then Enter the file name to be uploaded. Here we Enter: config. text, and then press "Enter", and then send it at the Super Terminal Point --- the following dialog box will appear when receiving the file:
 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02344Q543-1.jpg "/>

In "put received files in the following folders", browse and select the directory where you want to store the files, and select 1 K Xmodem in "Practical receiving protocol, click "receive" and the following dialog box is displayed:
 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02344V229-2.jpg "/>

In this dialog box, enter the name of the file to be received. text, and then click "OK" to receive the file. The file will be automatically saved to the storage directory we just selected. After the transfer is successful, the area marked with red circles will be displayed ):
 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02344R4T-3.jpg "/>

The file is successfully received. Use NotePad to open the "config. text" file we just received and modify the password configuration field, such as the red part:
Version 1.0:
!
Hostname s2150g-7 #
Vlan 1
!
Vlan 85
!
Enable secret level 1 5, _ W2.Y * T7] 3, tZ [VZU4 + S (\ WX2Q1X) sv
Enable secret level 15 5, _ W29 = G17] 3R:> H. ZU4 _; C, tX2Q0 <D + S
!
Interface fastEthernet 0/1
Flowcontrol on
Switchport access vlan 85
Dot1x port-control auto
Ip access-group worm110 in
!
The red text indicates the password of the configuration document in the vswitch. Delete the two statements, save the document, and send the modified document to the vswitch.
In the following dialog box of the Super Terminal, select "1"

TOOLS MENU
**************************************** *************
* ****** 1 -- Download ******
* ****** 2 -- Upload ******
* ****** 3 -- File Info ******
* ****** 4 -- Delete File ******
* ****** 5 -- Rename File ******
* 6 -- Run Main File ******
* ****** 7 -- Format Flash ******
* ****** 8 -- Defrag Flash ******
* ****** 9 -- download all files (DHCP + TFTP )******
**************************************** *************
Input command: 1
Input filename:
Enter config. text in "Input filename:", and then press "Enter". In the Super Terminal, click "transfer". The "send" file dialog box appears, as shown in the following figure:

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02344U635-4.jpg "/>

In the file name field, select the directory where we saved the modified configuration file. In the protocol field, select 1 K Xmodem.
Click "send". The following figure is displayed when the transfer is successful:
 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02344W5N-5.jpg "/>

Note that download OK in the figure indicates that the file is successfully transferred. Then, restart the switch and establish a connection to the Super Terminal. When "COM1 properties" is configured, click "Restore to default" in the lower right corner ", click "OK", and then we can enter the switch. The password has been cleared.

This article is from the "dripping water and stone" blog and will not be reposted!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.