C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
1671
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
SNMP C
OMMANDS
SNMP
-
SERVER
COMMUNITY
snmp-server community
Overview
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|
<access-list>
}
no snmp-server community <
community-name
> [{view
<
view-name
>|
<access-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.
awplus#
configure terminal
awplus(config)#
snmp-server community public ro
The following command removes an SNMP community called “public”
awplus#
configure terminal
awplus(config)#
no snmp-server community public
Related
Commands
show snmp-server
show snmp-server community
snmp-server view
Parameter
Description
<community-name>
Community name. The community name is a case sensitive
string of up to 20 characters.
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.
<access-list>
<
1-99
> Access list number.