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 5320, 5420, 5520, and 5720 series switches.