08-23-2023 12:38 PM
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
08-23-2023 01:04 PM
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
08-23-2023 01:35 PM - edited 08-23-2023 01:37 PM
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.
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