CISCO CCNA Router Password management

Source: Internet
Author: User

for device security, the device administrator typically sets the user name and password for the device.

Here's how to configure 3 passwords, with emphasis in the middle.

Username Test password Cisco//This is to set up a layer of accounts and passwords

Enable password 123// This is the Setup admin password

Router (config) #line console 0// configuration control Port

Router (config-line) #password 456// Configure password

Router (Config-line) #login// enable password to take effect

Router (Config-line) #exit

Router (config) #enable password 123// Configure privileged mode password

Router (config) #username test password Cisco// Create local user test and password Cisco

Router (config) #line vty 0 4// configuration vty Port 0-4

Router (config-line) #login Local// set up remote login using native user name and password

Router (Config-line) #exit

Router (config) #service password-encryption// encrypt all passwords

Password management is the basis of network security management, in the current network security increasingly serious situation, "lock good

The door "is the kingly way!

Router Password recovery

1. Disconnect the power supply, restart the router, and hold down the Ctrl+break key combination to enter Rommon mode

2, modify the router configuration register value is 0x2142, restart the router

As you can see, the router does not read the local configuration file because of the reason for configuring the hosting value.


3, enter the normal operation mode, restore the configuration and delete the password

View Configuration

Delete the configured password: (that is, before the original password command plus NO)

if the configuration file of the device itself is of little significance to us, it is recommended to use write erase to empty

All configurations.

4. Modify the configuration register value

after the password is deleted, the value of the register is modified

View Register Configuration


Save and restart the router


At this point the router password recovery is complete!



Chenlongchun

2017-11-28


CISCO CCNA Router Password management

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.