beautypg.com

Allied Telesis AT-S62 User Manual

Page 79

background image

AT-S62 Command Line User’s Guide

79

A community string can have up to eight manager IP addresses, but only
one can be assigned when a community string is created. To add IP
addresses of management stations to an existing community string, see
ADD SNMP COMMUNITY on page 75.

Examples

The following command creates the new community string “serv12”
with read access level and an access status of open:

create snmp community=serv12 access=read open=yes

The following command creates the new community string “wind11”
with read and write access level. To limit the use of the string, its access
status is specified as closed and it is assigned the IP address of the
management workstation that will use the string:

create snmp community=wind11 access=write open=no
manager=149.35.24.22

(The OPEN=NO parameter could be omitted from the example since
closed status is the default for a new community string.)

This command creates a community string called “serv12” with a closed
status. The command assigns the string the IP address of a management
that can use the string and also receive SNMP traps:

create snmp community=serv12 access=write open=no
traphost=149.35.24.22 manager=149.35.24.22