create snmp trap

create snmp trap severity severity event EventName msg

Description

Creates and sends an SNMP trap containing the information defined in the command.

Syntax Description

severity Specifies one of the eight severity levels defined in the ExtremeXOS software. Enter one of the following values: critical, error, warning, notice, info, debug-summary, debug-verbose, debug-data.
EventName Specifies the event name. Enter a name using alphanumeric characters.
msg Specifies a message. Enter the message using alphanumeric characters.

Default

N/A.

Usage Guidelines

None.

Example

The following example sends a trap of severity info for event AAA with the message user XYZ logged in:

create snmp trap severity info event AAA "user XYZ logged in"

History

This command was first available in ExtremeXOS 12.4.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.