cancel
Showing results for 
Search instead for 
Did you mean: 

VSP - Delete default user, or change access level.

VSP - Delete default user, or change access level.

Pedro_Rocha
New Contributor II

Hi everyone,

I have the following usernames on my VSP:

VSP_YYYYY-CIS-1:1#sh cli username
************************************************************************************
Command Execution Time: Tue Oct 08 17:49:01 2024 WEST
************************************************************************************

=============================================================
UserName AccessLevel State Type
=============================================================
ro ro enable default
xxxxxx rw disable default
rwa rwa NA default
snmpIPV rwa NA userDefined
yyyyy rwa NA userDefined
l3 l3 enable default
l2 l2 enable default
l1 l1 enable default
VSP_yyyyy-CIS-1:1#

I need to change user xxxxxx to rwa, or delete/reset do the default.
If I try to delete the user I get the following error.

VSP_yyyyy-CIS-1:1(config)#no username xxxxxx
Error: User name is part of default
VSP_yyyyy-CIS-1:1(config)#

I can reset the password, but I can't do anything else.
Can you help how to fix this?

Thanks!

3 REPLIES 3

MJS
New Contributor III

@Pedro_Rocha Great, glad we could point you in the right direction. Kudos!

MJS
New Contributor III

I believe this is what you are looking to do. This user command replaces the rwa default username with admin. The "y" below is in response to the switch asking if you want to change the default user name.

Switch(config)# user admin level rwa
You sure you want to do this (or something like that) (Y/N): y
[old password] rwa
[new password]
[new password]

Pedro_Rocha
New Contributor II

Hi @MJS it was not exactly the answer, but it actually helped.

I didn't noticed that I had changed the default username for RW. So, I changed the default username for RW and then created a username with RWA level

username readwrite level rw enable
(then the systems asks if I want to change the default username for rw): y
[old password]
[new password]
[new password]

and then

username add xxxxxxx level rwa enable
Old password:
New password:
New password:

That "add" is really important here 🙂

Thank you for your help.

GTM-P2G8KFN