[c-nsp] Traffic shaping on a Sup32

Graham Wooden graham at g-rock.net
Tue Aug 18 22:09:38 EDT 2009


Ah-ha!  I found the solution to my first inquire - traffic shapping on SVIs.
Apparently the key was "mls qos vlan-based" on the actual LAN interface. Now
its adhering both input and output.  I'll see if I can tweak to fit a dot1q
subint.


On 8/18/09 8:52 PM, "Graham Wooden" <graham at g-rock.net> wrote:

> Oh, the fun.  I am not making much headway with this. After reading the Qos on
> the PFC, I am even more lost. I can't seem to do any traffic shaping within
> the map. I can't do the police cir, bandwidth percentage, etc.
> Does anyone have any good working examples?
> 
> 
> class-map match-any VOIP
>   match access-group 100
> !
> policy-map EdgeMap
>   class VOIP
>    police cir percent 25
>      conform-action transmit
>   class class-default
>    police cir percent 75
>      conform-action transmit
>      exceed-action drop
> !
> access-list 100 permit udp any any gt 10000
> access-list 100 permit udp any any lt 20000
> access-list 100 permit udp any any gt 4000
> access-list 100 permit udp any any lt 6000
> 
> interface FastEthernet3/1.284
>  bandwidth 20000
>  encapsulation dot1Q 284
>  ip address nn.nn.nn.nn 255.255.255.252
> end
> 
> 
> edge01#conf t
> Enter configuration commands, one per line.  End with CNTL/Z.
> 
> edge01(config)#interface fastEthernet 3/1.284
> edge01(config-subif)#service-policy input EdgeMap
> police percent command is not supported in input direction for this interface
> Configuration failed!
> 
> edge01(config-subif)#service-policy output EdgeMap
> police percent command is not supported in output direction for this interface
> Configuration failed!
> edge01(config-subif)#
> 
> 
> 
> On 8/18/09 5:54 PM, "Graham Wooden" <graham at g-rock.net> wrote:
> 
>> Hi there,
>> 
>> I need to implement some traffic shaping on some SVI VLAN interfaces (a
>> customer either with 1 server or 10 servers) on a 6509/Sup32.
>> Running IOS is advipservicesk9_wan-mz.122-33.SXI1.
>> 
>> I have currently setup some policy-maps that do some policing, which are
>> feed by class-maps with match any.
>> 
>> Seems like "service-policy output ..." works, but input doesn't.
>> What is the best way to handle both ingress/egress traffic shaping?
>> Do I need to input on the fastEthernet linecard?
>> 
>> Thanks for any assistance or guidance.
>> -graham
>> 
>> 
>> _______________________________________________
>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>> archive at http://puck.nether.net/pipermail/cisco-nsp/




More information about the cisco-nsp mailing list