H3C Technologies H3C S3100 Series Switches User Manual
Page 655

2-20
z
Perform the above operations on the management device of the cluster.
z
Configuring the public SNMP information is equal to executing these configurations on both the
management device and the member devices (refer to the SNMP-RMON Operation part in this
manual), and these configurations will be saved to the configuration files of the management
device and the member devices.
z
The public SNMP configurations cannot be synchronized to the devices that are on the cluster
blacklist.
z
If a member device leaves the cluster, the public SNMP configurations will not be removed.
3) Configuration
example
# Configure the public SNMP information for the cluster on the management device, including the
following:
z
The read community name is read_a
z
The write community name is write_a
z
The group name is group_a
z
The MIB view name is mib_a, which includes all objects of the subtree org
z
The SNMPv3 user is user_a, which belongs to the group group_a.
# Create a community with the name of read_a, allowing read-only access right using this community
name.
[test_0.Sysname-cluster] cluster-snmp-agent community read read_a
Member 2 succeeded in the read-community configuration.
Member 1 succeeded in the read-community configuration.
Finish to synchronize the command.
# Create a community with the name of write_a, allowing read and write access right using this
community name.
[test_0.Sysname-cluster] cluster-snmp-agent community write write_a
Member 2 succeeded in the write-community configuration.
Member 1 succeeded in the write-community configuration.
Finish to synchronize the command.
# Create an SNMP group group_a.
[test_0.Sysname-cluster] cluster-snmp-agent group v3 group_a
Member 2 succeeded in the group configuration.
Member 1 succeeded in the group configuration.
Finish to synchronize the command.
# Create a MIB view mib_a, which includes all objects of the subtree org.
[test_0.Sysname-cluster] cluster-snmp-agent mib-view included mib_a org
Member 2 succeeded in the mib-view configuration.
Member 1 succeeded in the mib-view configuration.
Finish to synchronize the command.
# Add a user user_a to the SNMPv3 group group_a.
[test_0.Sysname-cluster] cluster-snmp-agent usm-user v3 user_a group_a