Re: 3550 QoS - Police problem

From: Min Hong (mincisco@gmail.com)
Date: Tue Dec 19 2006 - 07:00:38 ART


Hi All,

From
http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/1219ea1/3550scg/swqos.htm#58444

This example shows how to create a policy map and attach it to an ingress
interface. In the configuration, the IP standard ACL permits traffic from
network 10.1.0.0. For traffic matching this classification, the DSCP value
in the incoming packet is trusted. If the matched traffic exceeds an average
traffic rate of 48000 bps and a normal burst size of 8000 bytes, its DSCP is
marked down (based on the policed-DSCP map) and sent:

Switch(config)# *access-list 1 permit 10.1.0.0 0.0.255.255
*
Switch(config)# *class-map ipclass1
*
Switch(config-cmap)# *match access-group 1
*
Switch(config-cmap)# *exit
*
Switch(config)# *policy-map flow1t
*
Switch(config-pmap)# *class ipclass1
*
Switch(config-pmap-c)# *trust dscp
*
Switch(config-pmap-c)# *police 48000 8000 exceed-action policed-dscp-transmit
*
Switch(config-pmap-c)# *exit
*
Switch(config-pmap)# *exit
*
Switch(config)# *interface gigabitethernet0/1
*
Switch(config-if)# *service-policy input flow1t
*

That will be
---------------------------------------------------------------------------------

policy-map POLICE
class LIMIT
police 128000 8000 exceed action drop ( MAX 256000bps, Normal burst 64000bps
)

MAX 256000bps = 2 x average
64000bps / 8 = 8000 bytes

-----------------------------------

IF this correct ?

On 11/23/06, Salman Abbas <dukelondon@gmail.com> wrote:
>
> Hi guys,
>
> Pls help to answer the following question:
>
>
> On SW1 int fa0/6, limit all UDP traffic by maximum 256Kbps and normal
> 128Kbps to avoid congestion on your VLAN.
>
>
> My solution is:
>
> mls qos
> access-list 101 permit udp any any
>
> class-map LIMIT
> match access-group 101
>
> policy-map POLICE
> class LIMIT
> police 256000 _____ exceed action drop
>
> int fa0/6
> service-policy input POLICE
>
> Now the part that I dont understand is that second value in the police
> command which is "Burst in bytes". How can I calculate it based on the
> question above? Also, am I missing anyting else in my configuration?
>
>
> Thanks in advance,
>
> Cheers!!!
>
> Salman
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Jan 02 2007 - 07:50:38 ART