Cisco OL-15491-01 User Manual

Page 181

Advertising
background image

A-181

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

OL-15491-01

Appendix A CSG2 Command Reference

match method

You can specify up to three maps in a given policy: one for header matching, one for method
matching, and one for URL matching. For example, the following is a valid configuration:

ip csg map HOSTMAP

match header host1 value *.2.*.44

!

ip csg map URLMAP

match url */mobile/index.wml

!

ip csg policy MAP-POLICY

map HOSTMAP

map URLMAP

In this example, a flow must match both HOSTMAP and URLMAP in order to match policy
MAP-POLICY.

Examples

The following example shows how to specify a GET method match pattern for map MOVIES:

ip csg map MOVIES

match method GET

Related Commands

Command

Description

ip csg case-sensitive

Specifies whether to treat CSG2 header, method, and URL match patterns
as case-sensitive.

ip csg map

Defines the CSG2 billing content filters (header, method, and URL maps),
and enters CSG2 map configuration mode.

ip csg policy

Defines a policy for qualifying flows for the CSG2 billing services, and
enters CSG2 policy configuration mode.

map

References a header, method, or URL map that is part of a CSG2 billing
policy.

match header

Specifies a header match pattern for a CSG2 billing map.

match url

Specifies a URL match pattern for a CSG2 billing map.

Advertising