Re: 3560 Per-Port Per- Vlan QoS

From: Ruben (rubentm@gmail.com)
Date: Sat Jul 05 2008 - 13:38:17 ART


Hi Eduardo,

At a glance, policy-maps MARK201A and MARK202A do exactly the same, a
mean, names are different and calls to classes which names are
different aswell, but that classes (VLAN201 and VLAN202) matches the
same condition (input interface fa0/1)

For policy-map MARK201, you are saying that any traffic matching class
VLAN201_IP (that is, any IP traffic) must be marked with precedence 5
and processed by "service-policy MARK201A" which do, what? yo do not
configure to set anything on policymap MARK201A, as I understand, only
checks that matches "class VLAN201" which checks that traffic ingress
interface is Fa0/1, and you could configure that match condition
directly in MARK201

exactly the same for policy-map MARK202, whith the difference that
MARK202 sets precedence 4.

Maybe you should look for the "deafult action" on a policy-map:

policy-map MARK201A
 class VLAN201
     ?what if "class VLAN201"=true?

HTH,
Ruben

2008/7/4 Eduardo Rossettini <Eduardo.Rossettini@telecom.co.nz>:
> Hi experts,
>
> I was doing a lab about Per-Port Per-Vlan Classification on the 3550 from IEWB and was trying to do the same lab using a 3560. Since I noticed there is no "match vlan" under the class-map configuration, I tried to achieve the solution using the following config.
>
> The lab was asking to classify and mark ip packets in a trunk interface, giving precedence 5 for VLAN 201 and precedence 4 for VLAN202.
>
> ############################################
> mls qos
>
> access-list 100 permit ip any any
>
> class-map match-any IP_TRAFFIC
> match access-group 100
>
> class-map match-all VLAN201
> match input-interface Fast0/1
> class-map match-all VLAN201_IP
> match access-group 100
>
> class-map match-all VLAN202
> match input-interface Fast0/1
> class-map match-all VLAN202_IP
> match access-group 100
>
> policy-map MARK201A
> class VLAN201
>
> policy-map MARK202A
> class VLAN202
>
> policy-map MARK201
> class VLAN201_IP
> set precedence 5
> service-policy MARK201A
>
> policy-map MARK202
> class VLAN202_IP
> set precedence 4
> service-policy MARK202A
>
> interface Vlan201
> service-policy input MARK201
>
> interface Vlan202
> service-policy input MARK202
>
> interface FastEthernet0/1
> switchport mode dynamic desirable
> mls qos vlan-based
> ############################################
>
> I can't figure out why it's not working...
>
> Thanks
>
> Eduardo
>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:53 ART