08-17-2011 12:39 PM - edited 03-07-2019 01:45 AM
I need to access the web interface on this switch but cannot find my notes with what the username and password are. Is there a way to find out or reset the web interface for this switch?
Or is there a way to set the username and password for the web interface via telnet since I do remember the password for that?
Thanks.
Solved! Go to Solution.
08-17-2011 01:07 PM
Hi,
just do a show run | i user to see user/passwords configured if you see something like user bla secret xxxx then you won't be able to recover the password but if user bla password bla in plain-text it's ok and even if you have user bla password 7 xxxx then with the trick I mentioned before you will recover the plain-text pass.
if you do sh run | i ip http and you get ip http authentication local then you can use the user/pass.
Regards.
Alain.
08-17-2011 01:32 PM
Can you please post us the config ? what is the authentication method ? local ? if it is local authentication, check the username password configured. if you did not get anything from "show run | i user", you might not have a username/pw configured.. try configuring a new username and let us know if this works..
Hope this helps..
Regards
Raj
08-17-2011 01:51 PM
Hi,
just configure a username/password with following:
username xxx privilege 15 secret xxxx
Regards
Alain.
08-17-2011 12:47 PM
Hi,
as long as you can access cli then yes you can change the username/secret or view the username/password even with service encryption on.In this case configure a key-chain like this:
key chain test
key 1
key-string 7 "encrypted password"
then do a show key chain and you'll get the password.
Regards.
Alain
08-17-2011 12:50 PM
So if i do that it will show me what the current username and password is for the web interface of this device?
08-17-2011 01:07 PM
Hi,
just do a show run | i user to see user/passwords configured if you see something like user bla secret xxxx then you won't be able to recover the password but if user bla password bla in plain-text it's ok and even if you have user bla password 7 xxxx then with the trick I mentioned before you will recover the plain-text pass.
if you do sh run | i ip http and you get ip http authentication local then you can use the user/pass.
Regards.
Alain.
08-17-2011 01:16 PM
when i do a "show run | i user" it doesnt return anything back at all
08-17-2011 01:32 PM
Can you please post us the config ? what is the authentication method ? local ? if it is local authentication, check the username password configured. if you did not get anything from "show run | i user", you might not have a username/pw configured.. try configuring a new username and let us know if this works..
Hope this helps..
Regards
Raj
08-17-2011 01:35 PM
what does sh run | i aaa returns as well as sh run | i ip http|authentication ?
Regards.
Alain.
08-17-2011 01:48 PM
3750Tech#sh run | i aaa
no aaa new-model
3750Tech#sh run | i ip http|authentication
ip http server
ip http authentication local
ntp authentication-key 17180153 md5 101E 7
08-17-2011 01:51 PM
Hi,
just configure a username/password with following:
username xxx privilege 15 secret xxxx
Regards
Alain.
08-17-2011 01:57 PM
I had just done that from the previous posters response and it worked.
Thanks.
08-17-2011 02:01 PM
Hi,
sorry for replicate post and happy it finally worked.
Regards.
Alain.
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: