Deletes a user name (security name) from a group.
hex_group_name | Specifies the group name to delete or modify. The value is to be supplied as a colon separated string of hex octets. |
group_name | Specifies the group name to delete or modify in ASCII format. |
all-non-defaults | Specifies that all non-default (non-permanent) users are to be deleted from the group. |
hex_user_name | Specifies the user name to delete or modify. The value is to be supplied as a colon separated string of hex octets. |
user_name | Specifies the user name to delete or modify in ASCII format. |
sec-model | Specifies the security model to use. |
snmpv1 | Specifies the SNMPv1 security model. |
snmpv2c | Specifies the SNMPv2c security model. |
usm | Specifies the SNMPv3 User-based Security Model (USM). |
The default value for sec-model is USM.
Use this command to remove the associate of a user name with a group.
As per the SNMPv3 RFC, a security name is model independent while a username is model dependent. For simplicity, both are assumed to be same here. User names and security names are handled the same. In other words, if a user is created with the user name username, the security name value is the same, username.
Every group is uniquely identified by a security name and security model. So the same security name can be associated to a group name but with different security models.
The default groups are: admin, initial, v1v2c_ro, v1v2c_rw.
The default users are: admin, initial, initialmd5, initialsha, initialmd5Priv, initialshaPriv.
The following command deletes the user guest from the group UserGroup for the security model snmpv2c:
configure snmpv3 delete group UserGroup user guest sec-model snmpv2c
The following command deletes the user guest from the group userGroup with the security model USM:
configure snmpv3 delete group userGroup user guest
This command was first available in ExtremeXOS 10.1.
The hex_group_name and the hex_user_name parameters were added in ExtremeXOS 11.0.
This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.