cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
680
Views
4
Helpful
2
Replies

Enable password recovery (switch)

yolosf7
Level 1
Level 1

So i wrote a command like this

)# enable password 123

but when i type in 123 it still refuses access.

i want to know what’s wrong with my switch why the password i assigned to it doesn’t work 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

The post is not clear - the connection refused ? SSH or Telenet - or after Login enable ?

You also need to provide the model of the switch and IOS code running - also what config you have in VTY lines

suggest to post show run complete here

 

suggestion basic config :

 

config t
!
hostname SW1
!
!
enable secret 5 $1$jtK0$yyHFcVM7xyelts1csVwrV/
!
username cisco privilege 15 secret 5 cisco

!

VTY Lines config :

line con 0
exec-timeout 0 0
privilege level 15
line vty 0 4
privilege level 15
password cisco
transport input ssh

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

M02@rt37
VIP
VIP

Hello @yolosf7,

 

An enable password is defined as follows:

Must contain from 1 to 25 uppercase and lowercase alphanumeric characters.

Must not have a number as the first character.

Can have leading spaces, but they are ignored. However, intermediate and trailing spaces are recognized.

Then try another password  beginning with Uppercase, for example:

)# enable password Cisco123

Thanks.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
Review Cisco Networking for a $25 gift card