show user-list

Syntax

show user-list [vsx-peer]

Description

Shows all configured users and their corresponding group names.

Command context

Manager (#)

Parameters

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Show the user list from a switch with only the admin user defined.

switch# show user-list

USER                         GROUP
---------------------------------------------
admin                        administrators

Show the user list after adding a user to the operators built-in group.

switch# show user-list

USER                         GROUP
---------------------------------------------
admin                        administrators
oper1                        operators

Show the user list after adding a user to the auditors built-in group.

switch# show user-list

USER                         GROUP
---------------------------------------------
admin                        administrators
oper1                        operators
audit1                       auditors

Show the user list after adding a total of three users to two user-defined user groups.

switch# show user-list

USER                         GROUP
---------------------------------------------
admin                        administrators
oper1                        operators
audit1                       auditors
adm1a                        admuser1
admin2-a                     admuser2
admin2-b                     admuser2