User's Manual

Command line 119
Item Description
Community (optional)
The SNMP community name string for the specified trap. If not specified, the default
value is "public".
For VC-Enet modules, the maximum string length is 39. For VC-FC modules, the
maximum string length is 24.
Community strings are not added when the Format property is set to SNMPv3.
Format
Format of the new trap. Values are SNMPv1, SNMPv2, or SNMPv3. If not
specified, the default is "SNMPv1".
Severity
Trap severities to send to the destination. Values are "Normal", "Unknown", "Info",
"Warning", "Minor", "Major", "Critical", "All", and "None". Multiple severities
can be specified, separated by commas. The default severity is "None".
DomainCategories
The VC domain trap categories to send to the destination. Values are "Legacy",
"DomainStatus", "NetworkStatus", "FabricStatus", "ProfileStatus", "ServerStatus",
"EnetStatus", FcStatus", "All", and "None". Multiple categories can be specified,
separated by commas.
EnetCategories
The VC Ethernet trap categories to send to the destination. Values are "PortStatus",
"PortThreshold", "Other", "All", and "None". Multiple categories can be specified,
separated by commas.
FcCategories
The VC Fibre Channel trap categories to send to the destination. Values are
"PortStatus", "Other", "All", and "None". Multiple categories can be specified,
separated by commas.
UserName (optional)
The name of an existing SNMPv3 user account to be used to send the trap or inform.
This property is required if the Format is SNMPv3.
This property must not be specified if the Format is SNMPv1 or SNMPv2.
EngineID (optional)
The engineID of the remote user. Engine IDs consist of the prefix '0x' and an even
number of up to 64 hexadecimal digits. If not specified, then UserName is
considered a local SNMPv3 user.
This property must be specified if Inform=true. This property must not be specified if
Inform=false or the Format is SNMPv1 or SNMPv2.
SecurityLevel
(optional)
Security level used to send trap/infom. The default is NOAUTHNOPRIV.
NOAUTHNOPRIV No authorization or encryption
AUTHNOPRIV Authorization but no encryption
AUTHPRIV Authorization and encryption
When the domain is in FIPS mode, the security level must be set to AUTHPRIV.
This property is not required if the Format is set to SNMPv1 or SNMPv2.
Inform (optional)
Indicates if the trap is an inform. The default value is "false". This property must not
be specified if the Format is SNMPv1 or SNMPv2.
Examples
->add snmp-trap EnetManagementStation Address=192.112.34.10
Community=private Format=SNMPv1 Severity=Normal,Critical
EnetCategories=Other
Adds a new trap destination for VC-Enet modules
->add snmp-trap FcManagementStation Address=192.112.72.3
Community=private Format=SNMPv1 FcCategories=Other
Adds a new trap destination for VC-FC modules
->add snmp-trap MyTrap Address=192.112.66.12
Adds a new trap using typical defaults
->add snmp-trap MyTrap Address=2001:05c0:9168::1
Severity=All EnetCategories=All
Adds a new trap destination using an IPv6 address