H3C S3100 Series Operation Manual page 655

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Perform the above operations on the management device of the cluster.
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.
The public SNMP configurations cannot be synchronized to the devices that are on the cluster
blacklist.
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:
The read community name is read_a
The write community name is write_a
The group name is group_a
The MIB view name is mib_a, which includes all objects of the subtree org
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
2-20

Advertisement

Chapters

Table of Contents
loading

Table of Contents