03-23-2011 11:53 PM - edited 03-04-2019 11:51 AM
03-24-2011 01:41 AM
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.
03-24-2011 12:16 AM
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 cisco | Router(config)#line con 0 Router(config-line)#login Router(config-line)#password cisco |
Set a telnet password | Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password cisco |
Stop console timing out | Router(config)#line con 0 Router(config-line)#exec-timeout 0 0 |
Set the enable password to cisco | Router(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.
03-24-2011 12:38 AM
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
03-24-2011 12:55 AM
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.
03-24-2011 01:26 AM
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
03-24-2011 01:41 AM
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.
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: