Hi, Edouard,
I am not sure how to do this outbound, but inbound can be done using a
hierarchical policy. The following example matches the trunk interface and
limits it to 150m.
mls qos
access-list 100 permit ip any any
class-map match-all IP
match access-group 100
! this is the input trunk interface
class-map match-all TRUNK
match input-interface g0/1
! this the child policy
policy-map VLAN120-POLICER
class TRUNK
police 150m 187500 exceed-action drop
! this is the parent policy with child nested below
policy-map VLAN120-PARENT
class IP
trust
service-policy VLAN120-POLICER
interface g0/1
mls qos vlan-based
interface Vlan120
no ip address
service-policy input VLAN120-PARENT
You could also use similar policies for the access ports, policing them
individually or as a range I believe. It would be nice if you could use an
aggregate police action in a class that matches all access ports but it is
not supported (in the IOS I tried).
Perhaps someone knows a better way to do outbound policing if possible...
On Tue, Dec 29, 2009 at 8:03 PM, Edouard Zorrilla <ezorrilla_at_tsf.com.pe>wrote:
> Hello,
>
> I have two switches 3560 in trunk 802.1q with 1000Mbps (1GEth.), there I
> have
> many vlans, one of them is vlan120.
>
> SWA ------------[802.1q at 1000Mbps]-------------------------SWB
>
> Do any one know how can I set up QoS there so that I limit the bandwith for
> vlan120 to 150Mbps ?. What I want is that vlan120 just go up to 150Mbps
> instead of taking all traffic in the trunk link (1000Mbps.) = Limit the
> amount
> of traffic entering the SW and limiting the amount of traffic leaving the
> SW
> at the same time.
>
> I am reading this configurations guide :
>
>
> http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12
> .2_52_se/configuration/guide/swqos.html
>
> But I do not figure out yet how can I acomplish it,
>
> Any help will be appreciated.
>
> Best Regards
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
-- Bryan Bartik CCIE #23707 (R&S, SP), CCNP Sr. Support Engineer - IPexpert, Inc. URL: http://www.IPexpert.com Blogs and organic groups at http://www.ccie.netReceived on Tue Dec 29 2009 - 21:20:17 ART
This archive was generated by hypermail 2.2.0 : Sat Jan 02 2010 - 11:11:08 ART