02-04-2017 09:09 AM - edited 03-08-2019 09:11 AM
Hi,
I inherited a switch, and am trying to setup managment IP and login, and I can't get it working on 3750:
At console, I'm logged in without any password, and enable requires password of one of the vty's (i'm not sure which one)
Relevant lines:
version 12.2
service password-encryption
enable password 7 020xxxxxxxxxx
!
!
interface Vlan20
ip address 10.10.10.240 255.255.255.0
.
!
!
line con 0
line vty 0 4
password 7 030xxxxxxxxx
login
line vty 5 15
password 7 08xxxxxxxxxxx
login
!
end
I also entered:
username xxxxxx privilege 15 password 7 0 xxxxxxx
but it's not working.
What am I missing?
Thanks
02-04-2017 09:34 AM
Hi there,
The password is asking you is the one you have on the vty line
My personal preference on this case is to configure as follows:
username admin privilege 15 secret mysecret
line vty 0 15
login local
no password
line con 0
login loca
No password
by entering the Login Local command to the console and vty line you are ensuring you will ask the username and password you have configured
02-13-2017 07:22 PM
Great, thank you everyone. I will get this sorted and mark it as correct answer soon.
Best regards,
Jason
02-14-2017 01:39 AM
Hi Jason,
Thank you, please keep us posted.
Have a good day
:-)
02-04-2017 12:24 PM
Hi
If you want to connect to the switch remotely via ssh or telnet, you must include the following command:
conf t
ip default-gateway 10.10.10.1 <-- I am assuming IP .1 is your gateway and the vlan 20 is your management vlan.
And if you are going to use the local credentials created on your device, please execute these command lines:
conf t
no aaa new-model
username Cisco priviledge 15 password Test123 (example)
line vty 0 15
login local
write memory
*Also ping the management IP in order to check the reachability.
:-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide