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 #1880 background imageLoading...
Page #1880 background image
namespace import ::cisco::eem::*
namespace import ::cisco::lib::*
global auto_index auto_path
puts [array names auto_index]
if { [catch {test1} result]} {
puts "calling test1 failed result = $result $auto_path"
}
if { [catch {test2} result]} {
puts "calling test2 failed result = $result $auto_path"
}
if { [catch {test3} result]} {
puts "calling test3 failed result = $result $auto_path"
}
Step 6
enable
Enables privileged EXEC mode. Enter your password if prompted.
Example:
Device> enable
Step 7
configure terminal
Enables global configuration mode.
Example:
Device# configure terminal
Step 8
event manager directory user library path
Use this command to specify the EEM user library directory; this is the directory to which the files in Creating an EEM
User Tcl Library Index were copied.
Example:
Device(config)# event manager directory user library disk2:/eem_library
Step 9
event manager directory user policy path
Use this command to specify the EEM user policy directory; this is the directory to which the file in Creating an EEM
User Tcl Library Index was copied.
Example:
Device(config)# event manager directory user policy disk2:/eem_policies
Step 10
event manager policy policy-name [type {system | user} [trap ]
Use this command to register a user-defined EEM policy. In this example, the policy named libtest.tcl is registered.
Example:
Device(config)# event manager policy libtest.tcl
Step 11
event manager run policy-name
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1798
How to Write Embedded Event Manager Policies Using Tcl

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