EX4200 Switch Password recovery

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.