Cisco catalyst 6500 series Configuration Note page 74

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

Advertisement

Configuring Maps
Router(config-slb-sfarm)# exit
Router(config-module-csm)# map url_1
Router(config-slb-map-url)# match protocol http url /url1
Router(config-slb-map-url)# exit
Router(config-module-csm)# map url_2 url
Router(config-slb-map-url)# match protocol http url /url/url/url
Router(config-slb-map-url)# match protocol http url /reg/*long.*
Router(config-slb-map-url)# exit
Router(config-module-csm)# policy policy_url_1
Router(config-module-csm)# policy policy_url_2
Router(config-slb-policy)# serverfarm pl_url_url_2
Router(config-slb-policy)# url-map url_2
Router(config-slb-policy)# exit
Router(config-module-csm)# vserver vs_url_url
Router(config-slb-vserver)# virtual 10.8.0.145 tcp 80
Router(config-slb-vserver)# slb-policy policy_url_1
Router(config-slb-vserver)# slb-policy policy_url_2
Router(config-slb-vserver)# inservice
Router(config-slb-vserver)# exit
Using the map command, you create a map group with the type HTTP header. When you enter the map
command, you are placed in a submode where you can specify the header fields and values for CSM to
search for in the request.
To create a map for the HTTP header, perform this task:
Command
Router(config-module-csm)# map name
header
For more information about header maps, see the
page
6-12.
To create a map for return code checking, perform this task:
Command
Router(config-module-csm)# map name
retcode
To configure HTTP return error code checking, perform this task:
Command
Router(config-slb-sfarm)# retcode-map
name_of_map
For more information about return code maps, see the
section on page
Catalyst 6500 Series Content Switching Module Configuration Note
6-10
9-8.
Chapter 6
Configuring Virtual Servers, Maps, and Policies
url
Purpose
Creates and names an HTTP header map group.
"Configuring Generic Header Parsing" section on
Purpose
Creates and names a return code map group.
Purpose
Configures HTTP return error code checking.
"Configuring HTTP Return Code Checking"
OL-4612-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents