Config.snmp.addcommunity – HP Surestore 64 Director Switch User Manual
Page 46

34 config
Output Example
The output from the config.security.userRights.show command displays as follows.
Operator Username: Operator
Operator Password: **************
Administrator Username: Administrator
Administrator Password: ***************
config.snmp.addCommunity
Syntax
addCommunity commIndex "commName" writeAuthorization trapRecipient
udpPortNum
Purpose
This command adds an SNMP community to the SNMP configuration.
Parameters
This command has five parameters. Up to six community names and trap recipients may be
defined.
commIndex
Specifies the community to be created or edited. Valid values are integers in
the range 1–6.
commName
Specifies the community name of the community specified by commIndex.
The community name must not exceed 32 characters in length. Valid
characters include all those in the ISO Latin-1 character set. Duplicate
community names are allowed, but the corresponding writeAuthorization
values must match.
writeAuthorization
Specifies the write authorization state of the community. Valid values are
enabled
and
disabled
. Boolean 1 and 0 may be substituted as values.