Chapter 2 Content Switching Module with SSL Commands

header-map (policy submode)

header-map (policy submode)

To specify the HTTP header criteria to include in a policy, use the header-mapcommand in SLB policy configuration submode. To remove a header map, use the no form of this command.

Note If any HTTP header information is matched, the policy rule is satisfied.

header-map name

no header-map

Syntax Description

Defaults

Command Modes

name

Name of the previously configured HTTP header expression group.

 

 

This command has no default settings.

SLB policy 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.

 

 

 

 

 

 

 

Usage Guidelines

 

Only one header map can be associated with a policy. The header map name must match the name

 

 

specified in the map header command.

 

 

 

Examples

 

This example shows how to configure a header-based 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)# header-mapheader-map-1

 

 

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

 

 

map header

 

Related Commands

 

 

 

 

policy

 

 

 

show module csm owner

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

OL-7029-01

2-47

 

 

 

Page 69
Image 69
Cisco Systems OL-7029-01 Header-map policy submode, Header-map name No header-map, Specified in the map header command