2-27
View
Cluster view
Parameters
v3: SNMPv3.
username: User name, a string of 1 to 32 characters.
groupname: Group name, a string of 1 to 32 characters.
authentication-mode: Specifies the security model as authentication. If you do not provide this
keyword, the security model defaults to no authentication no privacy.
md5: Specifies the authentication protocol as MD5. MD5 generates a 128-bit message digest and it is
faster than SHA.
sha: Specifies the authentication protocol as SHA. SHA generates a 160-bit message digest and it
provides a higher security than MD5.
authpassstring: Authentication password. For a plain text password, the value is a string of 1 to 16
characters. For a cipher text password, the value is a string of 1 to 24 characters.
privacy-mode: Specifies the security model as privacy.
des56: Specifies the privacy protocol as data encryption standard (DES).
privpassstring: The privacy password. For a plain text password, the value is a string of 1 to 16
characters. For a cipher text password, the value is a string of 1 to 24 characters.
Description
Use the cluster-snmp-agent usm-user v3 command to add a new user to the public SNMPv3 group of
the cluster.
Use the undo cluster-snmp-agent usm-user v3 command to delete the public SNMPv3 user of the
cluster.
By default, no public SNMPv3 user is configured for the cluster.
z You can use this command only in cluster view on the management device to add only one public
SNMPv3 group user for the cluster.
z When you configure this command on the management device, the configuration is synchronized
to the member devices that have passed the authentication; when a new member device passes
the authentication, this configuration is synchronized to the new member automatically. If a user
with the same name already exists, the new configuration will overwrite the old one.
z If a member device leaves the cluster, the synchronized SNMP configurations will not be removed.
Examples
# Add a user wang to the SNMPv3 group huawei. Configure the security model as authentication
without privacy, the authentication protocol as MD5, the plain-text authentication password as pass.
<aaa_0.Sysname> system-view
System View: return to User View with Ctrl+Z.
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] cluster-snmp-agent usm-user v3 wang huawei authentication-mode md5
pass