To set permissions for a user, use the system login user class command in L2/L3 configuration mode. By default, a newly created user account is read-only. To delete a user, use the delete form of the command. 

Command Syntax

set system login user username class [ read-only | super-user ]
delete system login user username class

Parameters

usernameThe name of the user.
read-only(Optional) This keyword gives view-only or read-only permissions to user. This is the default option.
super-user(Optional) This keyword gives all permissions to user. The default option is read-only.

Example

The following example configures a super-user account named alpha:

admin@Switch# set system login user alpha class super-user