Cluster-Snmp-Agent Community - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] cluster
[Sysname-cluster] ip-pool 10.1.1.1 24
[Sysname-cluster] build aaa
[aaa_0.Sysname-cluster] cluster-mac syn-interval 2

cluster-snmp-agent community

Syntax
cluster-snmp-agent community { read | write } community-name [ mib-view view-name ]
undo cluster-snmp-agent community community-name
View
Cluster view
Default Level
1: Monitor level
Parameters
read: Indicates to allow the community's read-only access to MIB objects. The community with
read-only authority can only query the device information.
write: Indicates to allow 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.
Description
Use the cluster-snmp-agent community command to configure an SNMP community shared by a
cluster and set its access authority.
Use the undo cluster-snmp-agent community command to remove a specified community name.
Note that:
The command used to configure the SNMP community with read or read-only 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
20-24

Advertisement

Table of Contents
loading

Table of Contents