AT-S62 Command Line User’s Guide

SET SNMP COMMUNITY

Syntax

set snmp community=”community” [access=readwrite] [open=yesno]

Parameters

 

 

community

Specifies the SNMP community string whose access

 

level or access status is to be changed. This

 

community string must already exist on the switch.

 

This parameter is case sensitive. The name must be

 

enclosed in double quotes if it contains a space or

 

special character, such as an exclamation point.

 

Otherwise, the quotes are optional.

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. To add IP addresses of management workstations to a community string, refer to ADD SNMP COMMUNITY on page 81. The default setting for a community string is closed.

Description

This command changes the access level or 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

95

Page 95
Image 95
Allied Telesis management software layer 2+ fast ethernet switches SET Snmp Community, Set snmp community=sw44 open=no