Prev: Failover problem with Firewall Service Modul (FWSM) Catalyst 6500
Next: Vista Smart Security virus (fake program)
From: bod43 on 27 Apr 2010 12:26 On 26 Apr, 15:50, "terry...(a)o2.ie" <terry...(a)o2.ie> wrote: > On Apr 23, 6:39 pm, Doug McIntyre <mer...(a)geeks.org> wrote: > > > > > "terry...(a)o2.ie" <terry...(a)o2.ie> writes: > > >On Apr 22, 8:34=A0pm, Doug McIntyre <mer...(a)geeks.org> wrote: > > >> "terry...(a)o2.ie" <terry...(a)o2.ie> writes: > > >> >Can any describe a simple method to rate limit a fastethernet on a > > >> >3560 - I have seen and tried Police , srr queue commands but I have > > >> >only been anle to achieve the desired rate limit on the inside of the > > >> >port - it appears to still use the full bandwidth on its egress side. > > > >> No simple way like you are trying, but it is possible, detailed here... > > > >>http://blog.ine.com/2008/03/03/bridging-the-gap-between-3550-and-3560.... > > >ttp://blog.ine.com/2008/03/26/bridging-the-gap-between-3550-and-3560....http= > > >://blog.ine.com/2008/06/26/quick-notes-on-the-3560-egress-queuing/ > > >Thanks for the reply, I have made some progress: > > >! > > >interface FastEthernet0/1 > > > srr-queue bandwidth limit 10 > > > service-policy input POLICY_5Mb > > >! > > >- gives download 6.1Mbs upload 3.2 Mbs > > >When I try to setup a "10Mb" policy I appear to have a problem... > > >interface FastEthernet0/2 > > > srr-queue bandwidth limit 10 > > > spanning-tree portfast > > > service-policy input POLICY_10Mb > > ... > > >policy-map POLICY_10Mb > > > class CLASS_10Mb > > > police 10000000 100000 exceed-action drop > > > gives download 6.1Mbs upload 67Mbs > > > I've found that in real life, you have to adjust your burst size > > according to your traffic mix, and tweak things up and down based on > > actually measuring the traffic throughput. > > > Running through the theory is all grand, but to dial it in, you have > > to do some experimentation back and forth to get it to register the > > way you like.. > > > I've also found the 4500/SupIVs or Vs to be much more forgiving for > > doing what you are trying to do. > > ____________________ > > I have spent a long time now trying various combinations of values to > get my traffic shaping ploicies working but cannot crack it. To recap > - I want to slice up Internet Bandwidth between different ports on my > switch; my first policy is: I did some work on this years ago and have a config I will post. The idea was to prioritise outbound voice traffic into a DSL (likely 512kbps). Switch was 3560. Of course the voice traffic was already DSCP marked and we just had to preserve the marking (by default the switch discards the marking) and then do queuing on the output. The idea might have been to limit the non phone traffic (maybe to say 300kbps) leaving enough room for the voice or maybe to do output shaping on the switch of non voice traffic. Not sure which is configured here. I cannot at present explain how it was supposed to work in detail since I forget - it was over 4 years ago. The config is hopefully called Config-dscp-pass-through- WORKING-with---QOS-As-in-use--3560-2006-02-07 As I recall input queuing seems of no use to me. It's a plain switch L2 configuration, no routing. Here are the bits that seem to matter:- Some config elements are UNUSED but I have left them in in case it gives you any ideas. version 12.1 mls qos map cos-dscp 0 8 16 26 32 46 48 56 mls qos srr-queue input bandwidth 50 50 mls qos srr-queue input cos-map queue 1 threshold 2 1 mls qos srr-queue input cos-map queue 1 threshold 3 0 mls qos srr-queue input cos-map queue 2 threshold 1 2 mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7 mls qos srr-queue input cos-map queue 2 threshold 3 3 5 mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15 mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7 mls qos srr-queue input dscp-map queue 1 threshold 3 32 mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23 mls qos srr-queue input dscp-map queue 2 threshold 2 26 33 34 35 36 37 38 39 mls qos srr-queue input dscp-map queue 2 threshold 2 48 49 50 51 52 53 54 55 mls qos srr-queue input dscp-map queue 2 threshold 2 56 57 58 59 60 61 62 63 mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 27 28 29 30 31 40 mls qos srr-queue input dscp-map queue 2 threshold 3 41 42 43 44 45 46 47 mls qos srr-queue output cos-map queue 1 threshold 3 3 5 mls qos srr-queue output cos-map queue 2 threshold 3 0 1 2 4 6 7 mls qos srr-queue output dscp-map queue 1 threshold 3 24 26 46 mls qos srr-queue output dscp-map queue 2 threshold 2 9 10 11 12 13 14 15 mls qos srr-queue output dscp-map queue 2 threshold 3 0 1 2 3 4 5 6 7 mls qos srr-queue output dscp-map queue 2 threshold 3 16 17 18 19 20 21 22 23 mls qos srr-queue output dscp-map queue 2 threshold 3 25 27 28 29 30 31 32 33 mls qos srr-queue output dscp-map queue 2 threshold 3 34 35 36 37 38 39 40 41 mls qos srr-queue output dscp-map queue 2 threshold 3 42 43 44 45 47 48 49 50 mls qos srr-queue output dscp-map queue 2 threshold 3 51 52 53 54 55 56 57 58 mls qos srr-queue output dscp-map queue 2 threshold 3 59 60 61 62 63 mls qos queue-set output 1 buffers 20 20 20 40 mls qos queue-set output 2 buffers 40 40 10 10 mls qos !! I dont think there are in use in the config !! but were part of earlier tests class-map match-any CM-tointernet2 match input-interface FastEthernet0/2 class-map match-any CM-tointernet match access-group name ACL-tointernet class-map match-any CM-voice match any ! ! policy-map PM-tointernet2 class CM-tointernet trust dscp policy-map PM-tointernet class CM-tointernet trust dscp interface FastEthernet0/6 description To Internet no ip address srr-queue bandwidth shape 25 60 0 0 srr-queue bandwidth limit 10 queue-set 2 priority-queue out no mdix auto interface FastEthernet0/9 no ip address srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 mls qos trust device cisco-phone no mdix auto auto qos voip cisco-phone interface FastEthernet0/14 no ip address srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 mls qos trust device cisco-phone no mdix auto auto qos voip cisco-phone interface FastEthernet0/15 description IP Phone Port no ip address duplex full srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 mls qos trust device cisco-phone mls qos trust cos no mdix auto auto qos voip cisco-phone |