Configuring the Content Switching Module
Table 3
Convention
A leading ^ in a range
.\a
.\b
.\f
.\n
.\r
.\t
.\v
.\0
.\\
.\x##
To add a cookie map, perform this task:
Command
Step 1
Router(config) ip slb map cookie-map-name
cookie
Step 2
Router(config-slb-map-cookie) match
protocol http cookie cookie-name
cookie-value cookie-value-expression
1.
The no form of this command restores the defaults.
This example shows how to configure maps and associate them with a policy:
Router(config)# ip slb map url_1
Router(config-slb-map-url)# match protocol http url /url1
Router(config-slb-map-url)# exit
Router(config)# ip slb 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)# ip slb serverfarm pl_url_url_1
Router(config-slb-sfarm)# real 10.8.0.26
Router(config-slb-real)# inservice
Router(config-slb-real)# exit
Router(config-slb-sfarm)# exit
Router(config)# ip slb policy policy_url_1
Router(config-slb-policy)# serverfarm pl_url_url_1
Router(config-slb-policy)# url-map url_1
Router(config-slb-policy)# exit
Router(config)# ip slb serverfarm pl_url_url_2
Catalyst 6000 Family Content Switching Module Installation and Configuration Note
28
UNIX File Name Specifications (continued)
Description
Do not match any in the range. All other characters
represent themselves.
Alert (ascii 7).
Backspace (ascii 8).
Form-feed (ascii 12).
Newline (ascii 10).
Carriage return (ascii 13).
Tab (ascii 9).
Vertical tab (ascii 11).
Null (ascii 0).
Backslash.
Any ascii character as specified in two digit hex notation.
Purpose
Configure multiple cookies into a cookie map
Configure multiple cookies
url
1
.
1
.
78-11631-02 Rev. A0