Cisco OL-15491-01 User Manual

Page 173

Advertising
background image

A-173

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

OL-15491-01

Appendix A CSG2 Command Reference

map

map

To reference a header, method, or URL map that is part of a CSG2 billing policy, use the map command
in CSG2 policy configuration mode. To delete the reference, use the no form of this command.

map map-name

no map map-name

Syntax Description

Defaults

None

Command Modes

CSG2 policy configuration

Command History

Usage Guidelines

The conditions specified in the referenced header, method, or URL map must be true in order for the
flows to be processed by the CSG2 accounting services. If the conditions are not true, the flows are not
processed.

When configuring a map, keep the following considerations in mind:

You cannot specify different types of match patterns in a given map. For example, a map can include
one or more match header statements, but it cannot include both match header statements and
match url statements.

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.

map-name

Name of a header, method, or URL map, as configured with an ip csg map
command.

Release

Modification

12.4(11)MD

This command was migrated from CSG1.

Changes from CSG1: This command incorporated the following CSG1 commands:

header-map

url-map

Advertising