SROS Command Line Interface Reference Guide
Global Configuration Mode Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
501
snmp-server community
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. Variations of this command include:
snmp-server community
<community>
snmp-server community
<community>
<listname>
snmp-server community
<community>
ro
snmp-server community
<community>
ro
<listname>
snmp-server community
<community>
rw
snmp-server community
<community>
rw
<listname>
snmp-server community
<community>
view
<viewname>
snmp-server community
<community>
view
<viewname>
<listname>
snmp-server community
<community>
view
<viewname>
ro
snmp-server community
<community>
view
<viewname>
ro
<listname>
snmp-server community
<community>
view
<viewname>
rw
snmp-server community
<community>
view
<viewname>
rw
<listname>
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
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
access-list extended <listname>
on page 379 for more information on creating access-control lists.
Default Values
By default, there are no configured SNMP communities.
Usage Examples
The following example specifies a community named
MyCommunity
, specifies a previously defined view
named
blockinterfaces
, and assigns read-write access:
ProCurve(config)#
snmp-server community MyCommunity view blockinterfaces rw
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......