cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
753
Views
0
Helpful
2
Replies

Nexus 5000 question

Frank Crisman
Level 1
Level 1

I am attempting to change the password on a user account within the config of a Nexus 5000 switch. However, I get this error message when I try:

String failed to match token pattern

The password I want to use does contain a $ and I know this is a restriction if the password is clear-text but I am issuing the command for an encrypted password.

Any help with this would be greatly appreciated.                  

2 Replies 2

Oleksandr Nesterov
Cisco Employee
Cisco Employee

Hi Frank

do you configure it as:

username USER role network-admin password 5 YOUR_ENCRYPTED_PASSWORD

If yes, which version of nx-os fo you run?

There was an issue in versions below 5.x

HTH,

Alex

Alex, thank you for your response.

This particular switch is running version 5.1(3)N1(1a)

The exact command I was using was:   username admin password 5 ENCRYPTED_PASSWORD role network-admin

Just to make certain though, I formatted the command like you have it and I still get the error message. In both cases it places the ^ on the first character of the password I am using.