cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
467
Views
0
Helpful
2
Replies

Problem with Changing PPPOE user rate-limit via CoA packet

shap4ever
Level 1
Level 1

We use 7206VXR as a pppoe bras, due to limited bandwidth during night hours we decided to change our clients download rate during the period. So we generate per session CoA packet and get ACK from cisco, But this is not update the previous values just add new rate-limit:

BRAS#sh int Virtual-access 2007 rate-limit

Virtual-Access2007

  Input

    matches: all traffic

      params:  256000 bps, 48000 limit, 96000 extended limit                 <------------------ Original Values

      conformed 20056 packets, 1939505 bytes; action: transmit

      exceeded 0 packets, 0 bytes; action: drop

      last packet: 2004696ms ago, current burst: 0 bytes                          

      last cleared 03:11:01 ago, conformed 1353 bps, exceeded 0 bps

   matches: all traffic

      params:  1024000 bps, 128000 limit, 256000 extended limit             <-------------------- New Values via CoA

      conformed 0 packets, 0 bytes; action: continue

      exceeded 0 packets, 0 bytes; action: drop

      last packet: 11509504ms ago, current burst: 0 bytes

      last cleared 03:09:46 ago, conformed 0 bps, exceeded 0 bps

  Output

    matches: all traffic

      params:  256000 bps, 48000 limit, 96000 extended limit

      conformed 20172 packets, 26466289 bytes; action: transmit

      exceeded 9311 packets, 12622701 bytes; action: drop

      last packet: 160292ms ago, current burst: 0 bytes

      last cleared 03:11:01 ago, conformed 18472 bps, exceeded 8810 bps

    matches: all traffic

      params:  1024000 bps, 128000 limit, 256000 extended limit

      conformed 0 packets, 0 bytes; action: continue

      exceeded 0 packets, 0 bytes; action: drop

      last packet: 11511624ms ago, current burst: 0 bytes

      last cleared 03:09:49 ago, conformed 0 bps, exceeded 0 bps

as you can see above both policies are match all traffic and the first one is applying always, How can I replace the Original values not Adding new values?

Thanks for your help

2 Replies 2

shap4ever
Level 1
Level 1

Update, I even can't find a way to remove the first rate-limit via CoA, If there is a way to remove first rate-limit values via LCP let me know plz

I think this is what you want to do:

define a policer with a policy-map, not with the rate-limit command under the VT.

policy-map RATE-1

class class-default

police rate 100 kpbs

int virtual-template 1

service-policy out RATE-1

policy-map RATE-2

class class-default

police rate 50 kpbs

now via COA send that RATE-2 pmap to the user:

cisco-avpair="ip:sub-qos-policy-out=RATE-2"

(or something like that)

xander