Cisco OL-15491-01 User Manual

Page 75

Advertising
background image

A-75

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

OL-15491-01

Appendix A CSG2 Command Reference

ip csg entries user profile

Usage Guidelines

Keep the following considerations in mind:

The VSA is removed from the RADIUS Access-Accept message only if remove is specified. Use
the remove argument only if the RADIUS client cannot accept the Cisco VSA in the message.

We recommend that you use pass to reduce processing time on the CSG2.

The user ID must be included in the message that contains the billing plan.

The CSG2 obtains billing plan data from authentication, authorization, and accounting (AAA) RADIUS
Access response packets.

When the CSG2 receives a RADIUS Access response for a user, it caches the billing plan data for
that user.

When the CSG2 receives a RADIUS Accounting Start message from a Network Access Server (NAS)
for that same user, it frees the cached billing plan data.

If the cache timeout expires before the CSG2 receives the RADIUS Accounting Start message, the
CSG2 frees the cached billing plan data. If the RADIUS Accounting Start message arrives after the
cached billing plan data has been freed, the CSG2 creates the user with an unknown billing plan and
sends a User Authorization Request to the quota server.

In most cases, the default timeout of 20 seconds is far greater than the delay between the receipt of the
RADIUS Access response and the receipt of the RADIUS Accounting Start message. If the default
timeout is not large enough, you can use the ip csg entries user profile timeout timeout command to
increase the timeout.

Examples

The following example shows how to specify that the CSG2 is to obtain billing plan names from the
RADIUS Access-Accept and RADIUS Accounting-Request messages, and that the CSG2 is not to
remove the VSA containing the billing plan from the messages:

ip csg entries user profile radius pass

Related Commands

Command

Description

ip csg database

Server that answers user ID queries.

ip csg entries fragment

Defines the maximum number of entries in the CSG2 fragment database, or
how long the CSG2 is to retain the entries.

ip csg entries user idle

Specifies how long the CSG2 is to retain entries in the CSG2 User Table.

ip csg entries user max

Specifies the maximum number of entries allowed in he CSG2 User Table.

ip csg entries session
user max

Specifies the maximum number of entries allowed in the CSG2 session table.

ip csg psd margin

Specifies the maximum number of general packet radio service (GPRS)
tunneling protocol prime (GTP’) messages, beyond the size of the Billing
Mediation Agent (BMA) message queue, that the CSG2 can buffer for the
Cisco Persistent Storage Device (PSD).

ip csg quota-server
messages

Specifies the maximum number of general packet radio service (GPRS)
tunneling protocol prime (GTP’) messages that the CSG2 can buffer for all
quota servers.

ip csg radius userid

Specifies the RADIUS attribute used to extract the user identifier from a
RADIUS record.

Advertising