ADTRAN 1000R Series Network Card User Manual


  Open as PDF
of 1373
 
Command Reference Guide Global Configuration Mode Command Set
61200510L1-35E Copyright © 2005 ADTRAN 502
snmp-server community <community> view <viewname> [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).
view <viewname> Optional. Specifies a previously defined view. Views define objects available to
the community. For information on creating a new view, see
snmp-server view
<viewname> <oidtree> [excluded | included] on page 512
.
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.
Specifies an access-control list name used to limit access. Refer to ip
access-list extended <listname> on page 392
and ip access-list standard
<listname> [permit | deny] <ip address> on page 398
for more information on
creating access-control lists.
Default Values
By default, there are no configured SNMP communities.
Applicable Platforms
This command applies to the NetVanta 300, 1000, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 900 Series units.
Command History
Release 1.1 Command was introduced.
Release 9.1 view <viewname> option added.
Usage Examples
The following example specifies a community named MyCommunity, specifies a previously defined view
named blockinterfaces, and assigns read-write access:
(config)#snmp-server community MyCommunity view blockinterfaces rw