beautypg.com

Set snmp community – Allied Telesis AT-S60 User Manual

Page 85

background image

AT-S60 Command Line User’s Guide

83

SET SNMP COMMUNITY

Syntax

set snmp community=community [access=read|write]
[open=yes|no]

Parameters

community

Specifies the SNMP community string whose access

level or access status is changed. This community
string must already exist on the switch.

access

Specifies the new access level. Options are “read” for

read only access and “write” for both read and write
access. If no access level is specified, the default is
“read.”

open

Specifies the open or closed access 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.

Description

This command changes the access level and access status of an existing
SNMP community string.

Examples

The following command changes the access status for the SNMP
community string “sw44” to closed:

set snmp community=sw44 open=no