2-29
Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference
OL-7029-01
Chapter 2 Content Switching Module with SSL Commands
insert protocol http header (header map submode)
insert protocol http header (header map submode)
To insert header fields and values into an HTTP request, use the insert protocol http header command
in SLB header map configuration submode. To remove the header insert item from the header map, use
the no form of this command.
insert protocol http header name header-value value
no insert protocol http header name
Syntax Description
Defaults This command has no default settings.
Command Modes SLB header map configuration submode
Command History
Usage Guidelines You can also use the %is and %id special parameters for header values. The %is value inserts the source
IP into the HTTP header, and the %id value inserts the destination IP into the header. You can only
specify each special parameter once per header map.
Examples This example shows how to specify header fields and values to search upon a request:
Cat6k-2(config-slb-map-header)# insert protocol http header client header-value %is
Related Commands header-map (policy submode)
map header
show module csm map
name Literal name of the generic field in the HTTP header. The name is a
string with a range from 1 to 63 characters.
header-value value Specifies the literal header value string to insert in the request.
Release Modification
CSM release 3.1(1) This command was introduced.
CSM-S release 1.1(1) This command was introduced.