Appendix A CSG2 Command Reference

aoc confirm

aoc confirm

To configure a token for use in Advice of Charge (AoC) URL-rewriting, use the aoc confirm command in CSG2 service configuration mode. To remove the token, use the no form of this command.

aoc confirm token

no aoc confirm

Syntax Description

 

token

A string of up to 15 alphanumeric characters. The string is not case-sensitive.

 

 

 

Acceptable characters include alphanumeric characters and any of the following

 

 

 

special characters: $-_.+!*'(),?/:@&=;~%. To enter other special characters not listed,

 

 

 

use the URL-escape format with the percent sign (%).

 

 

 

To insert a question mark (?) in the string, press Ctrl-v and then press the question

 

 

 

mark (?) key. To insert a question mark in an editing document, use ASCII code 22.

 

 

 

To retain the question mark, use TFTP instead of copy-and-paste.

 

 

 

 

 

 

 

 

Defaults

 

None

 

 

 

 

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 aoc confirmation to aoc confirm.

 

 

 

The configuration mode for this command changed from CSG user group

 

 

 

configuration to CSG2 service configuration.

 

 

 

The list of supported special characters changed.

 

 

 

 

 

Before configuring this command, you must enable AoC by configuring the aoc enable command.

Usage Guidelines

 

URL-rewriting allows a top-off server to append parameters to a URL in order to convey state information to the quota server during a Content Authorization Request. Whenever a Content Authorization Response contains the forward action code, and the URL contains the AoC confirmation token, the token and all trailing characters are removed from the URL before the request is forwarded to the server.

The token is used for HTTP and WAP 1.x content authorization URL-rewriting.

If the token uses the URL-escape format, the redirect URL to which the token is being matched must also use the URL-escape format.

 

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

A-10

OL-15491-01

Page 10
Image 10
Cisco Systems OL-15491-01 appendix Aoc confirm token No aoc confirm, Token