Action Snmp-Trap - Cisco AJ732A - MDS 9134 Fabric Switch Command Reference Manual

Cisco mds 9000 family command reference guide - release 4.x (ol-18089-01, february 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 2
A Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

action snmp-trap

To specify the generation of a Simple Network Management Protocol (SNMP) trap when an Embedded
Event Manager (EEM) applet is triggered, use the action snmp-trap command. To disable the SNMP
trap, use the no form of this command.
Syntax Description
number
.number2
intdata1 integer
intdata2 integer
strdata string
Defaults
None.
Command Modes
Embedded Event Manager mode.
Command History
Release
NX-OS 4.1(3)
Usage Guidelines
None.
Examples
The following example shows how to specify an SNMP trap to generate when an EEM applet is
triggered:
switch# configure terminal
switch(config)# event manager applet snmp-applet
switch(config-applet)# action 1.0 snmp-trap strdata "temperature problem"
switch(config-applet)#
Related Commands
Command
event manager applet
OL-18089-02, Cisco MDS NX-OS Release 4.x
action number[.number2] snmp-trap {[intdata1 integer [intdata2 integer] [strdata string]]}
no action number[.number2] snmp-trap {[intdata1 integer [intdata2 integer] [strdata string]]}
Number can be any number up to 16 digits. The range for number2 is from
0 to 9.
(Optional) Specifies an integer to be sent in the SNMP trap message to the
SNMP agent.
(Optional) Specifies a second integer to be sent in the SNMP trap message
to the SNMP agent.
(Optional) Specifies a string to be sent in the SNMP trap message to the
SNMP agent. If the string contains embedded blanks, enclose it in double
quotation marks.
Modification
This command was introduced.
Description
Displays an applet with the Embedded Event Manager.
Cisco MDS 9000 Family Command Reference
action snmp-trap
2-21

Advertisement

Table of Contents
loading

Table of Contents