[c-nsp] shaping using policy-map on bridged interface

Francois Corthésy fc at deckpoint.com
Thu Dec 20 08:39:17 EST 2007


Hi all,

I was playing around with a 1841, and tried to do shaping using a 
policy-map on its interfaces in bridge mode.
This setup works fine when the interfaces are routed, but as soon as I 
put them in a bridge group, no shaping takes place.

Here is what the setup looks like:

**********************************
bridge 1 protocol ieee
!
int fa0/0
     no ip addr
     bridge-group 1
     service-policy output shape
 !  
 int fa0/1
     no ip addr
     bridge-group 1
     service-policy output shape
!
class-map match-all BLA
    match access-group name BLA
!
policy-map shape
 class BLA
  shape average 2000000
 class class-default
  shape average 10000000
!
**********************************

When I do a sh policy-map int, I see almost no packet hitting the policy.
I'm guessing that bridged interface aren't processed with the same paths 
that standard layer3 packets are.

Any ideas ?

Francois


More information about the cisco-nsp mailing list