From: Uchil Perera (uchil.groupstudy@yahoo.com)
Date: Fri Jan 12 2007 - 11:32:49 ART
snmp-server community
To set up the community access string to permit access to the Simple Network Management Protocol (SNMP), use the snmp-server community command in global configuration mode. To remove the specified community string, use the no form of this command.
snmp-server community string [view view-name] [ro | rw] [ipv6 nacl] [access-list-number]
no snmp-server community string
Syntax Description
string
Community string that consists of 1 to 32 alphanumeric characters and functions much like a password, permitting access to SNMP. Blank spaces are not permitted in the community string.
Note The sign (@) is used for delimiting the context information.
view
(Optional) Specifies a previously defined view. The view defines the objects available to the SNMP community.
view-name
(Optional) Name of a previously defined view.
ro
(Optional) Specifies read-only access. Authorized management stations can only retrieve MIB objects.
rw
(Optional) Specifies read-write access. Authorized management stations can both retrieve and modify MIB objects.
ipv6
(Optional) Specifies a IPv6 named access list.
nacl
(Optional) IPv6 named access list.
access-list-number
(Optional) Integer from 1 to 99 that specifies a standard access list of IP addresses or a string (not to exceed 64 characters) that is the name of a standard access list of IP addresses allowed access to the SNMP agent.
Alternatively, an integer from 1300 to 1999 that specifies a list of IP addresses in the expanded range of standard access list numbers that are allowed to use the community string to gain access to the SNMP agent.
JB <jellyboy@gmail.com> wrote: Hi, the question I am doing is asking for a MIB object with a cer OID
value to read by a certain community. The AK first creates a
RESTRICTED view, defines the OID and applies this to a snmp community:
snmp-server view RESTRICTED 1.3.6.1.2.1.15 included
snmp-server community XXX view RESTRICTED RO
My question is ... does the following do the same?
snmp-server community nmc-exam6 view 1.3.6.1.2.1.15 RO
Cheers,
JB
This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:56 ART