beautypg.com

Create snmp community – Allied Telesis AT-S60 User Manual

Page 74

background image

Chapter 5: SNMP Community Strings and Trap Commands

72

CREATE SNMP COMMUNITY

Syntax

create snmp community=community
[
access=read|write] [open=yes|no]
[traphost=ipaddress] [manager=ipaddress]

Parameters

community

Specifies a new community string. The maximum

length of a community string is 15 alphanumeric
characters.

access

Specifies the access level of the new community

string. Options are “read” for read only access and
“write” for both read and write access. The default is
“read.”

open

Specifies the open or closed status of the community

string. The options are:

yes

The community string is open, meaning that
any management workstation can use the
string to access the switch.

no

The community string is closed, meaning that
only those management workstations whose
IP addresses are assigned to the string can use
it to access the switch. You can assign a
management IP address to the string using the
MANAGER option in this command. The
default setting for a community string is
closed.

traphost

Specifies the IP address of a trap receiver to receive

system traps.

manager

Specifies the IP address of a management station that

can use the community string to access the switch.
This option applies if you specify the status of the
community string as closed. A community string can
have up to eight IP addresses of management
workstations, but only one IP address can be assigned
with this option.