Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 1721 Changing Passwords

Status
Not open for further replies.

crmayer

Programmer
Joined
Nov 22, 2002
Messages
280
Location
US
I know the current password, and I just want to change it. Can somebody tell me how to do this? As you can see I am not very familar with Cisco Routers.
 
Look for your password to be in UNENCRYPTED Text

If it's there, then to change it you need the following:

configure terminal
enable password XXXXXXX [blue]<------choose one[/blue]
exit
copy run start

If you do a &quot;show running-config&quot; and there is a statement there along the lines of

enable secret 5 $1$x6TC$s7l7... Then you need the following

conf t
enable secret XXXXXX [blue]<------choose one[/blue]
exit
copy run start

If you have both in your running-config, the password you are using will be the secret one that is specified. You need to change that one, I suggest changing both, or turning off the enable password and just using the ENCRYPTED Secret

Good Luck.....

 
That seems to work for one, but I am not sure what this means. When I frist telnet into it, it prompts me for a password, I still have to use the old one. Then when I type enable at the prompt, I use the new password, and it lets me in. How do I change that first one?

When I did the show running-config it shows:

enable password XXXXXXXX (this is the new one)

But below (very bottom of config) it says this

password XXXXXX (old password)
login

Thanks for the help, but how to I change the &quot;login&quot; password??? I guess I am not sure if that is what it is called.
 
sorry...my fault.....

You changed the enable password to the new one.....

To change the &quot;initial&quot; console password, use the following...

conf t
line vty 0 4
password XXXXXXX [blue]<----- choose one again[/blue]
login
CNTRL + Z
copy run start

Line VTY 0 4 --- covers all five TELNET lines as you can't control which one you'll receive...

You have yet another one for a direct physical console session. Same as the VTY 0 4 command, but looks like this

conf t
line con 0
password XXXXXXX
login


NOTE: If you were to say:
conf t
line vty 0 4
no password
login

You will get an error that no password has been set and will need to physically touch the router to get back in.
 
Thank you, that seemed to have worked, they are both changed now.

Thanks again.
 
No Worries, glad it worked out for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top