beautypg.com

Creating community strings, Creating community strings 7 – Allied Telesis AT-8100 Series User Manual

Page 1147

background image

AT-8100 Switch Command Line User’s Guide

1147

Creating Community Strings

To create SNMPv1 and SNMPv2c community strings, use the SNMP-
SERVER COMMUNITY command. This command is found in the Global
Configuration mode. Here is the format of the command:

snmp-server community

community

rw|ro

You can create only one string at a time with the command. The
COMMUNITY parameter is the name of the new string. It can be up to 15
alphanumeric characters and special characters, such as, !@#$%^&*?<>,
and is case sensitive. Spaces are not allowed.

The RW and RO options define the access levels of new community
strings. RW is read-write and RO is read-only.

This example creates the community string “plarnum” with read-write
access:

awplus> enable
awplus# configure terminal
awplus(config)# snmp-server community plarnum rw

This example creates the community string “station5b2” with read-only
access:

awplus> enable
awplus# configure terminal
awplus(config)# snmp-server community station5b2 ro