Cisco Systems OL-15491-01 appendix Aoc enable No aoc enable, Usage Guidelines Examples

Models: OL-15491-01

1 256
Download 256 pages 33.88 Kb
Page 12
Image 12

Appendix A CSG2 Command Reference

aoc enable

aoc enable

 

 

To enable Advice of Charge (AoC) URL-rewriting for the CSG2, use the aoc enable command in CSG2

 

 

service configuration mode. To restore the default setting, use the no form of this command.

 

 

aoc enable

 

 

 

no aoc enable

 

 

 

Syntax Description

 

This command has no arguments or keywords.

 

 

 

Defaults

 

The CSG2 does not append the original URL to the redirect URL.

 

 

 

Command Modes

 

CSG2 service configuration

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

12.4(11)MD

This command was migrated from CSG1.

 

 

 

Changes from CSG1: The name of this command changed from authorize content to

 

 

 

aoc enable.

 

 

 

 

Usage Guidelines

Examples

This command is not valid if the service is configured with basis second connect.

If this command is configured, the CSG2 alerts the quota server of a new transaction, and allows it to direct the CSG2 to perform any of the following mutually exclusive actions:

DROP: Instructs the CSG2 to drop all packets for this flow.

FORWARD: Instructs the CSG2 to forward the flow without altering the destination (a weight might be specified).

REDIRECT-URL: Instructs the CSG2 to redirect subscriber requests to the URL provided by the quota server. The CSG2 sends a Layer 7 redirect to the subscriber (for example, HTTP 302 response) that contains the redirect URL. This applies to both HTTP and WAP 1.x protocols.

The following example enables AoC URL-rewriting for the CSG2:

ip csg service MOVIES

aoc enable

Related Commands

Command

Description

 

aoc append url

Specifies that the CSG2 is to append the original URL to the redirect URL sent by

 

 

the quota server for use in Advice of Charge (AoC) URL-rewriting.

 

 

 

 

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

A-12

OL-15491-01

Page 12
Image 12
Cisco Systems OL-15491-01 appendix Aoc enable No aoc enable, Usage Guidelines Examples