20-24
<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:
z
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.
z
SNMP community name will be retained if a cluster is dismissed or a member device is removed
from the whitelist.
z
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
Содержание 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 ...