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