beautypg.com

Snmp-server community – Dell PowerEdge M605 User Manual

Page 436

background image

428

SNMP Commands

www

.dell.com | support.dell.com

Example

The following examples display the configuration of views with and without a view name
specified.

snmp-server community

Use the snmp-server community command in Global Configuration mode to set up the
community access string to permit access to the SNMP protocol. To remove the specified
community string, use the no form of this command. This Command places the user in SNMP-
Community-Configuration mode.

Syntax

snmp-server community community-string {ro | rw | su} [ipaddress ipaddress] [view
viewname]

no snmp-server community community-string

community-string—Permits access to the SNMP protocol. (Range: 1-20 characters)

ro—Indicates read-only access

rw—Indicates read-write access.

console# show snmp views

Name

OID Tree

Type

-----------

-----------------------

---------

user-view1

1.3.6.1.2.1.1

Included

user-view1

1.3.6.1.2.1.1.7

Excluded

user-view2

1.3.6.1.2.1.2.2.1.*.1

Included

console# show snmp views user-view1

Name

OID Tree

Type

-----------

-----------------------

----------------------------

user-view1

1.3.6.1.2.1.1

Included

user-view1

1.3.6.1.2.1.1.7

Excluded