RE: QoS Question

From: Lars Christensen (perseusdk@gmail.com)
Date: Tue Apr 15 2008 - 07:09:11 ART


Hi Tarun

 

Yes the config should be correct. However, I believe you should enable "mls
qos vlan-based" on the interface in order to match on Vlans.

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/1
2.2_44_se/command/reference/cli1.html#wp9757367

 

regards,

Lars Christensen, CCIE #20292

 

  _____

From: Tarun [mailto:tarun.ccie@gmail.com]
Sent: 15. april 2008 11:57
To: Lars Christensen
Cc: Cisco certification
Subject: Re: QoS Question

 

Thanks Lars for the response. I am sorrt I forgot to mention in my initial
post.

 

The questions specifically asks to create a class-map matching VLAN_B & then
set its ip precedence to 3 on interface f0/5. Also, there is not
configuration by default on port f0/5, so its in VLAN 1 by default.

 

I understand, what you said makes complete sense to me if that condition
about the class-map was not there.

 

Any idea's if my configuration is correct then?
 

On 4/15/08, Lars Christensen < <mailto:perseusdk@gmail.com>
perseusdk@gmail.com> wrote:

Hi Tarun

Since you set your port as an access port (switchport mode access), you
don't need to match on Vlan 54. Actually you can just use the following:

Policy-map SET_PREC_VLAN_B
Class class-default
  Set precedence 3
!
interface FastEthernet0/5
switchport mode access
service-policy input SET_PREC_VLAN_B

Or you can do it with the following:

interface FastEthernet0/5
switchport mode access
mls qos cos 3
mls qos cos override
!

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/1
2.2_44_se/command/reference/cli1.html#wp1862788

Regards,
Lars Christensen, CCIE #20292

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Tarun
Sent: 15. april 2008 09:06
To: Cisco certification
Subject: QoS Question

Simple question ( Or may be) :-)

I want to mark all the incoming traffic for a particular vlan on my
switchport with a precedence of 3.

I think I would use per pot per vlan classification for this which is as
follows (assuming port f0/5, vlan 54)

Class-map match-any DUMMY
Class Map match-all PER_PORT_PER_VLAN_CLASS (id 2)
  Match vlan 54
  Match class-map DUMMY
Policy Map SET_PREC_VLAN_B
   Class PER_PORT_PER_VLAN_CLASS
     set precedence 3
interface FastEthernet0/5
switchport mode access
service-policy input SET_PREC_VLAN_B

Is that solution correct, if not what is the mistake & the correct solution.

DOCCD Reference:
http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/1
2.2_25_seb/configuration/guide/swqos.html#wp1044737

Thanks for your help.

Pass the CCIE in six weeks, Guaranteed!
http://www.certscience.com/CCIE



This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:51 ART