beautypg.com

Snmp-server community – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1796

background image

SNMP Commands

Software Reference for x310 Series Switches

68.14

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

snmp-server community

This command creates an SNMP community, optionally setting the access mode for the
community. The default access mode is read only. If view is not specified, the community
allows access to all the MIB objects. The SNMP communities are only valid for SNMPv1 and
v2c and provide very limited security. Communities should not be used when operating
SNMPv3.

The no variant of this command removes an SNMP community. The specified community
must already exist on the device.

Syntax

snmp-server community <community-name>

{view <view-name>|ro|rw|}

no snmp-server community <community-name> [{view <view-name>|

list>}]

Mode

Global Configuration

Example

The following command creates an SNMP community called "public" with read only
access to all MIB variables from any management station.

The following command removes an SNMP community called "public"

Related Commands

show snmp-server
show snmp-server community
snmp-server view

Parameter

Description

Community name. The community name is a string up to 20
characters long and is case sensitive.

view

Configure SNMP view. If view is not specified, the community
allows access to all the MIB objects.

View name. The view name is a string up to 20 characters long
and is case sensitive.

ro

Read-only community.

rw

Read-write community.

<1-99> Access list number.

awplus#

configure terminal

awplus(config)#

snmp-server community public ro

awplus#

configure terminal

awplus(config)#

no snmp-server community public