VSH Script Policies
• Execute any CLI commands
• Update a counter
• Reload the device
• Generate a syslog message
• Generate an SNMP notification
• Use the default action for the system policy
VSH Script Policies
You can write policies in a VSH script, by using a text editor. Policies that are written using a VSH script
have an event statement and action statement(s) just as other policies, and these policies can either augment
or override system policies.
After you define your VSH script policy, copy it to the device and activate it.
Licensing Requirements for Embedded Event Manager
This feature does not require a license. Any feature not included in a license package is bundled with the Cisco
NX-OS system images and is provided at no extra charge to you. For a complete explanation of the Cisco
NX-OS licensing scheme, see the Cisco NX-OS Licensing Guide.
Prerequisites for Embedded Event Manager
You must have network-admin privileges to configure EEM.
Default Settings for Embedded Event Manager
Table 28: Default EEM Parameters
Parameters
System Policies
Defining an Environment Variable
Defining an environment variable is an optional step but is useful for configuring common values for repeated
use in multiple policies.
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
122
Configuring Embedded Event Manager
Default
Active