Cisco catalyst 6500 series Configuration Note page 127

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

Advertisement

Chapter 10
Configuring CSM Scripts
To load the script file to the switch, perform this task:
Command
Step 1
Router(config-module-csm)#
module csm slot
Step 2
Router(config-module-csm)#
script file script file to
load
Step 3
Router(config-module-csm)#
show module csm slot script
[file] [name script-name ]
[code]]
There are two ways to execute a script on the CSM:
Creating a script probe
Performing a standalone script task
As part of a script probe, the script is executed periodically, and the exit code returned by the executing
script indicates the relative health and availability of specific real servers. Script probes operate similar
to other health probes available in the current implementation of CSM software.
To run the script as a health probe, perform this task:
Command
Step 1
Router(config-module-csm)#
module csm slot
Step 2
Router(config-module-csm)#
probe probe-name script
Step 3
Router(config-probe-script)#
script script-name [arg1
[arg5]
Step 4
Router(config-module-csm)#
show module csm slot probe
To run a script as a standalone task, perform this task:
Command
Step 1
Router(config-module-csm)#
module csm slot
Step 2
Router(config-module-csm)#
probe probe-name script
Step 3
Router(config-module-csm)#
script task id script name
Step 4
Router(config-module-csm)#
show module csm slot script
task
OL-4612-01
Configuring Scripts for Health Monitoring Probes
Purpose
Specifies the module and slot number.
Loads the script file to the CSM.
Displays all loaded scripts.
Purpose
Specifies the module and slot number.
Creates a script probe, and enters the probe script submode.
Sets up to five arguments used by the script when the script
executes.
Displays all configured probes.
Purpose
Specifies the module and slot number.
Creates a script probe, and enters the probe script submode.
Runs the script as a stand alone task one time.
Displays all started script tasks.
Catalyst 6500 Series Content Switching Module Configuration Note
10-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents