groups command
This command displays and configures Active Directory groups of the primary CMM. This group information is used only when LDAP servers are enabled for authentication with local authorization.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or groups command errors for a list of error messages that are specific to the groups command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display all Active Directory groups | Displays all Active Directory groups, up to 16, configured for the Lenovo Flex System chassis. | groups | Primary CMM:
|
Display specific Active Directory group | Displays information for the specified Active Directory group. | groups -n group_name group_name is the unique alphanumeric string, up to 63 characters in length, that identifies the Active Directory group. | Primary CMM:
|
Add new Active Directory group | Adds a new Active Directory group. Note When adding a new group you must specify:
| groups -add -n group_name -a group_authority where:
| Primary CMM:
|
Add new Active Directory group (continued) | where the scope is one or more of the following devices, separated by a vertical bar ( | ). Ranges of devices are separated by a dash ( - ).
This command can only be run by users who have one or more of the following command authorities:
| ||
Set Active Directory group authority level | Sets the authority level for the specified Active Directory group. | groups -n group_name -a group_authority where:
| Primary CMM:
|
Set Active Directory group authority level (continued) | where the scope is one or more of the following devices, separated by a vertical bar ( | ). Ranges of devices are separated by a dash ( - ).
This command can only be run by users who have one or more of the following command authorities:
| ||
Delete Active Directory group | Delete the specified Active Directory group. | groups -n group_name-clear group_name is the unique alphanumeric string, up to 63 characters in length, that identifies the Active Directory group. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
groups -add -n admin1 -a rbs:super -T mm[p]
groups -n admin1 -T mm[p]
groups -n admin1 -a rbs:ba:b1-b14 -T mm[p]
groups -n admin1 -clear -T mm[p]
The following example shows the information that is returned from these commands:
system> groups -add -n admin1 -a rbs:super -T mm[p]
OK
system> groups -n admin1 -T mm[p]
-a Role:supervisor
Blades:1|2|3|4|5|6|7|8|9|10|11|12|13|14
Chassis:1
Modules:1|2|3|4
system> groups -n admin1 -a rbs:ba:b1-b14 -T mm[p]
OK
system> groups -n admin1 -clear -T mm[p]
OK
system>