Cisco nexus 3000 series Command Reference Manual page 32

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

action event-default
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
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.
Syntax Description
label num1 [.num2] Unique identifier that can be any string value. Actions are sorted and run in an
Defaults
None
Command Modes
Embedded event manager configuration mode
Command History
Release
5.0(3)U3(1)
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
Command
action cli
action counter
Cisco Nexus 3000 Series NX-OS System Management Command Reference
-SM-8
action label num1 [.num2] event-default
no action num1 [.num2] event-default
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.
Modification
This command was introduced.
Description
Configures a virtual shell (VSH) command string to be executed when an
Embedded Event Manager (EEM) applet is triggered.
set or modify a named counter when an Embedded Event Manager (EEM)
applet is triggered.
Chapter
System Management Commands
OL-29557-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents