51
this OID
Excluded
The view does not include sub trees
rooted by this OID
active
State
1.4.11 snmp-server community
Command: snmp-server community {ro | rw} <
string
> [access {
<num-std>
|
<name>
}]
[ipv6-access {
<ipv6-num-std>
|
<ipv6-name>
}] [read
<read-view-name>
] [write
<write-view-name>
]
no snmp-server community
<string>
[access {
<num-std>
|
<name>
}]
[ipv6-access {
<ipv6-num-std>
|
<ipv6-name>
}]
Function:
Configure the community string for the switch; the ―
no snmp-server
community
<string>
[access {
<num-std>
|
<name>
}] [ipv6-access {
<ipv6-num-std>
|
<ipv6-name>
}]
―command deletes the configured community string.
Parameter:
<string>
is the community string set;
ro | rw
is the specified access mode to MIB,
ro
for read-only and
rw
for
read-write;
<num-std>
is the access-class number for standard numeric ACL, ranging
between 1-99;
<name>
is the access-class name for standard ACL, the character string
length is ranging between 1-32;
<ipv6-num-std>
is the access-class number for standard numeric IPv6 ACL,
ranging between 500-599;
<name>
is the access-class name for standard IPv6 ACL, the character
string length is ranging between 1-32;
<read-view-name>
is the name of readable view which includes 1-32
characters;
<write-view-name>
is the name of writable view which includes 1-32
characters.
Command mode:
Global Mode
Usage Guide:
The switch supports up to 4 community strings. It can realize the
access-control for specifically community view by binding the community name to
specifically readable view or writable view.
Example:
Add a community string named ―private‖ with read-write permission.
Switch(config)#snmp-server community private rw
Add a community string named ―public‖ with read-only permission.
Содержание S6124
Страница 311: ...311 Machine...
Страница 314: ...314...
Страница 318: ...318 am interface am ip pool 50 10 10 1 30 am mac ip pool 00 02 04 06 08 09 20 10 10 5 am ip pool 50 20 10 1 20...