
SNMP Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
55.11
snmp-server community
The snmp-server community command creates an SNMP community optionally setting the
access mode for 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
snmp-server community 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
|<1-99>}
no snmp-server community
<community_name>
Mode
Configure mode
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 community
snmp-server view
Parameter
Description
<community_name>
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>
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(config)#
snmp-server community public ro
awplus(config)#
no snmp-server community public