Shaping and Policing on an interface

From: David Timmons (masterdt@yahoo.com)
Date: Tue Jul 25 2006 - 12:20:33 ART


Hi,
 
What happens if you configure shaping and policing on an interface. Which one takes precedence? I think that this is saying, use policing to set the DSCP values; however, don't drop traffic. Then just do frame-relay adaptive traffic shaping. If so, why would use the different CIR's for the rate-limit? I would think that exceed or not, the traffic will be marked based on the specific access-group.
 
 
interface Serial0.1 point-to-point
  bandwidth 784
 ip access-group 143 in
 rate-limit output access-group 178 8000 8000 8000 conform-action set-dscp-transmit 48 exceed-action set-dscp-transmit 48
 rate-limit output access-group 179 8000 8000 8000 conform-action transmit exceed-action transmit
 rate-limit output access-group 180 16000 8000 8000 conform-action set-dscp-transmit 16 exceed-action set-dscp-transmit 16
 rate-limit output access-group 183 768000 96000 96000 conform-action set-dscp-transmit 18 exceed-action set-dscp-transmit 20
 no ip route-cache same-interface
 no arp frame-relay
 no cdp enable
 frame-relay class MapClass_1
 frame-relay interface-dlci 101
 
 
map-class frame-relay MapClass_1
 frame-relay cir 1382000
 frame-relay bc 13820
 frame-relay mincir 784000
 frame-relay adaptive-shaping becn
 service-policy output mypolicy
 
policy-map mypolicy c
   Class NMC
   bandwidth 16
   random-detect dscp-based
   random-detect exponential-weighting-constant 1
   random-detect dscp 16 100 200 10
   random-detect dscp 48 200 300 10
  class COS3
   bandwidth 768
   random-detect dscp-based
   random-detect exponential-weighting-constant 1
   random-detect dscp 18 200 300 10
   random-detect dscp 20 50 100 10

class-map match-all NMC
  match dscp cs2 cs6
class-map match-all COS3
  match dscp af21 af22



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:48 ART