FW 07.00.00/HAFM SW 08.06.00 McDATA Enterprise Operating System Command Line Interface User Manual (620-000134-720, April 2005)

Table Of Contents
2
CLI Commands
2-69
config
Parameters This command has five parameters. Up to six community names and
trap recipients may be defined.
Command Example
Root> config snmp addCommunity 1 CommunityName1 enabled
123.123.123.123 162
config.snmp.authTraps
Syntax authTraps enabledState
Purpose This command enables or disables the authentication traps to be sent
to SNMP management stations when unauthorized stations try to
access SNMP information from the director or switch.
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 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.