Appendix A CSG2 Command Reference

match method

match method

To specify a method match pattern for a CSG2 billing map, use the match method command in CSG2 map configuration mode. To delete the match pattern, use the no form of this command.

match method method-name

no match method method-name

Syntax Description

Defaults

Command Modes

Command History

Usage Guidelines

method-name

Method to be matched. Valid methods are:

Extension method name of 1 to 15 characters

connect—HTTP CONNECT method

get —HTTP GET method

head—HTTP HEAD method

post—HTTP POST method

None.

CSG2 map configuration

Release Modification

12.4(11)MD This command was introduced.

12.4(15)MD Support for Session Initiation Protocol (SIP) methods was added.

This command is valid only for HTTP and SIP.

You can use more than one match method command in CSG2 map configuration mode to specify multiple method match patterns for a method map:

If a flow matches any of a map’s method match patterns, then the CSG2 accepts and processes the flow (unless another map associated with the flow does not match, of course).

If a flow does not match any of a map’s method match patterns, then the match fails and the CSG2 does not accept or process the flow.

By default, the method match patterns are case-sensitive. For example, if you define the following method match pattern:

match method get

but the actual method keyword is GET, then the match fails and the CSG2 does not accept or process the flow.

If you do not want the method match patterns to be case-sensitive, configure the no ip csg case-sensitivecommand.

 

 

Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide

 

 

 

 

 

 

 

OL-15491-01

 

 

A-171

 

 

 

 

 

Page 171
Image 171
Cisco Systems OL-15491-01 appendix Match method method-name No match method method-name, Match method get, 171