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 #32 background imageLoading...
Page #32 background image
A Commands
action cli
4
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
action cli
To configure a virtual shell (VSH) command string to be executed when an Embedded Event Manager
(EEM) applet is triggered, use the action cli command. To disable the VSH command string, use the no
form of this command.
action label cli [local] vsh_cmd
no action label cli
Syntax Description
Defaults None
Command Modes Embedded event manager
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure a VSH command string to be executed when an EEM applet is
triggered:
switch# configure terminal
switch(config)# event manager applet cli-applet
switch(config-applet)# action 1.1 cli callhome send eem subject "port down" body "acme
port is down"
switch(config-applet)#
Related Commands
label Unique identifier that can be any string value. Actions are sorted and run in an
ascending alphanumeric sequence using the label as the sort key. If the string
contains embedded blanks, enclose it in double quotation marks.
local (Optional) Specifies the action is to be executed in the same module on which the
event occurs.
vsh_cmd VSH command string to be executed when the applet is triggered.
Release Modification
4.0(1) This command was introduced.
Command Description
event manager applet Registers an applet with the Embedded Event Manager (EEM).

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