User manual
2
CLI Commands
2-87
config
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 the following commands: addv1Target,
addv2Target, or addv3Target.
Parameters This command has five parameters:
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.
index Index of the Target entry. Valid values are indices
already created using one of the addv1Target,
addv2Target or addv3Target commands.
secName The Security Name to be used for the
corresponding trap entry. The maximum length
for the security name is 32 characters and all
characters in the ISO Latin-1 character set are
valid.
This name is the same as the User name in the
USM user table. Refer to the command
config.snmp.addUserEntry on page 22-88.
secModel Specifies the security model to be used for this
entry. Possible values for this parameter are v1, v2
and usm.