Chapter 2 Content Switching Module with SSL Commands
match protocol http header (header map submode)
match protocol http header (header map submode)
To specify header fields and values for the CSM to search for when receiving a request, use the match protocol http header command in SLB header map configuration submode. Multiple match rules can be added to a header map. To remove the header match rule from the header map, use the no form of this command.
match protocol http header field
no match protocol http header field
Syntax Description |
| field | Literal name of the generic field in the HTTP header. The range is | |
|
|
| from 1 to 63 characters. | |
|
|
|
|
|
|
|
| Specifies the header value expression string to compare against the | |
|
|
| value in the specified field; the range is from 1 to 127 characters. | |
|
|
|
| |
|
|
|
|
|
Defaults |
| This command has no default settings. | ||
|
|
|
| |
Command Modes |
| SLB header map configuration submode | ||
|
|
|
|
|
Command History |
| Release | Modification |
|
|
|
|
|
|
|
| CSM release 2.1(1) | This command was introduced. | |
|
|
|
|
|
|
| This command was introduced. | ||
|
|
|
| |
|
|
|
|
|
Usage Guidelines |
| There are predefined fields, for example, | ||
|
| Header regular expressions (see “Regular Expressions” section on page | ||
|
| filename specification. URL expressions are stored in a header map in the form | ||
|
| expression. Header expressions allow spaces if they are escaped or quoted. All headers in the header map | ||
|
| must be matched. |
|
|
|
|
|
| |
Examples |
| This example shows how to specify header fields and values to search upon a request: | ||
|
| |||
|
|
|
|
|
Related Commands |
|
|
| |
|
| insert protocol http header (header map submode) | ||
|
| map header |
|
|
|
| show module csm map |
|
|
Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference
| ||
|