cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
88631
Views
6
Helpful
5
Replies

Cisco Router Change Password

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

Thank you,

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

5 Replies 5

Latchum Naidu
VIP Alumni
VIP Alumni

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.

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

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.

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco