show user-group
Syntax
show user-group [ ] [vsx-peer]
描述
显示用户组信息for the built-in groups plus any user-defined local user groups. When entered without
, summary information is shown for all groups.
Command context
Manager (#
)
Parameters
-
-
Narrows the
show
command output to that of the specified group, and for local user groups, adds theUser 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.
权威
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-groupGROUP 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 groupadmuser2
.
switch(config-usr-grp-admuser2)#show user-group admuser2User 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.