Please select To the mobile version | Continue to access the desktop computer version
 Forgot password?
 Register now


Switch

View: 762|Reply: 2

How to reset password on switch?

  [Copy link]

0

Digests

307

Posts

309

Credits

Intermediate member

Rank: 3Rank: 3

Credits
309
Post time 2019-3-29 09:59:17 | Show all posts |Read mode
I forget my switch password, how can I reset password?
Reply

Use magic Report

0

Digests

307

Posts

309

Credits

Intermediate member

Rank: 3Rank: 3

Credits
309
 Author| Post time 2019-3-29 10:01:43 | Show all posts
Reset Password for RGOS 10.X
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

Reply Support Not support

Use magic Report

0

Digests

307

Posts

309

Credits

Intermediate member

Rank: 3Rank: 3

Credits
309
 Author| Post time 2019-3-29 10:03:11 | Show all posts
Edited by Daisy at 2019-3-29 10:05

Reset Password for RGOS 11.X

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:
1Reboot Switch
2Press 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:
3Press ctrl + q, then input ubootui, click enter and press ctrl + p
s29xs#ubootui
Leaving simple UI....
s29xs#
4Input the command shown as below:
s29xs#setenv runlevel 2
s29xs#run linux
Unmounting UBIFS volume kernel!
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 823fc000, end 823ff593 ... OK
Starting kernel ...
5Execute command shown as below:
~ #
~ # cd /data/
/data # ls
/data # mv config.text config_backup.text
/data # sync
/data # reboot


Reply Support Not support

Use magic Report

You have to log in before you can reply Login | Register now