Hi everyone ,
I use the policy map below to limit the subscriber, but when I try to use the whole package or when the speed test is at full load on router, I see packet losses. Anyone know the reason?
police rate 20 mbps burst 3840000 bytes peak-rate 20 mbps peak-burst 7680000 bytes
Without policy-map applied on subscriber interface, no packet loss seemed.... but when applied policy and bng configured , problem persists even exceed-action transmit
it looks like you are policing the default class, which means all traffic that exceeds the policed rate is being dropped. Which traffic (source/destination/port) do you want to police ?
Hello @prague ,
>> We want to police per pppoe user any any any
OK have you applied the QoS policy map using
service-policy out 20M
under the PPP template context ?
Hope to help
We already did basic config, problem is more specific. While the subscriber is using the whole package (all 20mbps), sessions are starting to drop and timeout starts
pppoe bba-group PPPOE
ac name BIGBNG
service selection disable
sessions vlan limit 65535
sessions inner-vlan limit 65535
sessions outer-vlan limit 65535
pado delay 0
service-policy type control subscriber PPP
pppoe enable bba-group PPPOE
cisco-avpair += ip:sub-qos-policy-out=20M",
cisco-avpair += ip:sub-qos-policy-in=5M"
20Mbps on traffic generator my not be exactly 20Mbps on the router because of different encapsulation. You can adjust at using this command:
RP/0/RSP0/CPU0:CORE-TOP(config-subif)#service-policy output Parent account user-defined ?
<-63,+63> Overhead accounting value
Have you tried that already?
Thanks for your answer. But our problem isn't exactly these overheads,
The problem is that the timeout and sessions break when the client router bursts and passes 20 mbps by 1-2 mbps.
Let me make sure that I understand the use case. Are you saying that you see PPPoE session flap when the CPE sends traffic that exceeds the configured ingress policer rate?
Yes, we were trying as pppoe before, but now we are limiting the ip interface police rate to better understand the problem . Here is our config;
service-policy input 20M
service-policy output 20M
ipv4 mtu 1500
ipv4 address XX.XX.XX.XX 255.255.255.252
police rate 20480000 bps burst 3840000 bytes peak-burst 7680000 bytes
this thread has become very long, so I am not sure what and what not has already been mentioned, but have you tried to shape instead of policing ? Something like:
shape average 20480000
The thing with policers is that they drop traffic indiscriminately, while shapers are more 'forgiving'...