S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
-SM-8
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
action event-default
action event-default
To specify that the default action for the event is to be performed when an Embedded Event Manager
(EEM) applet is triggered, use the
action event-default
command. To disable the default action, use the
no
form of this command.
action
label num1
[.
num2
]
event-default
no action
num1
[.
num2
]
event-default
Syntax Description
Defaults
None
Command Modes
Embedded event manager configuration mode
Command History
Usage Guidelines
If you want to allow the triggered event to process any default actions, you must configure the EEM
policy to allow the default action. For example, if you match a CLI command in a match statement, you
must add the
event-default
statement to the EEM policy or EEM does not allow the CLI command to
execute. You can use the
terminal event-manager bypass
command to allow all EEM policies with CLI
matches to execute the CLI command.
This command does not require a license.
Examples
This example shows how to specify that the default action for the event is to be performed when an EEM
applet is triggered:
switch#
configure terminal
switch(config)#
event manager applet default-applet
switch(config-applet)#
action 1.1 event-default
switch(config-applet)#
Related Commands
label
num1
[.
num2
] 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. The range for
num1 is from 1 to 16 and the range for num2 is from 0 to 9.
Release
Modification
5.0(3)U3(1)
This command was introduced.
Command
Description
action cli
Configures a virtual shell (VSH) command string to be executed when an
Embedded Event Manager (EEM) applet is triggered.
action counter
set or modify a named counter when an Embedded Event Manager (EEM)
applet is triggered.