A SERVICE OF

logo

Chapter 2 Content Switching Module with SSL Commands
match protocol http cookie (cookie map submode)
2-25
Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference
OL-7029-01
22
match protocol http cookie (cookie map submode)
To add cookies to a cookie map, use the match protocol http cookie command in SLB cookie map
configuration submode. Multiple match rules can be added to a cookie map. To remove the cookie map
name from the cookie map, use the no form of this command.
match protocol http cookie cookie-name cookie-value cookie-value-expression
no match protocol http cookie cookie-name cookie-value cookie-value-expression
Syntax Description
Defaults This command has no default settings.
Command Modes SLB cookie map configuration submode
Command History
Usage Guidelines Cookie regular expressions (see “Regular Expressions” section on page 2-3) are based on the UNIX
filename specification. URL expressions are stored in a cookie map in the form cookie-name =
cookie-value-expression. Cookie expressions allow spaces if they are escaped or quoted. You must
match all cookies in the cookie map.
Examples This example shows how to add cookies to a cookie map:
Cat6k-2(config-slb-map-cookie)# match protocol http cookie albert cookie-value 4*
Related Commands cookie-map (policy submode)
map cookie
show module csm map
cookie-name Cookie name; the range is from 1 to 63 characters.
cookie-value
cookie-value-expression
Specifies a cookie value expression; the range is from 1 to 255
characters.
Release Modification
CSM release 1.1(1) This command was introduced.
CSM-S release 1.1(1) This command was introduced.