beautypg.com

Ip csg redirect – Cisco OL-15491-01 User Manual

Page 152

background image

A-152

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

OL-15491-01

Appendix A CSG2 Command Reference

ip csg redirect

ip csg redirect

To redirect subscriber flows to an alternate IP address when the subscriber’s quota is exhausted, use the
ip csg redirect command in global configuration mode. To remove the redirect, use the no form of this
command.

ip csg redirect {http url | interval seconds | maximum number | sip url | wap url}

no ip csg redirect [http | sip | wap]

Syntax Description

Defaults

If you do not specify an interval, the CSG2 redirects subscriber flows after 8 seconds.
If you do not specify a maximum, the CSG2 allows up to 15 redirects during the interval.

Command Modes

Global configuration

Command History

http url

(Optional) Redirects HTTP subscriber flows to the specified redirect URL
when quota is depleted, and configures the default URL for use in HTTP
redirection.

interval seconds

(Optional) Length of time, in seconds, during which the CSG2 redirects an
out-of-quota subscriber. After this interval, the CSG2 drops the requests
until quota can be requested again.

The start of the interval is the time of the first redirect after a quota grant of
zero. The range is from 0 to 3600. The default is 8.

maximum number

(Optional) Maximum number of times a redirect is to be performed for an
out-of-quota subscriber during a redirect interval. The range is from
0 to 255. The default is 15.

sip url

(Optional) Redirects Session Initiation Protocol (SIP) call requests
(INVITE methods) to the specified redirect URL when quota is depleted.

wap url

(Optional) Redirects wireless application protocol (WAP) subscriber flows
to the specified redirect URL when quota is depleted.

Release

Modification

12.4(11)MD

This command was migrated from CSG1.

Changes from CSG1:

The name of this command changed from redirect to ip csg redirect.

The configuration mode for this command changed from CSG user group
configuration to CSG2 service configuration.

The interval seconds and maximum number keywords and arguments were
added.

The nat ip-address and port-number keyword and arguments were removed.

12.4(15)MD

The sip keyword and url argument were added.