August 2005
Intermediate to advanced
798 pages
31h 12m
English
snmp-server community — global
snmp-server communitystring[viewview-name] {ro | rw} [access-list] no snmp-server communitystring
SNMP community access strings
Read-only access; community string public
This command sets the community string for SNMPv1 protocol access.
string
The password for the SNMP access.
view
view-name
Optional. view-name is the name of a view defined with the snmp-server view command. view defines which SNMP objects can be viewed with this SNMP community string.
ro
Defines the community string for read-only access.
rw
Defines the community string for read/write access.
access-list
Optional. The number of a standard access list. The community string defined with this command is usable only by hosts whose IP addresses match this access list.
The following command defines the community string mystring, which allows read-only access from any IP address.
snmp-server community mystring RO