02-04-2013 02:01 PM - edited 03-01-2019 07:15 AM
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.
02-04-2013 11:29 PM
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
02-05-2013 09:40 AM
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.
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