Chapter 2 Content Switching Module with SSL Commands

cookie-map (policy submode)

cookie-map (policy submode)

Syntax Description

Defaults

Command Modes

To associate a list of cookies with a policy, use the cookie-mapcommand in SLB policy configuration submode. To remove a cookie map, use the no form of this command.

cookie-mapcookie-map-name

no cookie-map

cookie-map-name

Name of the cookie list associated with a policy.

 

 

This command has no default settings.

SLB policy configuration submode

Command History

 

Release

Modification

 

 

CSM release 1.1(1)

This command was introduced.

 

 

 

 

 

 

CSM-S release 1.1(1)

This command was introduced.

 

 

 

 

 

You can associate only one cookie map with a policy. To configure cookie maps, use the map cookie

Usage Guidelines

 

 

 

command. The cookie map name must match the name specified in the map cookie command.

 

 

 

Examples

 

This example shows how to configure a cookie-based SLB policy named policy_content:

 

 

Cat6k-2(config-module-csm)# policy policy_content

 

 

Cat6k-2(config-slb-policy)# serverfarm new_serverfarm

 

 

Cat6k-2(config-slb-policy)# cookie-mapcookie-map-1

 

 

Cat6k-2(config-slb-policy)# exit

 

 

Cat6k-2(config)

 

 

 

map cookie

 

Related Commands

 

 

 

 

policy

 

 

 

show module csm owner

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

2-46

OL-7029-01

 

 

Page 68
Image 68
Cisco Systems OL-7029-01 manual Cookie-map policy submode, Cookie-mapcookie-map-name, No cookie-map, Map cookie