Use traffic amount as threshold via radius

Unanswered Question
Sep 17th, 2007
User Badges:


is it possible, to pre-set an amount of traffic for remote users, after that the connection is closed, via radius vsa? (for prepaid-cards customers, with ie. 1gb of traffic).

I was thinking about qos policy via radius attribute, but I've found only about rate limiting.

Thanks in advance,


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
htarra Fri, 09/21/2007 - 12:47
User Badges:
  • Bronze, 100 points or more

I think you can do . You need the cisco-policy-up/down as you are attaching the service policies to the virtual-accessintefaces which is what those atts are doing.The following needs to be added to the radius dictionary to make this work: VENDOR Cisco 9

ATTRIBUTE Cisco-avpair 1 string Cisco

ATTRIBUTE Cisco-Policy-Up 37 string Cisco

ATTRIBUTE Cisco-Policy-Down 38 string Cisco

massimiliano.macri Mon, 09/24/2007 - 01:42
User Badges:

Hi, thanks for the answer

I'm not sure about how to specify the correct policy in the radius users profiles, ie this should accomplish rate limiting:

[email protected] Password = "cisco"

Service-Type = Framed,

Framed-Protocol = PPP,

Framed-MTU = 1400,

Framed-Routing = 1

Cisco-Avpair = "lcp:interface-config=rate-limit output

access-group 101 64000 16000 32000 conform-action transmit exceed-action drop",

interface Virtual-Access2

mtu 1492

ip unnumbered Loopback1

rate-limit output access-group 101 64000

16000 32000 conform-action transmit exceed-action drop

I was trying to understand what are the correct strings for the quota management, so I can build a "quota profile".



massimiliano.macri Mon, 09/24/2007 - 01:46
User Badges:

Hi, I forgot that the other half of the problem is probably create a correct policy on the device, ie (same for limiting):

policymap parent_shaping

class class-default

shape average {speed}

service-policy child_queueing

policymap child_queueing

class c1

priority Y

class c2

bandwidth X

interface ethernet 1/0

pppoe enable

service-policy output parent_shaping

I have no hints or documentation for quota limiting,




This Discussion