beautypg.com

ADTRAN 5000 Series User Manual

Page 447

background image

Command Reference Guide

Global Configuration Mode Command Set

61200990L1-35E

Copyright © 2005 ADTRAN

447

snmp-server community view [ro | rw]

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

Specifies the community string (a password to grant SNMP access).

view

Optional. Specifies a previously defined view. Views define objects available to
the community. For information on creating a new view, see

snmp-server view

[excluded | included]

on page 455

.

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.

Optional. Specifies an access-control list name used to limit access. Refer to

ip

access-list extended

on page 344

and

ip access-list standard

[permit | deny]

on page 350

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 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