FW 08.01.00 McDATA E/OS Command Line Interface User Manual (620-000134-740, November 2005)

2
2-78
E/OS Command Line Interface User Manual
config
Parameters This command has five parameters. Up to six community names and
trap recipients may be defined as follows:
Command Example
Root> config snmp addCommunity 1 CommunityName1 enabled
123.123.123.123 162
config.snmp.addTargetParams
Syntax addTargetParams index secName grpName model level
Purpose This command associates additional USM configuration values to the
trap recipient. These values are required to perform the access control
validation before sending the trap messages. This command operates
on an entry created by one of addv1Target, addv2Target, or addv3Target
commands.
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 enable and
disable. Boolean 1 and 0 may be substituted as
values.
trapRecipient Specifies the IP address of 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.