
263
Examples
# Create a view including all objects of
mib2
.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] cluster-snmp-agent mib-view included mib2 1.3.6.1.2.1
cluster-snmp-agent usm-user v3
Syntax
cluster-snmp-agent usm-user v3
user-name group-name
[
authentication-mode
{
md5
|
sha
}
auth-password
] [
privacy-mode des56
priv-password
]
undo cluster-snmp-agent usm-user v3
user-name group-name
View
Cluster view
Default level
1: Monitor level
Parameters
user-name
: Specifies the user name, a string of 1 to 32 characters.
group-name
: Specifies the group name, a string of 1 to 32 characters.
authentication-mode:
Specifies the security level to be authentication needed.
md5:
Specifies the authentication protocol to be HMAC-MD5-96.
sha:
Specifies the authentication protocol to be HMAC-SHA-96.
auth-password:
Authentication password, a string of 1 to 16 characters if in plain text; it can only be a
string of 24 characters if in cipher text.
privacy-mode:
Specifies the security level to be encrypted.
des56:
Specifies the encryption protocol to be DES (data encryption standard).
priv-password:
Encryption password, a string of 1 to 16 characters in plain text; it can only be a string of
24 characters in cipher text.
Description
Use the
cluster-snmp-agent usm-user v3
command to add a new user to the SNMP v3 group shared by
a cluster.
Use the
undo cluster-snmp-agent usm-user v3
command to delete the SNMP v3 group user shared by
the cluster.
The command can be executed once on the management switch only. This configuration will be
synchronized to member switches on the whitelist, which is equal to configuring multiple member
switches at one time.
The SNMPv3 group user is retained when a cluster is dismissed or a member switch is deleted from the
whitelist.
If the same username as the current one has been configured on a member switch, the current username
will replace the original one on the member switch.