166
CHAPTER 3
INTRODUCTION TO CLI
3.9.44.2 (config)# snmp-server access
Syntax:
(configt)# snmp-server access <group_name> model { v1 | v2c | v3 | any } level { auth | noauth | priv } [ read
<view_name> ] [ write <write_name> ]
Explanation:
Configure SNMP access settings.
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.44.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.
Summary of Contents for MSW-4424C Series
Page 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Page 382: ......