09-10-2013 10:16 AM
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
09-11-2013 09:45 AM
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
09-12-2013 12:16 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide