Working 3560 Vlan-Based QoS example

From: Bob Sinclair (bob@bobsinclair.net)
Date: Mon Nov 20 2006 - 17:40:27 ART


Hi Jose,

As you pointed out, the 3560 does not allow a direct VLAN match in a
class-map, as does the 3550. I was able to get a similar result using the
VLAN-based QoS feature:

mls qos

interface Vlan3065
 no ip address
 service-policy input SET-5

policy-map SET-5
  class ANY
   set precedence 5
   service-policy INT-F0/23

policy-map INT-F0/23
  class INT-F0/23

class-map match-all INT-F0/23
  match input-interface FastEthernet0/23

interface FastEthernet0/23
 mls qos vlan-based

Interface F0/23 is a trunk with many VLANs. I am marking traffic coming in
that interface on VLAN 3065 with precedence 5.

HTH,

Bob Sinclair
CCIE 10427 CCSI 30427
www.netmasterclass.net

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Joselito Nunez
Sent: Monday, November 20, 2006 12:21 PM
To: Salman Abbas; Bob Sinclair
Cc: ccie >> Cisco certification
Subject: Re: FR Traffic Shaping Question

hey

Look in this ...( 3560 )

Cat1(config)#mls qos
Cat1(config)#class-map match-all TRAFFIC
Cat1(config-cmap)# match access-group 1
Cat1(config-cmap)# class-map match-all Per-Port
Cat1(config-cmap)#ma
Cat1(config-cmap)#match ?
  access-group Access group
  input-interface Select one or more input
                   interfaces to match
  ip IP specific values

I dont can enter match vlan ...

I am using sdm prefer default..

regards

Jose

 --- Salman Abbas <dukelondon@gmail.com> escribis:

> Hi Bob,
>
> Thanks a bunch for the reply and the link. I've got
> another question. Hope
> you would help me answer this one too.
>
> This question is about Traffic Classification on a
> Per-Port-Per-VLAN Basis
> using Class maps
> My switch's port fa0/1 is assigned to VLAN 10. I
> want to Mark all packets on
> VLAN 10 with IP precedence critical.
>
> As per Cisco's documentation on this, I configured
> it as follows: (Pls
> correct me if I've configured it wrongly)
>
> mls qos
>
> class-map match-all TRAFFIC
> match access-group 1
> class-map match-all Per-Port
> match vlan 10
> match class-map TRAFFIC
> !
> policy-map QoS
> class Per-Port
> set precedence 5
>
> access-list 1 permit any
>
> int fa0/1
> service policy input QoS
>
>
>
>
> Thanks in advance,
>
> cheers!!!
>
> Salman
>
>
>
> On 11/20/06, Bob Sinclair <bob@bobsinclair.net>
> wrote:
> >
> > Troy,
> >
> > I only see two rates mentioned, 128K and 48K. So
> I would interpret 128K
> > as
> > the CIR, with no excess burst. I would put the
> mincir at 48K (since that
> > is
> > the value you do not want to throttle below) and
> the Bc at 16K.
> >
> > You have probably seen this one, but here is a
> good link on the topic:
> >
> >
>
http://www.cisco.com/warp/public/125/traffic_shaping_6151.html
> >
> >
> > HTH,
> >
> > Bob Sinclair
> > CCIE 10427 CCSI 30427
> > www.netmasterclass.net
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com
> [mailto:nobody@groupstudy.com] On Behalf Of
> > Salman Abbas
> > Sent: Monday, November 20, 2006 4:32 AM
> > To: ccie >> Cisco certification
> > Subject: FR Traffic Shaping Question
> >
> > Hi Guys,
> >
> > Pls help in answering the following question:
> >
> > Configure your router's interface s0 running FR
> for *RATE
> > LIMITING*according to the following information:
> >
> > maximum throughput (AR) is 128kbps
> > TC is 125 ms
> >
> > Provider will *mark any traffic in excess* of
> 48kbps *as* *discard
> > eligible*
> > Hence, *make sure throughput changes accordingly*,
> but based on *BECNs
> > received ONLY*.
> >
> > Now taking the information mentioned above into
> consideration, what would
> > be
> > my:
> >
> > CIR
> > Bc
> > Be
> > mincir
> >
> > I came up with the following answer but please
> correct me if I'm wrong
> >
> > map-class frame-relay FRTS
> > frame-relay cir 48000
> > frame-relay bc 6000
> > frame-relay be 10000
> > frame-relay mincir 24000
> > frame-relay adaptive-shaping becn
> >
> > int s0
> > frame-relay traffic-shaping
> > frame-relay class FRTS
> >
> >
> > Thanks in advance,
> >
> > Cheers!!!
> >
> >
>



This archive was generated by hypermail 2.1.4 : Fri Dec 01 2006 - 08:05:48 ART