Config.snmp.addcommunity - McDATA OPENconnectors Command Line Interace Command Line Interface Manual

Mcdata openconnectors command line interace user manual
Table of Contents

Advertisement

addCommunity commIndex "commName" writeAuthorization
trapRecipient udpPortNum
This command adds an SNMP community to the SNMP
configuration.
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.
trapRecipient
Specifies the trap recipient. Values must be
4 bytes in dotted-decimal format.
udpPortNum
Specifies the user datagram protocol (UDP) port
number to which the director sends traps for
each recipient. The value can be a decimal
number or default. The default value is 162.
Valid values include all legal UDP port
numbers.
Root> config snmp addCommunity 1 "CommunityName1" enabled
123.123.123.123 162
CLI Commands
2
config
2-29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Openconnectors

Table of Contents