Chapter 10 Configuring Csm Scripts; Configuring Tcl Scripts - Cisco catalyst 6500 series Configuration Note

Content switching module
Hide thumbs Also See for catalyst 6500 series:
Table of Contents

Advertisement

Configuring CSM Scripts
This chapter describes how to configure content switching and contains these sections:

Configuring TCL Scripts

The CSM now allows you to upload and execute Toolkit Command Language (TCL) scripts on the CSM.
TCL scripts allow you to write customized TCL scripts to develop customized health probes or
standalone tasks. The TCL interpreter code in CSM is based on Release 8.0 of the standard TCL
distribution. You can create a script to configure health probes (see
Monitoring" section on page
CSM periodically executes the scripts at user-configurable intervals.
Before CSM Release 3.1(1a), you could not configure a health probe for a protocol that did not include
the basic health-monitoring code. You can now write probes to customize the CSM for your specific
application. CSM Release 3.2 supports UDP socket functions. TCL is a widely used scripting language
within the networking community. TCL also has huge libraries of scripts developed that can easily found
from various sites.
The CSM currently supports two script modes:
For your convenience, sample scripts are available to support the TCL feature. Other custom scripts will
work, but these sample scripts are supported by Cisco TAC. The file with sample scripts is located at this
URL:
http://www.cisco.com/cgi-bin/tablebuild.pl/cat6000-intellother
The file containing the scripts is named: c6slb-script.3-1-1a.tcl.
These sections describe how to load prepared TCL scripts, write your own customized TCL scripts, and
then run your TCL scripts:
OL-4612-01
Configuring TCL Scripts, page 10-1
Configuring Scripts for Health Monitoring Probes, page 10-10
9-1) or perform tasks on the CSM that are not part of a health probe. The
Health-monitoring script mode—These scripts must be written using some simple rules. The
execution of these scripts is controlled by health-monitoring module.
Standalone script mode—These scripts are TCL scripts that you can download from the web. You
control the execution of these scripts through the CSM configuration.
Loading Scripts, page 10-2
Writing TCL Scripts, page 10-3
Running TCL Scripts, page 10-8
C H A P T E R
Catalyst 6500 Series Content Switching Module Configuration Note
10
"Configuring Probes for Health
10-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents