create snmp trap

create snmp trap severity severity event EventName msg

Description

Creates and sends an SNMP (Simple Network Management Protocol) 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 the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.