10-08-2024 10:02 AM - edited 10-09-2024 02:18 AM
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!
10-09-2024 07:54 AM
@Pedro_Rocha Great, glad we could point you in the right direction. Kudos!
10-09-2024 06:01 AM
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]
10-09-2024 07:37 AM
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.