Ruijie Community

Title: How to recover the password of Ruijie switch if it doesn't support "main_config_password_clear" command [Print this page]

Author: linyonghang1@ru    Time: 2023-8-15 13:13
Title: How to recover the password of Ruijie switch if it doesn't support "main_config_password_clear" command
1.        Topology






2.        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,then input "ubootui", press ctrl + p as soon as you hit enter



4). Then put the following commands:

s29xs#setenv runlevel 2

s29xs#run linux



5). Run the following command and notice the space between the commands.

~ #

~ # cd /data/

/data # ls

/data # mv config.text config.bak

/data # sync

/data # reboot




3.        Verification

Login in switch it can directly access



Set the new password for switch









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