Create snmp community – Allied Telesis AT-S63 User Manual

Page 106

Advertising
background image

Chapter 6: SNMPv2 and SNMPv2c Commands

106

Section I: Basic Features

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 alphanumeric characters.
Spaces are allowed. The name must be enclosed in
double quotes if it includes a space or other 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 options are:

yes, on, true The community string is open, meaning

any management station can use the
string to access the stack. These values
are equivalent.

no, off, false The community string is closed, meaning

only those management stations whose
IP addresses are assigned to the string
can use it to access the stack. 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.

manager

Specifies the IP address of a management station that
can use the community string to access the stack. 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 stations, but only
one can be assigned with this option.

Advertising