EasyManua.ls Logo

Cisco Nexus 5600 Series - Registering and Activating a VSH Script Policy; Overriding a Policy

Cisco Nexus 5600 Series
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
Registering and Activating a VSH Script Policy
You can register and activate a policy defined in a VSH script.
Before You Begin
Make sure that you are in the correct VDC. To change the VDC, use the switchto vdc command.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Registers and activates an EEM script policy. The
policy-script can be any case-sensitive, alphanumeric
string up to 29 characters.
switch(config)# event manager policy
policy-script
Step 2
(Optional)
Displays information about the configured policy.
switch(config)# show event manager
policy internal name
Step 3
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch(config)# copy running-config
startup-config
Step 4
This example shows how to register and activate a VSH script policy:
switch# configure terminal
switch(config)# event manager policy moduleScript
switch(config)# show event manager policy internal moduleScript
switch(config)# copy running-config startup-config
Overriding a Policy
You can override a system policy.
Before You Begin
Make sure that you are in the correct VDC. To change the VDC, use the switchto vdc command.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
246 OL-31641-01
Configuring EEM
Registering and Activating a VSH Script Policy

Table of Contents

Other manuals for Cisco Nexus 5600 Series

Related product manuals