Match header – Cisco OL-15491-01 User Manual
Page 175
A-175
Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide
OL-15491-01
Appendix A CSG2 Command Reference
match header
match header
To specify a header match pattern for a CSG2 billing map, use the match header command in CSG2
map configuration mode. To delete the header match pattern, use the no form of this command.
match header header-name value
no match header header-name value
Syntax Description
Defaults
None.
Command Modes
CSG2 map configuration
Command History
header-name
Header field that is to be matched against the input header. The header-name
argument is the name of the HTTP header keyword, such as Content-Type,
Host, Referer, User-Agent, or an arbitrary header name from 1 to 63
characters long. The header name can include uppercase or lowercase letters
(the CSG2 changes all letters to uppercase), numbers, and any special
characters.
Note
For Session Initiation Protocol (SIP), you must enter the long form
of the header name. The CSG2 does not support the short form of the
header name.
value
Regular header pattern that is to be matched against the input header.
The pattern can include up to 121 characters, minus the length of the header
name. For example, if the header name is 7 characters long, the pattern can
be up to 114 characters long.
The pattern can include wildcards and UNIX string-matching special
characters.
Release
Modification
12.4(11)MD
This command was migrated from CSG1.
Changes from CSG1:
•
The name of this command changed from match (header map) to match header.
•
The configuration mode for this command changed from CSG header map
configuration to CSG2 map configuration.
•
The protocol protocol and value keywords and arguments were removed.
•
The pattern argument was replaced with the value argument.
12.4(15)MD
Support for Session Initiation Protocol (SIP) headers was added.