Action Cli - 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

action cli

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 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.
Syntax Description
number. number2
local
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 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
Command
event manager applet
Cisco MDS 9000 Family Command Reference
2-12
action number [.number2] cli command1 [command2...] [local]
no action number [.number2] cli command1 [command2...] [local]
Number can be any number up to 16 digits. The range for number2 is from
0 to 9.
(Optional) Specifies the action that is to be executed in the same module on
which the event occurs.
Modification
This command was introduced.
Description
Displays an applet with the Embedded Event Manager.
Chapter 2
A Commands
OL-18089-02, Cisco MDS NX-OS Release 4.x

Advertisement

Table of Contents
loading

Table of Contents