show user-group

Syntax

show user-group [<GROUP-NAME>] [vsx-peer]

Description

Shows user group information for the built-in groups plus any user-defined local user groups. When entered without <GROUP-NAME>, summary information is shown for all groups.

Command context

Manager (#)

Parameters

<GROUP-NAME>

Narrows the show command output to that of the specified group, and for local user groups, adds the User Group Rules list.

[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 list of all user groups, including built-in groups and local user groups.

switch# show user-group
GROUP NAME     GROUP TYPE     INCLUDED GROUP    NUMBER OF RULES
-------------- -------------- ----------------- -------------------
administrators built-in       n/a               n/a
admuser1       configuration  --                5
admuser2       configuration  admuser1          2
auditors       built-in       n/a               n/a
operators      built-in       n/a               n/a

Show detailed information for local user group admuser2.

switch(config-usr-grp-admuser2)# show user-group admuser2
User Group Summary
==================
Name            : admuser2
Type            : configuration
Included Group  : admuser1
Number of Rules : 2
User Group Rules
================
SEQUENCE NUM  ACTION     COMMAND                       COMMENT
------------- ---------- ----------------------------- --------------------------------
10            deny       show aaa .*                   Deny all show aaa commands.
20            permit     show .*                       Permit all other show commands.