Configuring the Content Switching Module

 

 

Table 3

UNIX File Name Specifications (continued)

 

 

 

 

 

 

 

 

 

Convention

 

Description

 

 

 

 

 

 

 

 

 

 

A leading ^ in a range

Do not match any in the range. All other characters

 

 

 

 

represent themselves.

 

 

 

 

 

 

 

 

 

.\a

 

Alert (ascii 7).

 

 

 

 

 

 

 

 

 

.\b

 

Backspace (ascii 8).

 

 

 

 

 

 

 

 

 

.\f

 

Form-feed (ascii 12).

 

 

 

 

 

 

 

 

 

.\n

 

Newline (ascii 10).

 

 

 

 

 

 

 

 

 

.\r

 

Carriage return (ascii 13).

 

 

 

 

 

 

 

 

 

.\t

 

Tab (ascii 9).

 

 

 

 

 

 

 

 

 

 

 

.\v

 

Vertical tab (ascii 11).

 

 

 

 

 

 

 

 

.\0

 

Null (ascii 0).

 

 

 

 

 

 

 

 

.\\

 

Backslash.

 

 

 

 

 

 

 

 

 

 

 

.\x##

 

Any ascii character as specified in two digit hex notation.

 

 

 

 

 

 

 

 

To add a cookie map, perform this task:

 

 

 

 

 

 

 

 

Command

 

 

Purpose

 

 

 

Step 1

Router(config) ip slb map cookie-map-name

Configure multiple cookies into a cookie map1.

 

cookie

 

 

 

 

 

 

 

Step 2

Router(config-slb-map-cookie) match

Configure multiple cookies1.

 

protocol http cookie cookie-name

 

 

 

cookie-valuecookie-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 url

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-mapurl_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

78-11631-02 Rev. A0

Page 28
Image 28
Cisco Systems 6000 manual Configure multiple cookies into a cookie map