10-01-2024 08:54 AM
hi all,
got a 3850 stack and the top one ie switch one is primary, i need to recover or make a new enable password and login for myself, has anyone got the steps to do this please
thanks,
rob
10-01-2024 09:14 AM
There will be plenty of material for password recovery on the forum and internet. Here is one
https://www.rogerperkin.co.uk/cisco/password-recovery/password-recovery-cisco-catalyst-3850/
10-01-2024 10:57 AM
Connect the console cable to master switch and follow below instructions and change what ever you like to change password or enable pasword.
10-01-2024 11:34 PM - edited 10-01-2024 11:40 PM
thanks guys, what about the other switches in the stack, shall i leave them switched on?
EDIT - i read the link you gave me @Flavio Miranda
ensure to remove all power cables and if using stack power disconnect the stack power so you can isolate the top switch of the stack.
10-02-2024 02:40 AM
The switches on stack will receive the config from the primary one. You can turn them off or not but they probably reload anyway when you get them together again
10-02-2024 10:38 AM
Ok @Flavio Miranda I'm doing the guide you suggested and getting stuck on the password as it's saying
"Invalid input detected"
I do
Username rwild privilege 15 somepasswordhere
My password contains special characters and numbers
Even when I try to test with password as password I get above error and it's always pointing at character 2
10-02-2024 10:46 AM
Got it, it is
username Mynetworkadmin privilege 15 secret $Str0ngP@ss$
10-02-2024 11:24 AM
@Flavio Mirandai need to delete an access class on a vty line, how do i do this please, this is whats stopping me from sshing to the switch
10-02-2024 11:35 AM - edited 10-02-2024 11:36 AM
Share the config please.
it should "
line vty x
no access-class xx in/out"
10-02-2024 11:40 AM
@Flavio Mirandai managed to work it out in the end
line vty 0 15
no access-class RESTRICT-SSH in
but i still cant login ssh
my vty lines look like this now
line vty 0 4
transport input ssh
line vty 5 15
transport input ssh
10-02-2024 11:50 AM
thank god for that i had to do this and i can now ssh in
hostname Switch9k
ip domain name npg.com
crypto key zeroize rsa
ip ssh dh min size 2048
crypto key generate rsa modulus 2048
do show ip ssh | i size
do show ip ssh | i SSH
ip ssh version 2
do show ip ssh
service password-encryption
username rsanchez privilege 15 secret $up3r$ecr3tP**bleep**
line vty 0 15
transport input ssh
show crypto key mypubkey rsa
10-02-2024 12:43 PM
Great to hear @robertkwild
good job
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