2-24
write: Indicates that the community has read-write access right to MIB objects, that is, an SNMP NMS is
capable of configuring the devices when it uses this community name to access the agent.
community-name: Community name, a string of 1 to 27 characters.
view-name: MIB view name, a string of 1 to 32 characters. The default view is ViewDefault.
Description
Use the cluster-snmp-agent community command to create a public SNMP community for the
cluster.
Use the undo cluster-snmp-agent community command to remove the configuration.
By default, no public SNMP community is configured for a cluster.
z You can use this command only in cluster view on the management device to create only one
public community 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
community 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.
z
For the SNMP configurations, refer to the SNMP-RMON Operation part in this manual.
Examples
# On the management device, create a public SNMP community with the name of access, allowing
read-only access right using this community name.
<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 community read access
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
Parameters
v3: SNMPv3.