EasyManuals Logo
Home>Cisco>Switch>Nexus 7000 Series

Cisco Nexus 7000 Series Reference Guide

Cisco Nexus 7000 Series
746 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #425 background imageLoading...
Page #425 background image
S Commands
snmp-trap
397
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
snmp-trap
To generate a Simple Network Management Protocol (SNMP) trap when an Embedded Event Manager
(EEM) applet is triggered, use the snmp-trap command.
snmp-trap [intdata1 integer-data1] [intdata2 integer-data2] [strdata string-data] event-type
ev_type policy-name name
Syntax Description
Defaults None
Command Modes Any command mode
Supported User Roles network-admin
network-operator
vdc-admin
vdc-operator
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to generate an SNMP trap when an EEM applet is triggered:
switch(config)# event manager applet snmp-applet
switch(config-applet)# action 1 snmp-trap strdata "EEM detected server failure”
switch(config-applet)#
intdata1
integer-data1
(Optional) Specifies an integer to be sent in the SNMP trap message to the SNMP
agent.
intdata2
integer-data2
(Optional) Specifies a second integer to be sent in the SNMP trap message to the
SNMP agent.
strdata
string-data
(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.
event-type Specifies the event type.
ev_type Event type.
policy-name Specifies the policy name.
name Policy name.
Release Modification
4.0(1) This command was introduced.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Nexus 7000 Series and is the answer not in the manual?

Cisco Nexus 7000 Series Specifications

General IconGeneral
BrandCisco
ModelNexus 7000 Series
CategorySwitch
LanguageEnglish

Related product manuals