QOS: Policing

From: Le Ba Duy Man (manlbd.hcm@ct-in.com.vn)
Date: Sun Mar 22 2009 - 05:36:33 ART


Hi group,

 

I have the following scenario: Configure the router that traffic coming in
that conforms to the guaranteed banwidth (2.5Mbps) is marked with an MPSL
EXP 1. Traffic in excess the guaranteed rate but within the burst rate
(7Mbps) should be marked with an MPLS EXP 0. Traffic in excess of the burst
rate should be drop.

I have three possile solution for this

1. Using CAR

interface FastEthernet0/0

 rate-limit input 2496000 468750 468750 conform-action set-mpls-exp-transmit
1 exceed-action continue

 rate-limit input 7000000 1312500 1312500 conform-action
set-mpls-exp-transmit 0 exceed-action drop

 

2. Using MQC one rate, three color policing

policy-map 1RATE_3COLOR

  class class-default

   police cir 2500000 bc 39062 be 109375

     conform-action set-mpls-exp-transmit 1

     exceed-action set-mpls-exp-transmit 0

     violate-action drop

 

3. Using MQC two rate, three color policing

policy-map 2RATE_3COLOR

  class class-default

   police cir 2500000 pir 7000000

     conform-action set-mpls-exp-transmit 1

     exceed-action set-mpls-exp-transmit 0

     violate-action drop

 

Which one is the most correct and why?

Thanks,

Rin

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Apr 06 2009 - 06:44:06 ART