Cisco Systems OL-15491-01 Network Hardware User Manual


 
A-12
Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide
OL-15491-01
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
Usage Guidelines 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.
Examples The following example enables AoC URL-rewriting for the CSG2:
ip csg service MOVIES
aoc enable
Related Commands
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.
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.