cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7431
Views
0
Helpful
4
Replies

Error when configuring local username and password on Nexus 5K

adil.nasser3
Level 1
Level 1

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
Level 6
Level 6

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
Level 1
Level 1

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
Level 1
Level 1

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
Level 1
Level 1

no password strength-check

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card