beautypg.com

Create snmp community – Allied Telesis AT-S62 User Manual

Page 83

background image

AT-S62 Command Line User’s Guide

83

CREATE SNMP COMMUNITY

Syntax

create snmp community=”community
[access=read|write]
[open=yes|no|on|off|true|false]
[traphost=ipaddress] [manager=ipaddress]

Parameters

community

Specifies a new community string. The maximum

length of a community string is 15 characters. Spaces
are allowed. The name must be enclosed in double
quotes if it includes a space or special character, such
as an exclamation point. Otherwise, the quotes are
optional. The string is case sensitive.

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 values are:

yes, on, true

The community string is open, meaning
any management workstation can use
the string to access the switch. These
values are equivalent.

no, off, false

The community string is closed,
meaning 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. These
values are equivalent.

traphost

Specifies the IP address of a trap receiver to receive

system traps.