We know that the device at the factory, there is a default administrative user root, the password is empty, this user is not allowed to use our remote login. So we use the default user to enter the device to create a new user as super-user. But the root user because there is no password, so for security, we also set a level password, as a barrier, this user for the super user. Once we've set a password for the super user, what do we forget? Here's a good workaround:
We can dial the power to restart, or use the command Request system reboot or request system halt or request system Power-off, Here we have to note that when the switch is closed, Turn off the switch with the command first, and wait until the system process stops, and then turn off the power module.
The switch must be turned off before switching power is turned off
At this point we only need to appear at the following command prompt on the device:
booting [kernel] in 9 seconds ...
< Press any key other than return >
We want to quickly press any key to interrupt the boot mode, into single user model: Boot-s
Then in:
Enter Full pathname of the shell or ' recovery ' for root password recovery or RETURN for/bin/sh: after entering recovery, remember to enter recovery,
Wait for the following prompt:
Note:once in the CLI, you'll need to enter configuration mode using
Note:the ' Configure ' command to do any required changes. For example,
note:to Reset the root password, type:
Note:configure
Note:set system Root-authentication Plain-text-password
Note: (Enter the new password when asked)
Note:commit
Note:exit
Note:exit
Note:when you exit the CLI, you'll be asked if you want to reboot
Note:the system
Starting CLI ...
Root>
At this point, we go into configure mode and delete the root password:
Root#delete system Root-authentication Plain-text-password
Root#commit
Root#exit
Root>request system reboot
After the restart, the password is empty, and finally want to how to do it, free play.
This article is from the "Gossip, meditation" blog, please be sure to keep this source http://yanhuasanyue.blog.51cto.com/9005517/1584545
EX4200 Switch Password recovery