Create snmp community, Syntax, Parameters – Allied Telesis AT-S63 User Manual
Page 68: Description
![background image](/manuals/427611/68/background.png)
Chapter 4: SNMPv2 and SNMPv2c Commands
68
Section I: Basic Features
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.
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
The community string is open, meaning any
management station can use the string to
access the switch.
no
The community string is closed, meaning only
those management stations 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 stations, but only
one can be assigned with this option.
Description
This command creates a new SNMP community string on the switch. The
switch comes with two default community strings, “public,” with an access