per vlan based qos classification/marking on 3560?

From: CCIE League <ccieleague_at_ymail.com>
Date: Thu, 10 Sep 2009 18:46:07 +0000 (GMT)

Experts,

How to classify & mark all traffic for only vlan 99 with anything e.g. ip prec 5 on a "3560" switch... SW4?

Setup:

 Vlan99----SW1-----isl trunk and ether channel-----SW4

- i have enabled "mls qos vlan-based" on the ALL trunk ports on SW4. Can't use "mls qos vlan-based" on Port Channel?

- SW4 can reach vlan99 via IGP... traffic destined to vlan 999 routed via vlan 100.

- I have created ACL ANY1 with permit any on SW4

- Defined Class-map CM_ANY
     match access-group name ANY1

- Defined Policy-map PM_MARK
   Class CM_ANY
    set ip prece 5

- Created int vlan 99 on SW4

- Under int vlan 99
   service-policy input PM_MARK

#show policy-map interface vlan 99 doesn't show any packets marked!! All is showing 0.

Have i missed anything? Any tricks?

Followed steps on:
http://blog.internetworkexpert.com/tag/per-vlan/

I have also tried to use Class-map with "match interface f0/19 - f0/24 as mentioned in example 6.

Ta,

Blogs and organic groups at http://www.ccie.net
Received on Thu Sep 10 2009 - 18:46:07 ART

This archive was generated by hypermail 2.2.0 : Sun Oct 04 2009 - 07:42:03 ART