cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
366
Views
0
Helpful
3
Replies

Use traffic amount as threshold via radius

Hi,

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,

Massimiliano

3 Replies 3

htarra
Level 4
Level 4

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

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:

shashi@pepsi.com 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".

Thanks,

Massimiliano

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,

Thanks

Massimiliano