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
2-12
Cisco MDS 9000 Family Command Reference
OL-18089-02, Cisco MDS NX-OS Release 4.x
Chapter 2 A Commands
action cli
action cli
To configure a 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 the
command.
action
number
[.
number2
]
cli
command
1 [
command2
...]
[
local
]
no action
number
[.
number2
]
cli
command
1 [
command2
...]
[
local
]
Syntax Description
Defaults
None.
Command Modes
Embedded Event Manager mode.
Command History
Usage Guidelines
None.
Examples
The following example shows how to configure a CLI command:
switch#
configure terminal
switch(config)#
event manager applet cli-applet
switch(config-applet)#
action 1.0 cli “show interface e 3/1“
switch(config-applet)#
Related Commands
number. number2
Number can be any number up to 16 digits. The range for
number2
is from
0 to 9.
local
(Optional) Specifies the action that is to be executed in the same module on
which the event occurs.
Release
Modification
NX-OS 4.1(3)
This command was introduced.
Command
Description
event manager applet
Displays an applet with the Embedded Event Manager.