Commands to Change Password on Cisco router

Published on by Emma lee

Question: After getting to the Enable prompt on a Cisco router Cisco 3925E, what are the commands to change a local user's password on the router? It's at "enable secret 4..."

Answer: I think that if the user is already present, you actually have to remove the user and then re-add with the new password:

no username test_user

username test_user priv <priv_level> secret <new_password>

Addition: how to Recovery a lost Cisco router (such as Cisco 2900) or switch password, below are the steps:

Please note, these are the GENERAL procedures but procedures vary on varying devices!

1. power off and back on the device

2. hold down control and hit BREAK (may have to do this a few times)

3. Once you are at the rommon> prompt, type confreg.

4. Say "n" to all options except this one:

enable "ignore system config info"? y/n [n]: y

5. Say "n" to all other options

6. once back at the rommon prompt, type reset

7. the device will reboot

8. Once the device is booted, you will know that you are bypassing the config because you will be asked this question (say no):

Would you like to enter the initial configuration dialog? [yes/no]: no

9. Once booted, if you do a show version, you will see that your config register is 0x2142.

10. Now, you can either go to enable mode and do a show startup-config to see what the enable password is OR, if you have an enable secret password set, you can replace it by doing a copy start run, then going into global configuration and creating a new enable secret with enable secret cisco, then copy it back with copy run start.

11. Now, you want to change the config register back. In global configuration, type config-register 0x2102

12. save your configuration with wr or copy run start

13. reboot the device and you should be back with your original configuration but with a password that you know!

The comprehensive portfolio of Cisco routers can help you create a more intelligent, responsive, and integrated network. Cisco routers can be classified as Branch Routers, Cloud Connectors, Cloud Routers, Connected Grid Routers, Data Center Interconnect Platforms, Mobile Internet Routers, Service Provider Core Routers, Service Provider Edge Routers, Small Business Routers, WAN Aggregation and Internet Edge Routers. As a leading Cisco routers wholesaler, 3Anetwork.com keeps a huge stock of Cisco 1900/2900/3900/7600 routers and their bundles. In many cases, we can deliver Cisco routers in 2 business days at very good price and we can ship to worldwide.

3Anetwork.com is a world leading Cisco networking products wholesaler, 3Anetwork.com are most competitive on Cisco switches, like Cisco 2960 switches, Cisco 3560V2 3560X switches, Cisco 3750V2 3750X switches. Our customers include Cisco resellers, system integrators, ICT companies, online retailers etc.

Contact information:

Telephone: +852-3069-7733(Hong Kong)

Fax: +852-3069-7731

Email: info@3Anetwork.com(Sales Inquiries)

Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong

Website: http://www.3anetwork.com

http://www.3anetwork.com/cisco-cisco1941/k9-price_p209.html Cisco 1941 price

http://www.3anetwork.com/cisco-cisco1941/k9-price_p209.html Cisco 1941 price

Published on Cisco 3925E, Cisco 2900

To be informed of the latest articles, subscribe:
Comment on this post