Re: Vlan-based or interface based service policy

From: Mirco Orlandi <mirco.orlandi_at_gmail.com>
Date: Wed, 28 Jul 2010 11:58:05 +0200

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
Received on Wed Jul 28 2010 - 11:58:05 ART

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