Re: MQC police

From: Petr Lapukhov (petr@internetworkexpert.com)
Date: Mon May 28 2007 - 09:29:07 ART


Hi,

unless you specify "violate-action", Be value is not taken in account.
That is, if no violate-action is specified, you configure a two-color
marker,
with a single token bucket.

Try setting "violate-action" in you examples to see the difference:

Rack1R4#show policy-map interface ethernet 0/0
 Ethernet0/0

  Service-policy output: TEST

    Class-map: class-default (match-any)
      5 packets, 308 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
      police:
          cir 128000 bps, bc 4000 bytes, be 5000 bytes
        conformed 2 packets, 120 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop
        violated 0 packets, 0 bytes; actions:
          drop
        conformed 0 bps, exceed 0 bps, violate 0 bps

HTH

-- 
Petr Lapukhov, CCIE #16379 (R&S/Security)
petr@internetworkexpert.com

Internetwork Expert, Inc. http://www.InternetworkExpert.com

2007/5/28, Bit Gossip <bit.gossip@chello.nl>: > > Group, > following my previous posting: > http://groupstudy.com/archives/ccielab/200705/msg01128.html > > I find another wierd thing about the MQC version of the police command: > Whatever value I assign to the be it doesn't make any difference in the > 'show > policy-map int' > Any idea? Also on my previous post.... > Thanks, > Luca > > ~~~~~~~~~~~~~~~~~~ > class-map match-all T72 > match protocol icmp > ! > policy-map T72 > class T72 > police cir 128000 bc 4000 be 5000 > > > > ~~~~~~~~~~~~~~~~~~~~~~~~ > Rack1R1#show policy-map int f0/0 > FastEthernet0/0 > > Service-policy output: T72 > > Class-map: T72 (match-all) > 0 packets, 0 bytes > 5 minute offered rate 0 bps, drop rate 0 bps > Match: protocol icmp > police: > cir 128000 bps, bc 4000 bytes > conformed 0 packets, 0 bytes; actions: > transmit > exceeded 0 packets, 0 bytes; actions: > drop > conformed 0 bps, exceed 0 bps > > _______________________________________________________________________ > Subscription information may be found at: > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:22 ART