Cisco Router Change Password

Answered Question
Mar 23rd, 2011

How can I change the password on my Cisco 877-K9?

Thank you,

I have this problem too.
0 votes
Correct Answer by naiduccnp about 3 years 3 weeks ago

Hi,

Yes, the text in red color is the password.

And as I said, you can configure the user and password like below.
username admin privilege 15 password 7 *********************
This is what you need to use to log into the Router and if you have enable secret configured then it will promot you to type password to go into to the enable mode (Router#) after log into the Router.

And what you find is...

Router(config)#enable secret ...
Once you logged into the router with the user (admin) you will get exe mode (Router>) now if you want go to enable mode (Router>enable) then it will promt you for password (here you need to give the one you create enable secret password)
And the enable secret will encrypt your password instead of plain text.

If you want change username then you need to change the password accordingly.

Hope this clear you...

Please click on the correct answer if this answered your question.
Regards,
Naidu.

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 3.7 (3 ratings)
naiduccnp Thu, 03/24/2011 - 00:16

Hi,

Which password you want to change is that console password you want change or telnet or admin password?

However please find the below commands for your reference to set the passwords in various places.

Set a console password to ciscoRouter(config)#line con 0
Router(config-line)#login
Router(config-line)#password cisco
Set a telnet passwordRouter(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password cisco
Stop console timing outRouter(config)#line con 0
Router(config-line)#exec-timeout 0 0
Set the enable password to ciscoRouter(config)#enable password cisco
Set the enable secret password to peter.

This password overrides the enable password and is encypted within the config file

Router(config)#enable secret peter

Hope this helps you.

If this answered your question please click on the correct answer.

Regards,

Naidu.

jeffreyjimenez17 Thu, 03/24/2011 - 00:38

Thank you Latchum Naidu,

can you give me sample on how to do it in the router?

I have this router and I used 1 password when I login via;

- Browser (using local and external IP)

- Run command (telnet IP address)

- Cisco SDM launcher

So can I configure a password for each one of them?..

Thanks

naiduccnp Thu, 03/24/2011 - 00:55

Hi,

You can use the user admin & password for all those.
To change the admin password use the below command

username admin privilege 15 password 7 *********************

Hope this helps you.

Please click on the correct answer if this answered your question.
Regards,
Naidu.

jeffreyjimenez17 Thu, 03/24/2011 - 01:26

Router#config t

Router(config)#enable secret

or

Router(config)#enable password

-----If you're trying to change the telnet password:-----

Router#config t

Router(config)#line vty 0 4

Router(config-line)#password

Is the text in red is the actual password to be set? sorry, Im just confused.

I found this post... Is this how to code it? Im using hyperterminal (tcp/ip Winsock)

Also, how can I change the username ... I forgot to ask this

Thanks

Correct Answer
naiduccnp Thu, 03/24/2011 - 01:41

Hi,

Yes, the text in red color is the password.

And as I said, you can configure the user and password like below.
username admin privilege 15 password 7 *********************
This is what you need to use to log into the Router and if you have enable secret configured then it will promot you to type password to go into to the enable mode (Router#) after log into the Router.

And what you find is...

Router(config)#enable secret ...
Once you logged into the router with the user (admin) you will get exe mode (Router>) now if you want go to enable mode (Router>enable) then it will promt you for password (here you need to give the one you create enable secret password)
And the enable secret will encrypt your password instead of plain text.

If you want change username then you need to change the password accordingly.

Hope this clear you...

Please click on the correct answer if this answered your question.
Regards,
Naidu.

Actions

Login or Register to take actions

This Discussion

Posted March 23, 2011 at 11:53 PM
Stats:
Replies:5 Avg. Rating:3.66667
Views:3874 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard