beautypg.com

Snmp-server community – Allied Telesis AT-S83 User Manual

Page 156

background image

Chapter 8: Simple Network Management Protocol (SNMP) Commands

156

SNMP-SERVER COMMUNITY

Syntax

snmp-server community STRING view VIEWNAME ro|rw

no snmp-server community

Parameters

STRING

Specifies the name of the SNMP community. Choose

an alphanumeric value between 1 and 255
characters. This name acts as a password and
permits access to SNMP.

VIEWNAME

Indicates the name of a view that was defined with

the SNMP-SERVER VIEW command. Choose from
the following options:

ro

Specifies the view is read-only access.

rw

Specifies the view is read-write access.

Description

Use the SNMP-SERVER COMMUNITY command to set the name, view,
and access of an SNMP community.

Use the no form of this command to remove a community string.

Command Mode

Configuration Terminal mode

Example

The following command sets the name of the SNMP community to
“engineering 78” and the view to read-write access:

switch#snmp-server community “engineering 78” rw

Related Commands

“SNMP-SERVER GROUP” on page 163

“SNMP-SERVER VIEW” on page 170