hit counter script

Defining A Policy Using A Vsh Script; Registering And Activating A Vsh Script Policy; Overriding A Policy - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Configuring EEM
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

Defining a Policy Using a VSH Script

To define a policy using a VSH script, follow these steps:
In a text editor, list the CLI commands that define the policy.
Step 1
Name the text file and save it.
Step 2
Copy the file to the following system directory:
Step 3
bootflash://eem/user_script_policies

Registering and Activating a VSH Script Policy

To register and activate a policy defined in a VSH script, follow these steps:
Command
Step 1
config t
Step 2
event manager policy policy-script
Step 3
show event manager internal policy name
Step 4
copy running-config startup-config

Overriding a Policy

To override a system policy, follow these steps:
Command
Step 1
config t
Step 2
show event manager policy-state
system-policy
Step 3
event manager applet applet-name
override system-policy
Step 4
description policy-description
Cisco MDS 9000 Family CLI Configuration Guide
54-10
Chapter 54
Configuring the Embedded Event Manager
Purpose
Enters configuration mode.
Registers and activates an EEM script policy. The
policy-script can be any case-sensitive alphanumeric
string up to 29 characters.
(Optional) Displays information about the configured
policy.
(Optional) Saves this configuration change.
Purpose
Enters configuration mode.
(Optional) Displays information about the system
policy that you want to override, including thresholds.
Use the show event manager system-policy
command to find the system policy names.
Overrides a system policy and enters applet
configuration mode. The applet-name can be any
case-sensitive alphanumeric string up to 29 characters.
The system-policy must be one of the existing system
policies.
(Optional) Configures a descriptive string for the
policy. The string can be any alphanumeric string up to
80 characters. Enclose the string in quotation marks.
OL-18084-01, Cisco MDS NX-OS Release 4.x

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents