Alliedware plus command – Allied Telesis AT-S63 User Manual

Page 135

Advertising
background image

AT-S63 Management Software Command Line User’s Guide

Section I: Basic Features

135

management station that will use the string:

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

(The OPEN=NO parameter can be omitted from the example because
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

AlliedWare Plus

Command

Syntax

snmp-server community

community

rw|ro

Mode

Configure mode

Description

This AlliedWare Plus command is used to create new SNMPv1 and v2c
community strings. You can specify the names of the community strings
and their access levels, which can be RW for read-write or RO for read-
only. This command differs from the standard command as follows:

Community names cannot contain spaces.

This command can only create community strings that are closed,
meaning they are only available to workstations whose IP addresses
are assigned to them.

You cannot use this command to add manager or trap IP addresses to
new community strings. For that, refer to the AlliedWare Plus
command in “ADD SNMP COMMUNITY” on page 130.

Example

This example creates the new community string “stea2a” with an access
level of read-write:

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

Advertising