cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
5960
Views
0
Helpful
4
Replies
adil.nasser3
Beginner

Error when configuring local username and password on Nexus 5K

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

4 REPLIES 4
fb_webuser
Frequent Contributor

Have you tried it with a lowercase alpha? It may be a bug.

---

Posted by WebUser Paul Dawson from Cisco Support Community App

david.wright2
Beginner

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.

http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/system_management/521_n1_1/b_5k_System_Mgmt_Config_521N11_chapter_0111.html#reference_A89FC0638FF44D14B99E77FEDC792143

Perhaps this is your issue.

Nexus 7000 does not seem to have this issue.

Cheers,

David

James Neilson
Beginner

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.

BillXia
Beginner

no password strength-check