EasyManuals Logo

Cisco Catalyst 2960 Series User Manual

Cisco Catalyst 2960 Series
2288 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
Page #1783 background imageLoading...
Page #1783 background image
Registering and Defining an EEM Tcl Script
Perform this task to configure environment variables and register an EEM policy. EEM schedules and runs
policies on the basis of an event specification that is contained within the policy itself. When an EEM policy
is registered, the software examines the policy and registers it to be run when the specified event occurs.
Before You Begin
You must have a policy available that is written in the Tcl scripting language. Sample policies are provided--see
the details in the Sample EEM Policies, on page 1782 to see which policies are available for the Cisco IOS
release image that you are using--and these sample policies are stored in the system policy directory.
SUMMARY STEPS
1.
enable
2.
show event manager environment [all| variable-name]
3.
configure terminal
4.
event manager environment variable-name string
5.
Repeat Registering and Defining an EEM Tcl Script to configure all the environment variables required
by the policy to be registered in Registering and Defining an EEM Tcl Script.
6.
event manager policy policy-filename [type {system| user}] [trap]
7.
exit
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
Enter your password if prompted.
(Optional) Displays the name and value of EEM environment
variables.
show event manager environment [all|
variable-name]
Step 2
Example:
Device# show event manager environment all
The optional all keyword displays all the EEM environment
variables.
The optional variable-nameargument displays information
about the specified environment variable.
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 3
Configures the value of the specified EEM environment variable.
event manager environment variable-name string
Step 4
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1701
How to Write EEM Policies Using the Cisco IOS CLI

Table of Contents

Other manuals for Cisco Catalyst 2960 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 2960 Series and is the answer not in the manual?

Cisco Catalyst 2960 Series Specifications

General IconGeneral
LayerLayer 2
Power over Ethernet (PoE)Available on some models
RAM128 MB
Flash Memory32 MB
MAC Address Table Size8000
Operating Temperature0°C to 45°C (32 to 113°F)
Ports24 or 48 x 10/100/1000

Related product manuals