PurposeCommand or Action
The error-message can be any quoted
alphanumeric string up to 80 characters.
What to do next
Configure event statements.
If you have already configured event statements or choose not to, complete any of the optional tasks:
• Define a policy using a VSH script. Then, register and activate a VSH script policy.
• Configure memory thresholds
• Configure the syslog as an EEM publisher.
• Verify your EEM configuration.
Defining a Policy Using a VSH Script
This is an optional task. Complete the following steps if you are using a VSH script to write EEM policies:
Procedure
Step 1 In a text editor, list the commands that define the policy.
Step 2 Name the text file and save it.
Step 3 Copy the file to the following system directory: bootflash://eem/user_script_policies
What to do next
Register and activate a VSH script policy.
Registering and Activating a VSH Script Policy
This is an optional task. Complete the following steps if you are using a VSH script to write EEM policies.
Before you begin
Define a policy using a VSH script and copy the file to the system directory.
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
129
Configuring Embedded Event Manager
Defining a Policy Using a VSH Script