beautypg.com

Accounting – Cisco OL-15491-01 User Manual

Page 6

background image

A-6

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

OL-15491-01

Appendix A CSG2 Command Reference

accounting

accounting

To specify accounting and an optional customer string for a CSG2 policy, use the accounting command
in CSG2 policy configuration mode. To remove accounting for a policy, use the no form of this
command.

accounting [customer-string string]

no accounting [customer-string string]

Syntax Description

Defaults

The default is no accounting.

Command Modes

CSG2 policy configuration

Command History

Usage Guidelines

This command is required if the CSG2 is to generate call detail records (CDRs) for content that matches
the CSG2 policy.

This command is required to enable billing functions (such as CDR generation and prepaid charging) for
content that matches a CSG2 policy.

For FTP and Real Time Streaming Protocol (RTSP) accounting, the CSG2 matches prepaid services on
the basis of the IP address and port number of the control connection to the FTP or RTSP network IP
address.

Examples

The following example shows how to specify accounting and customer strings for a CSG2 policy:

ip csg policy MOVIES

accounting customer-string MOVIES

Related Commands

customer-string string

(Optional) 1- to 16-byte string to be output to the generated accounting
records.

Release

Modification

12.4(11)MD

This command was migrated from CSG1.

Changes from CSG1: All keywords and arguments except customer-string string
were removed.

12.4(15)MD

Support for FTP was added.

Command

Description

ip csg policy

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