Ruijie Community

Title: How to reset the login password if the switch with RGOS11.X have no reset button? [Print this page]

Author: GTAC-Sophia    Time: 2022-6-28 15:50
Title: How to reset the login password if the switch with RGOS11.X have no reset button?
Applied scenarios
If the administrator forgets the login password and cannot enter the configure mode to configure, then it is necessary to use the console line to enter the CTRL mode to recovery the password.
Preparation before configuration
1: using the console cable to connect the console port on switch.
2: manually power off the switch and power it on again to restart the switch.
Case of configuration
Step 1. press ctrl +c to enter the bootloader mode of device when it restart.
Step 2. enter the Ctrl + Q key at the same time to enter the uboot command line
Step 3. in the uboot command line state, enter the command 'main_config_password_clear'
Step 4. the device will automatically run the main program and print the logs



Step 5. then no password is required at this step to enter the configuration CLI command line interface.

Step 6. then need to manually modify the enable password and save the configuration


Verification
Re-login to the switch, log in with the new password to confirm that the login is successful.
Note:
The password recovery of the 11x switch will only take effect at that time. That is, after entering the CLI command line interface, if there is no key input within 10 minutes, the password is still required after the timeout. Or if the password is not changed after entering, the previous password will be used after the next restart of the device.





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2