Configuring Generic Header Parsing
To create a map for the HTTP header, perform this task:
Command
Router(config-module-csm)# map name header
Other map types include a URL and a cookie.
Note
Specifying Header Fields and Match Values
You can specify the name of the field and the corresponding value for the CSM to match when receiving
an HTTP request by using the match command.
To specify head fields and match values, perform this task:
Command
Router(config-slb-map-header)# match protocol
http header field header-value expression
The CSM allows you to specify one or more fields in the HTTP header to be the criteria for policy
Note
matching. When multiple fields are configured in a single HTTP header group, all of the expressions in
this group must match in order to satisfy this criteria.
Assigning an HTTP Header Map to a Policy
In policy submode, you specify the header map to include in that policy. The header map contains the
HTTP header criteria to be included in a policy.
To assign an HTTP header map to a policy, perform this task:
Command
Step 1
Router(config-module-csm)#
policy policy- name
Step 2
Router(config-slb-policy)#
header-map name
Note
By default, a policy rule can be satisfied with any HTTP header information. The HTTP URL and HTTP
cookie are specific types of header information and are handled separately by the CSM.
Catalyst 6500 Series Content Switching Module Configuration Note
6-14
Chapter 6
Purpose
Creates and names a HTTP header map group.
Purpose
Specifies the name of the field and value. The
field can be any HTTP header except cookie.
You can configure cookie map if you want to
configure cookie header.
Purpose
Creates a policy.
Assigns an HTTP header map to a policy.
Configuring Virtual Servers, Maps, and Policies
OL-4612-01