20-25
# Configure the SNMP community name shared by a cluster as
comaccesswr
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
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
]
View
Cluster view
Default 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.
privacy
:
Specifies to authenticate and encrypt a packet.
read-view:
Read-only view name, a string of 1 to 32 characters.
write-view
: Read-write view name, a string of 1 to 32 characters.
notify-view
: View name in which Trap messages can be sent, a string of 1 to 32 characters.
Description
Use the
cluster-snmp-agent group
command to configure the SNMPv3 group shared by a cluster
and set its access rights.
Use the
undo cluster-snmp-agent group
command to remove the SNMPv3 group shared by a
cluster.
Note that:
z
The command can be executed once on the management device only. This configuration will be
synchronized to the member devices in the whitelist, which is equal to configuring multiple
member devices at one time.
z
SNMPv3 group name will be retained if a cluster is dismissed or a member device is deleted from
the whitelist.
z
If the same group name as the current one has been configured on a member device, 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
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...