07-13-2015 06:16 AM
Hi all. I have Cisco 7606S-RSP720 with ES20 card and latest 15S. Is it possible to apply service policy on SVI interface to police all traffic on VPLS VFI?
I am trying to configure traffic policing on a 7609 with ES20 line card - however it doesn't appear to be working.
When I generate traffic in one direction only (212.176.120.203->212.176.120.202 or 212.176.120.202->212.176.120.203), this policer works correctly. But with two-way traffic it's working in one direction only. Allmost all traffic had dropped in other direction.
!
policy-map vlan1010
class class-default
police 1000000 8000 conform-action transmit exceed-action drop
!
l2 vfi vlan1010 manual
vpn id 1010
neighbor 212.176.120.203 1013 encapsulation mpls no-split-horion
neighbor 212.176.120.202 1012 encapsulation mpls np-split-horizon
!
interface Vlan1010
xconnect vfi vlan1010
mtu 9000
service-policy output vlan1010
!
07-13-2015 10:05 AM
Hello,
I noticed that you already have a case opened with Cisco TAC on this issue. I have seen similar issue in the past where it was not supported properly on SVI but I will leave it on the TAC engineer to comment on.
Can you try to implement aggregate policer on the ingress interface. I think this solution should scale well. Below is the link for aggregate policers.
http://www.cisco.com/c/en/us/td/docs/routers/7600/ios/15S/configuration/guide/7600_15_0s_book/qos.html#pgfId-1571923
Secondly, you can do marking on ingress and shape directly on the egress LC.
Hope this helps.
Vinit
07-16-2015 02:02 AM
Hi Vinit,
Thanks a lot for you.
I have tested new policy-map configuration:
mls qos
mls qos aggregate-policer POLICER 20000000 16000 16000 conform-action transmit exceed-action drop
policy-map POLICER
class class-default
police aggregate POLICER
l2 vfi vpls1010 manual
vpn id 1010
neighbor XXX.XXX.XXX.XXX PW_ID encapsulation mpls no-split-horizon
...
neighbor XXX.XXX.XXX.XXX PW_ID encapsulation mpls no-split-horizon
interface Vlan1010
description --- XXXXXXXXXXXXXXX ---
mtu 1546
bandwidth 20000
no ip address
load-interval 30
xconnect vfi vpls1010
service-policy output POLICER
end
It seems working now, but traffic is distributed among 10 neighbors with unequal costs.
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