beautypg.com

Cisco OL-15491-01 User Manual

Page 62

background image

A-62

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

OL-15491-01

Appendix A CSG2 Command Reference

ip csg content

subscriber-ip http-header forwarded-for

vlan (CSG2 content)

vrf

You cannot change characteristics for a content while it is in service.

In order to determine the service for a subscriber, the CSG2 first matches a content with the first packet
in a flow, then matches the policy. The CSG2 then uses the content, policy, and the subscriber’s billing
plan to determine the service.

If the content configuration does not match any service listed under a subscriber’s billing plan, the CSG2
considers the service to be either free or postpaid, and the CSG2 forwards the flow and does not try to
authorize the subscriber with the quota server. If BMAs are configured, the CSG2 generates a
per-transaction CDR.

The CSG2 supports overlapping contents, as when one content is a subset of another. If one content
overlaps another, the CSG2 selects the content that best matches the flow. For example, if you configure
Content A with ip any and Content B with ip any tcp 80, the CSG2 matches TCP port 80 flows to
Content B, because ip any tcp 80 is a more precise match than ip any.

The CSG2 does not support duplicate contents. That is, you cannot configure two contents with identical
configurations.

Examples

The following example shows how to define the CSG2 content named MOVIES_COMEDY:

ip csg content MOVIES_COMEDY

Related Commands

Command

Description

block

Forces the CSG2 to drop packets that do not match a
configured billing policy.

client-group (CSG2 content)

References a standard access list that is part of a CSG2
content.

idle (CSG2 content)

Specifies the minimum amount of time that the CSG2
maintains an idle content connection.

inservice (CSG2 content)

Activates the content service on each CSG2.

ip (CSG2 content)

Defines the subset of Layer 3 and Layer 4 flows that
can be processed by the CSG2 accounting services.

mode tcp

Specifies the mode for CSG2 TCP sessions.

next-hop

Defines a next-hop IP address.

parse length

Defines the maximum number of Layer 7 bytes that the
CSG2 is to parse when attempting to assign a policy.

parse protocol

Defines how the CSG2 is to parse traffic for a content.

policy (CSG2 content)

References a CSG2 billing policy.

records delay

Specifies the delay before the CSG2 is to send the
HTTP Statistics CDR.

records intermediate

Enables the generation of CSG2 intermediate CDRs.

replicate

Replicates the connection state for all TCP
connections to the CSG2 content servers on the
standby system.