Cisco router password configuration and cleanup

Source: Internet
Author: User

Lab tasks:
1. Configure the password in Cisco mode routing
2. How to reset the password after forgetting the password

Experimental steps:
1. Give Router a password:
Router >enable
#config T
Router (config) #line vty 0 4//Incoming Remote management interface
#password//123 Configure password 123

Exit
          #enable password 456                //全局模式下配置特权安全密码456                        #service  password-encryption    //加密所设置的密码

Verify the configuration: #end
#show Running-config//View the configured password in privileged mode
#write//Save Configuration
#Reload//Restart router Verify the password you have configured

.2. Crack Router Password:
Press Ctrl+break to enter Romm mode immediately after power-on
Romm >confreg 0x2142//change configuration memory value to 0x2412 (formerly 0X2102)
Romm >reset//reboot directly into router do not find and load the boot configuration file
Router>enable
#copy startup-config running-config//Copy the boot configuration file to memory
#show Running-config//View the original password configuration
#bir Nvrom//View Startup profile Name
#erase nvrom//Delete boot profile (Note: command on real machine) "* * or change forgotten password directly"
#configuration Terminal//Enter global mode
#config-register 0x2102//Change the configuration memory value to 0x2102 "to reload the boot configuration file"

    #werite                                      保存**     【退到特权模式保存配置】    #reload                                     重启

3. Remote Authentication: Enter the command in the PC management side cmd mode:
Telnet + (IP address)
Password: Input 123

Enable
password:456

Enter privileged mode to complete Remote authentication

Reset Password Configuration verification: #reload Restart
Configuration of authentication settings after reboot: route>enable
Password: Enter the password you have reconfigured

Enter privileged mode to complete password reset verification

Cisco router password configuration and cleanup

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.