
262
The command can be executed once only on the management switch. This configuration will be
synchronized to the member switches in the whitelist, which is equivalent to configuring multiple member
switches at one time.
The SNMPv3 group name is retained when a cluster is dismissed or a member switch is deleted from the
whitelist.
If the same group name as the current one has been configured on a member switch, the current group
name will replace the original one.
Examples
# Create an SNMP group
snmpgroup
.
<aaa_0.Sysname> system-view
[aaa_0.Sysname] cluster
[aaa_0.Sysname-cluster] cluster-snmp-agent group v3 snmpgroup
cluster-snmp-agent mib-view
Syntax
cluster-snmp-agent mib-view
included
view
-
name
oid
-
tree
undo cluster-snmp-agent mib-view
view
-
name
View
Cluster view
Default level
1: Monitor level
Parameters
included
: Includes MIB view.
view-name
: Specifies the MIB view name, a string of 1 to 32 characters.
oid-tree:
Specifies the MIB subtree. It is a string of 1 to 255 characters, which can only be a variable OID
string or variable name string. OID is composed of a series of integers, indicating where a node is in the
MIB tree. It can uniquely identify an object in a MIB.
Description
Use the
cluster-snmp-agent mib-view
command to create or update the MIB view information shared by
a cluster.
Use the
undo cluster-snmp-agent mib-view
command to delete the MIB view information shared by a
cluster.
By default, the MIB view name shared by a cluster is ViewDefault, in which the cluster can access an ISO
subtree.
This command can be executed once only on the management switch. This configuration will be
synchronized to member switches on the whitelist, which is equivalent to configuring multiple member
switches at one time.
The MIB view is retained when a cluster is dismissed or a member switch is deleted from the whitelist.
If the same view name as the current one has been configured on a member switch, the current view will
replace the original one on the member switch.