Chapter 6: SNMPv1 and SNMPv2 Community Strings and Trap Commands
84
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
workstations, 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 of read only, and “private,” with an access level of read and write.
A switch can support up to eight community strings.
The COMMUNITY parameter specifies the new community string. The
string can be up to 15 characters. The string is case sensitive.
The ACCESS parameter defines the access level for the new community
string. The access level can be either read or read and write. The READ
option specifies the read access level and the WRITE option specifies the
read and write access level.
The OPEN parameters controls whether the string will have an open or
closed status. If you specify YES, ON or TRUE, the string will have an open
status. Any management workstation will be able to use the string to
access the switch. If you specify NO, OFF or FALSE, the string will have a
closed status and only those management workstations whose IP
addresses are assigned to the community string will be able to use it to
manage the switch. This is the default.
The TRAPHOST parameter specifies the IP address of a trap receiver to
receive traps from the switch. A community string can have up to eight
trap receivers, but only one can be assigned when a community string is
created. To add IP addresses of trap receivers to an existing community
string, see ADD SNMP COMMUNITY on page 81.
The MANAGER parameter specifies the IP address of a management
station to be permitted SNMP access to the switch through the
community string. You use this parameter when you give a community
string a closed status. A community string with a closed status can only
be used by those management workstations whose IP addresses have
been assigned to the string.
A community string can have up to eight manager IP addresses, but only
one can be assigned when a community string is created. To add IP
addresses of management stations to an existing community string, see
ADD SNMP COMMUNITY on page 81.