Chapter 2 Content Switching Module with SSL Commands

sticky

New connections from the client to the virtual server initiated before the sticky time expires and that match SLB policy are balanced to the same real server that was used for the previous connection.

A sticky time of 0 means sticky connections are not tracked.

The cookie insert feature allows the CSM to insert a cookie in the Set-Cookie header in the HTTP response.

Examples

This example shows how to create an IP sticky group based on network mask address:

Cat6k-2(config-module-csm)#sticky 5 netmask 255.255.255.255 timeout 20

Cat6k-2(config-slb-sticky-ip)#

This example shows how to create an IP sticky group based on the HTTP header:

Cat6k-2(config-module-csm)#sticky 5 header header_name timeout 20

Cat6k-2(config-slb-sticky-header)#

This example shows how to configure the sticky environment variable

Router(config-module-csm)#variable NO_TIMEOUT_IP_STICKY_ENTRIES 1

Related Commands cookie offset (sticky submode) cookie secondary (sticky submode) header (sticky submode)

sticky (virtual server submode) sticky-group (policy submode) show module csm sticky

 

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

 

 

 

 

 

OL-7029-01

 

 

2-157

 

 

 

 

 

Page 179
Image 179
Cisco Systems OL-7029-01 manual 157, Cat6k-2config-module-csm#sticky 5 header headername timeout