Catalyst 6524: Class-based Marking does not work on input

Answered Question
Apr 6th, 2009

Hello everybody, given the following piece of configuration on a Catalyst ME6524

interface vlan 100

ip address xxxxx mmmmm

service-policy input mark-packets

policy-map mark-packets

class quarantine

set precedence 1

class class-default

set precedence 0

I see that packets entering the switch on vlan100 and matching the "quarantine" criteria are not being marked by the switch.

However, the switch do mark the packets if the same policy is applied on "output" mode on the vlan interface that is used by packets to exit the switch.

I read about policers, internal mappings, and port/vlan-based qos, but I still am confused.

¿Could anyone give a quick hint on what I am doing wrong?

Any help will be greatly appreaciated.

Regards, Rogelio

I have this problem too.
0 votes
Correct Answer by Giuseppe Larosa about 7 years 6 months ago

Hello Rogelio,

documentation confirms your findings:

You can attach policy maps to Layer 3 interfaces for application of PFC QoS to egress traffic


a command is needed in L2 lan port

mls qos vlan-based

Hope to help


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
rogelioalvez Mon, 04/06/2009 - 16:35

Hi Giuseppe!

Your recomendation (mls qos vlan-based) made the magic :o)

When you try to "export" your router knowledge to these boxes, everything starts to complicate :o)

Thank you very much for your help

regards, Rogelio


This Discussion