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-61
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
event manager policy
event manager policy
To register and activate an Embedded Event Manager (EEM) script policy, use the
event manager policy
command. To remove the event manager policy, use the
no
form of this command.
event manager policy
policy-script-file
no event track event manager policy
script-policy-file
Syntax Description
Defaults
None
Command Modes
Global configuration mode
Command History
Usage Guidelines
Before using the
event manager policy
command, define a policy by using the virtual shell (VSH) script
and copy the file to the system directory. For information on how to define a policy, see the
Cisco Nexus
3000 Series NX-OS System Management Configuration Guide
.
This command does not require a license.
Examples
This example shows how to register and activate an EEM script policy:
switch#
configure terminal
switch(config)#
event manager policy modulescript
switch(config)#
policy-script-file
Name of the script policy file. The policy scriptfile name can be any
case-sensitive, alphanumeric string up to 29 characters.
Release
Modification
5.0(3)U3(1)
This command was introduced.