Chapter 2 Content Switching Module with SSL Commands

map header

map header

To create a map group for specifying HTTP headers, and then enter the header map configuration submode, use the map header command. To remove the HTTP header group from the configuration, use the no form of this command.

map name header no map name

Syntax Description

 

name

Map instance; the character string is from 1 to 15 characters.

 

 

 

 

Defaults

 

This command has no default settings.

 

 

 

Command Modes

 

Module CSM configuration submode

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

CSM release 2.1(1)

This command was introduced.

 

 

 

 

 

 

CSM-S release 1.1(1)

This command was introduced.

 

 

 

 

 

 

 

Examples

 

This example shows how to group HTTP headers and associate them with a content switching policy:

 

 

Cat6k-2(config-module-csm)# map upnready header

 

 

Cat6k-2(config-slb-map-header)#match protocol http header Accept header-value *jpeg*

 

 

Cat6k-2(config-slb-map-header)#match protocol http header User-Agent header-value *NT*

 

 

Cat6k-2(config-slb-map-header)#match protocol http header Host header-value

 

 

www.myhome.com

 

 

 

Cat6k-2(config-slb-map-header)# exit

 

 

header-map (policy submode)

 

Related Commands

 

 

 

 

insert protocol http header (header map submode)

 

 

match protocol http header (header map submode)

 

 

show module csm map

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

2-28

OL-7029-01

 

 

Page 50
Image 50
Cisco Systems OL-7029-01 manual Map header, Map name header no map name, Header-map policy submode