role-show

This command is used to display roles in the switch configuration.

Syntax   role-show

id 


name name-string

Name for the role.

scope [local|fabric]

Scope for the role.

vnet-access vnet name|all

The VNET access ID.

access read-only|read-write

The access type for the role. The default role is read-write.

running-config|no-running-config

Specify if a user with this the role can use the running-config-show command. You may want to limit which users can use running-config-show because the command can expose sensitive password information.

shell|no-shell

Specify if the user can access the shell.

sudo|no-sudo

Specify if the user can execute the sudo command from the shell.

delete-from-users

Specifies to delete from users.

group-id group-id-number

The group ID.

Defaults   None.

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.1

The parameter name added.

Version 2.6.0

The parameters shell|no-shell, and sudo|no-sudo added.

Usage   You can view all configured roles in the switch configuration.

Examples  To display all roles, use the following command:

CLI (network-admin@switch) > role-show 

switch name                    scope vnet-access access     running-config shell sudo 

------ ----------------------- ----- ----------- ---------- -------------- ----- ---- 

switch network-admin           local all         read-write permit         deny  deny 

switch read-only-network-admin local all         read-only  deny           deny  deny 

switch vnet1-admin             local vnet1       read-write deny           deny  deny


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south