
170
CHAPTER 3
CLI CONFIGURATION
Parameters:
<group_name>: A string identifying the group name that this entry should belong to. The allowed string length is
1 to 32, and the allowed content is ASCII characters from 0x21 to 0x7E.
model { v1 | v2c | v3 | any }: Indicates the security model that this entry should belong to. Possible security
models are:
any:
Any security model accepted(v1|v2c|usm).
v1:
Reserved for SNMPv1.
v2c:
Reserved for SNMPv2c.
v3:
User-based Security Model (USM) for SNMPv3.
level { auth | noauth | priv }: Indicates the security level that this entry should belong to. Possible security models
are:
auth:
Authentication and no privacy.
noauth:
No authentication and no privacy.
priv:
Authentication and privacy.
[ read <view_name> ]: The name of the MIB view defining the MIB objects for which this request may request the
current values. The allowed string length is 1 to 32, and the allowed content is ASCII characters from 0x21 to 0x7E.
[ write <write_name> ]: The name of the MIB view defining the MIB objects for which this request may
potentially set new values. The allowed string length is 1 to 32, and the allowed content is ASCII characters from
0x21 to 0x7E.
Negation:
(config)# no snmp-server access <group_name> model { v1 | v2c | v3 | any } level { auth | noauth | priv }
Show:
# show snmp access [ <group_name> { v1 | v2c | v3 | any } { auth | noauth | priv } ]
3.9.43.3 (config)# snmp-server community v2c
Syntax:
(config)# snmp-server community v2c <comm> [ ro | rw ]
Explanation:
Configure Read or Write community string.
Parameters:
<comm >: Indicate a community read or write access string to permit access to the SNMP agent. The allowed
string length is 0 to 255, and the allowed content is the ASCII characters from 0x21 to 0x7E.
[ ro | rw ]: Indicates whether the specified community applies to read only access string or read & write access
string.
Example:
Set Write community access string to private123.
# config t
(config)# snmp-server community v2c private124 rw
Содержание IFS-1604GSM Series
Страница 385: ......