[c-nsp] Rate limit Physical interface GSR

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Thu Apr 9 09:59:05 EDT 2009


Mark Tech <> wrote on Thursday, April 09, 2009 13:15:

> Hi
> I would like to cap a physical GE interface to 100mbps whist running
> vlans through it on a GSR i.e. 
> 
[...]
> 
> However when I apply  the rate-limit command on GE0/0/6, I don't see
> any drop in traffic. Actually I have set up a throughput test through
> GigabitEthernet0/0/6.2 running at 1Gbps which I can see through sh
> int GigabitEthernet0/0/6 which does not drop to 100Mbps once the
> rate-limit is added    
> 
> Is there a way to cap this aggregate interface?

On Engine3/5 linecards, you can use

policy-map gig-out
 class class-default
  police 1000000000
!
int gig0/0/6
 service-policy output gig-out
!
int gig0/0/6.<vlan>
 ...

You can also use "match vlan" classes to provide differentiated treatment for vlans..

	oli


More information about the cisco-nsp mailing list