linyonghang1@ru Publish time 2023-8-15 13:13:23

How to recover the password of Ruijie switch if it doesn't support "main_config_password_clear" command

1.        Topology

data/attachment/forum/202308/15/131112batzkz10exe9a9cs.png




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

data/attachment/forum/202308/15/131119sbdniz4pb4hmgpwd.png

3). Press CTRL+ Q,then input "ubootui", press ctrl + p as soon as you hit enter

data/attachment/forum/202308/15/131126yj5l6ajsujyzwcao.png

4). Then put the following commands:

s29xs#setenv runlevel 2

s29xs#run linux

data/attachment/forum/202308/15/131134wvectpnudzrdpvzw.png

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

data/attachment/forum/202308/15/131142eyrb1y5kkrik5c91.png


3.        Verification

Login in switch it can directly access

data/attachment/forum/202308/15/131150pxx22yxs7toubqox.png

Set the new password for switch

data/attachment/forum/202308/15/131155fdhwplz55cgw4zic.pngdata/attachment/forum/202308/15/131159a4zhhy444fy0wbej.png


Pages: [1]
View full version: How to recover the password of Ruijie switch if it doesn't support "main_config_password_clear" command