10-05-2012 07:24 PM - edited 03-07-2019 09:18 AM
Hello All,
I received the below error when attempting to configure our standard username and password in the local user database of this Nexus 5548UP switch.
nxxxxx-xxxx-xxx-las05(config)# username netadmin password 5 YuXXXXXXXXX role network-admin
^
% String failed to match token pattern at '^' marker.
The carot is pointing to the "u". This password is alphanumeric with symbols. I have never run across this issue before. Can someone help advise why this error is occurring and how to resolve. Thanks.
Please note that X's have been inserted to conceal the actual device name, password, etc.
Adil
10-05-2012 08:25 PM
Have you tried it with a lowercase alpha? It may be a bug.
---
Posted by WebUser Paul Dawson from Cisco Support Community App
05-13-2013 08:37 PM
Strangely enough Nexus 5000 does not allow special characters in passwords:
Cisco Nexus 5000 Series passwords are case sensitive and can contain alphanumeric characters only. Special characters, such as the dollar sign ($) or the percent sign (%), are not allowed.
Perhaps this is your issue.
Nexus 7000 does not seem to have this issue.
Cheers,
David
05-14-2013 07:04 AM
Can you try: username netadmin password YuXXXXXXXXX role network-admin
When doing: username netadmin password 5 YuXXXXXXXXX role network-admin the switch is assuming that you are entering the encrypted password. The switch requires the clear text password to be configured and it will be converted to the encrypted password in the running config. If you want to copy an encrypted password then you will need to copy the output from the running config and paste it in.
05-29-2018 12:20 PM
no password strength-check
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