The command used to configure the SNMP community with read-only or read-and-write authority
can only be executed once on the management device. This configuration will be synchronized to
the member devices in the whitelist, which is equal to configuring multiple member devices at one
time.
SNMP community name will be retained if a cluster is dismissed or a member device is removed
from the whitelist.
If the same community name as the current one has been configured on a member device, the
current community name will replace the original one.
Examples
# Configure the SNMP community name shared by a cluster as comaccess and allow the community's
read-only access to MIB objects.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] cluster-snmp-agent community read comaccess
# Configure the SNMP community name shared by a cluster as comaccesswr and allow the
community's read-write access to MIB objects.
[aaa_0.Sysname-cluster] cluster-snmp-agent community write comacceswr
cluster-snmp-agent group v3
Syntax
cluster-snmp-agent group v3 group-name [ authentication | privacy ] [ read-view read-view ]
[ write-view write-view ] [ notify-view notify-view ]
undo cluster-snmp-agent group v3 group-name [ authentication | privacy ]
View
Cluster view
Default Level
1: Monitor level
Parameters
group-name: Group name, which is a string of 1 to 32 characters.
authentication: Specifies to authenticate a packet but not to encrypt it.
privacy: Specifies to authenticate and encrypt a packet.
read-view: Read-only view name, which is a string of 1 to 32 characters.
write-view: Read-write view name, which is a string of 1 to 32 characters.
notify-view: View name in which trap messages can be sent. It is a string of 1 to 32 characters.
Description
Use the cluster-snmp-agent group command to configure the SNMPv3 group shared by a cluster and
set its access rights.
Use the undo cluster-snmp-agent group command to remove the SNMPv3 group shared by a
cluster.
1-25