R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

94
Parameters
read: Allows the community’s read-only access to MIB objects. The community with read-only authority
can only query the device information.
write: Allows the community’s read-write access to MIB objects. The community with read-write authority
can configure the device information.
community-name: Community name, a string of 1 to 26 characters.
view-name: MIB view name, a string of 1 to 32 characters.
Usage guidelines
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 is synchronized to the member
devices in the whitelist, which is equivalent to configuring multiple member devices at one time.
An SNMP community name is retained when 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 replaces 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 comacceswr 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
Use cluster-snmp-agent group to configure the SNMPv3 group shared by a cluster and set its access
rights.
Use undo cluster-snmp-agent group to remove the SNMPv3 group shared by a cluster.
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 ]
Views
Cluster view
Default command level
1: Monitor level
Parameters
group-name: Group name, a string of 1 to 32 characters.
authentication: Specifies to authenticate a packet but not to encrypt it.