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

2
2-82
E/OS Command Line Interface User Manual
config
Index Username Model Group Name
----- -------------------------------- ----- ----------
1 smith V1 smithGroup
2 smith USM smithGroup
3 smith USM smithOtherGroup
config.snmp.addV1Target
Syntax addV1Target index community [IP] [udpNum]
Purpose This command configures a v1 community string. The IP address and
port number of a v1 trap recipient can be optionally specified. The
community string can be used for v1 access only if mapped to a
security and group name.
Parameters This command has four parameters. The last two are optional.
Command Example
Root> config snmp addv1target 4 joe 125.26.78.95 162
index Index of the Target entry. Valid values are 1 to
6.
community Community string of the Target entry. The
maximum length of the Community string is
32 characters. All characters in the ISO Latin-1
character set are valid for community names.
Duplicate community names are allowed, but
the corresponding security names (refer to the
command config.snmp.addTargetParams on
page 22-78) must also match.
IP The address of the trap recipient shown in
4-byte dotted-decimal format.
udpNum The UDP Port Number of the Trap recipient,
to which the SNMP agent will send the traps.
This value is expressed in decimal and the
default value is 162.
The default number is assumed if this field is
replaced with default. All legal UDP port
numbers are allowed. If the IP address is
specified and this parameter is not specified, it
will be set to the default value.