Cisco OL-15491-01 User Manual

Page 185

Advertising
background image

A-185

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

OL-15491-01

Appendix A CSG2 Command Reference

match url

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 URL match patterns for map MOVIES. In this example,
the URL match is TRUE for *.movies_comedy.com/*.mpeg, for *.movies_action.com/*.mpeg, for
*.movies_drama.com/*.mpeg, and for any other URLs that match the pattern:

ip csg map MOVIES

match url *.movies_(comedy|action|drama).com/*.mpeg

ip csg map IMAGES

match url *.(gif|jpg)

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 method

Specifies a method match pattern for a CSG2 billing map.

Advertising