
Command Reference Guide Global Configuration Mode Command Set
61950860L1-35D © 2003 ADTRAN, Inc. 231
snmp-server community <community> [ ro | rw ] <listname>]
Use the snmp-server community command to specify a community string to control access to the Simple
Network Management Protocol (SNMP) information. Use the no form of this command to remove a
specified community.
Syntax Description
<community>
Specifies the community string (a password to grant SNMP access).
ro
*Optional
Keyword to grant read-only access, allowing retrieval of MIB objects.
rw
*Optional
Keyword to grant read-write access, allowing retrieval and modification of MIB
objects.
<listname>
*Optional
Access-control list name used to limit access. See
ip access-list extended
<listname>
on page 170 and
ip access-list standard <listname>
on page
176 for more information on creating access-control lists.
Default Values
By default, there are no configured SNMP communities.
Command Modes
(config)# Global Configuration Mode required
Command History
Release 1.1 Command was introduced
Usage Examples
The following example defines a community named
MyCommunity
and assigns read-write access:
(config)#
snmp-server community MyCommunity rw
Komentarze do niniejszej Instrukcji