User's Manual

Command line 121
Item Description
Format
Format of the new trap. Values are SNMPv1, SNMPv2, or SNMPv3.
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
->set snmp-trap MyTrap1 Community=public
Sets the trap community
->set snmp-trap MyTrap1 Severity=All FcCategories=None
EnetCategories=None
Sets all trap severities and sets the Fibre Channel and Ethernet categories to none
->set snmp-trap MyTrap
Address=fe80:0000:0000:0000:0202:b3ff:fe1e:8329
Sets a trap using an IPv6 address
->set snmp-trap MyTrap1 Format=SNMPv3 UserName=theta
SecurityLevel=AUTHNOPRIV
Sets the username and security level of an SNMPv3 trap.
->set snmp-trap MyInform1 Format=SNMPv3 UserName=zomato
EngineId=0x44fecd55438f SecurityLevel=AUTHNOPRIV
Inform=true
Sets the username,engine ID and security level of an SNMPv3 inform.
Item Description
->show snmp-trap
Display the SNMP traps that have been configured.
Syntax
show snmp-trap [Name|*]