Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work in C2960X #8

Open
fgozdev opened this issue Jun 13, 2022 · 1 comment
Open

Doesn't work in C2960X #8

fgozdev opened this issue Jun 13, 2022 · 1 comment

Comments

@fgozdev
Copy link

fgozdev commented Jun 13, 2022

I have tried this C2960X and even when the hash is created fine the SW doesn't accepts it as valid.

Cisco-2960X(config)#username test privilege 15 secret 5 $1$Oh9i$VEEjjTMjnWVl18hXNoNjR.
ERROR: The secret you entered is not a valid encrypted secret.
To enter an UNENCRYPTED secret, do not specify type 5 encryption.
When you properly enter an UNENCRYPTED secret, it will be encrypted.

Is there something on the switch configuration that could make it work for you and not for me? I cannot think of anything in particular.

Thanks

@superadm1n
Copy link
Collaborator

I have just tested on a 2960x, specifically hardware cisco WS-C2960X-48FPD-L and had no issue

2960xswitch(config)#username test privilege 15 secret 5 $1$Oh9i$VEEjjTMjnWVl18hXNoNjR.
 WARNING: Command has been added to the configuration using a type 5 password. However, type 5 passwords will soon be deprecated. Migrate to strong password type
2960xswitch(config)#

What hardware type and software version are you running? providing the output of show version will help.

2960xswitch#show ver

~ Output Truncated ~

Switch Ports Model                     SW Version            SW Image
------ ----- -----                     ----------            ----------
*    1 54    WS-C2960X-48FPD-L         15.2(7)E5             C2960X-UNIVERSALK9-M

2960xswitch#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants