RE: Vlan-based or interface based service policy

From: Sonu Khandelwal (sokhande) <sokhande_at_cisco.com>
Date: Wed, 28 Jul 2010 20:35:30 +0530

This also depends on the which router/switch you are using. Lets say if
you have 3560 then one option available is vlan based policing using
"mls qos vlan based" on interfaces. Matching on vlan is not available.

Rack1SW2(config)#class-map vlan12
Rack1SW2(config-cmap)#match vl?
% Unrecognized command
Rack1SW2(config-cmap)#match ?
  access-group Access group
  input-interface Select one or more input interfaces to match
  ip IP specific values

Rack1SW2(config-cmap)#match

How ever on a 7600/6500 you have this option available.

Hope this helps.

Thanks,
Sonu
 

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
Hash
Sent: Wednesday, July 28, 2010 7:00 PM
To: Maarten Vervoorn
Cc: Cisco certification
Subject: Re: Vlan-based or interface based service policy

It depends if the interfaces are trunks or access and the number of
interfaces you have plus how much time you have in the lab to go over
interface by interface (task consuming) Hash Sent from my BlackBerry.
wireless device from STC

-----Original Message-----
From: Maarten Vervoorn <mr.vervoorn_at_gmail.com>
Date: Wed, 28 Jul 2010 15:26:31
To: <hashng_at_gmail.com>
Cc: Cisco certification<ccielab_at_groupstudy.com>
Subject: Re: Vlan-based or interface based service policy

In the class-maps I match on the vlans. So I think both anwser will do.
If you configure the service policy on all interfaces of vlan 12 and 16

2010/7/28 Hash <hashng_at_gmail.com>

> Apply it under the svi
> Hash
> Sent from my BlackBerry. wireless device from STC
>
> -----Original Message-----
> From: Mirco Orlandi <mirco.orlandi_at_gmail.com>
> Sender: nobody_at_groupstudy.com
> Date: Wed, 28 Jul 2010 11:58:05
> To: Maarten Vervoorn<mr.vervoorn_at_gmail.com>
> Reply-To: Mirco Orlandi <mirco.orlandi_at_gmail.com>
> Cc: Cisco certification<ccielab_at_groupstudy.com>
> Subject: Re: Vlan-based or interface based service policy
>
> Hi Maarten,
>
> this task is asking you to configure a policer for vlan12 and a
> policer for vlan16.
>
> At this point of my preparation path I'm not a guru on this staff, but

> it seems your second option doesn't match task requirements, because
> it creates per-port per-vlan policer.
> So, you will have a lot of policer without a single point of entire
> vlan traffic metering.
>
> I have not labbed this up.
> -mirco.
>
>
> On Wed, Jul 28, 2010 at 7:41 AM, Maarten Vervoorn
> <mr.vervoorn_at_gmail.com
> >wrote:
>
> > Hi All,
> >
> > I just received a quetsion from the workbook lab with the following
> > question:
> > Configure VLAN 12 to allow a maximum bandwidth of 64 Kb Configure
> > VLAN 16 to allow a maximum bandwidth of 2048 Kbit
> >
> > I think there are two option to do this. I can create a service
> > policy
> and
> > put it on alle vlan 12 and 16 interfaces or I could you vlan-based
> > to
> just
> > apply the policy to the vlan interface. Can anyone tell me if I'm
> correct.
> > In the real lab I could ask the proctor that I could do this
> > question two ways
> > *SW1*
> > mls qos
> > !
> > policy-map POLICE-16
> > class class-default
> > police 2048000 8000 exceed-action drop policy-map VLAN16 class
> > class-default
> > service-policy POLICE-16
> > policy-map POLICE-12
> > class class-default
> > police 64000 8000 exceed-action drop policy-map VLAN12 class
> > class-default
> > service-policy POLICE-12
> > !
> > int fa0/1
> > sw access vl 12
> > sw mo access
> > mls qos vlan-based
> > int fa0/3
> > sw access vl 16
> > sw mo access
> > mls qos vlan-based
> > int fa0/4
> > sw tr en isl
> > sw mo tr
> > sw tr all vl 12,16
> > mls qos vlan-based
> > int vlan 12
> > service-policy in VLAN12
> > int vlan 16
> > service-policy in VLAN16
> > !
> > **
> > *OR
> > SW1*
> > class-map ALL
> > match access-group 100
> > class VLAN12
> > match vlan 12
> > match class-map ALL
> > class VLAN16
> > match vlan 16
> > match class-map ALL
> > !
> > policy-map LIMIT
> > class VLAN12
> > police 64000 8000 exceed-action drop class VLAN16
> > police 2048000 8000 exceed-action drop !
> > int fa0/1
> > sw access vl 12
> > sw mo access
> > service-policy in LIMIT
> > int fa0/3
> > sw access vl 16
> > sw mo access
> > service-policy in LIMIT
> > int fa0/4
> > sw tr en isl
> > sw mo tr
> > sw tr all vl 12,16
> > service-policy in LIMIT
> > !
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> >_____________________________________________________________________
> >__ Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
>_______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Wed Jul 28 2010 - 20:35:30 ART

This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 19:19:14 ART