Configuring Http Return Code Checking - Cisco catalyst 6500 series Configuration Note

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

Advertisement

Chapter 9
Configuring Health Monitoring

Configuring HTTP Return Code Checking

When you configure return error code checking, you configure the attributes of a server farm and
associate it with a return code map.
To configure the return code checking, follow these steps:
Verify that you have configured HTTP virtual servers. (See the
Step 1
section on page
Enter the map return code command to enable return code mapping and enter the return code map
Step 2
submode:
Router(config-module-csm)# map name retcode
Configure the return code parsing:
Step 3
Router(config-slb-map-retcode)# match protocol http retcode min max action [count | log |
remove] threshold [reset seconds ]
You can set up as many matches as you want in the map.
Assign a return code map to a server farm:
Step 4
Router(config-slb-sfarm)# retcode-map name
This example shows how to enable return error code checking:
Router(config-module-csm)# map httpcodes retcode
Route(config-slb-map-retcode)# match protocol http retcode 401 401 action log 5 reset 120
Route(config-slb-map-retcode)# match protocol http retcode 402 415 action count
Route(config-slb-map-retcode)# match protocol http retcode 500 500 action remove 3 reset 0
Route(config-slb-map-retcode)# match protocol http retcode 503 503 action remove 3 reset 0
Route(config-slb-map-retcode)# exit
Router(config-module-csm)# serverfarm farm1
Router(config-slb-sfarm)# retcode-map httpcodes
Router(config-slb-sfarm)# exit
Router(config-module-csm)# end
OL-4612-01
6-5.)
Catalyst 6500 Series Content Switching Module Configuration Note
Configuring HTTP Return Code Checking
"Configuring Redirect Virtual Servers"
9-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents