Policy-map for QoS Classification on 3560

From: udo (ccie_ka@arcor.de)
Date: Sun Apr 22 2007 - 03:48:18 ART


Hi GS,

actually I'm trying to configure qos classification on a 3560

There are two switches which are connected through fa0/9 on both
sides...also there are two SVIs 201 and 202
PLS see the configs below

SW1
=============================================================
mls qos
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 99-102,201-202
!
class-map match-all VLANTEST
  match access-group 100

!
...output ommited
!
policy-map VLANTEST
  class VLANTEST
   set dscp cs4

!
!
!

!
interface FastEthernet0/9
 switchport trunk encapsulation dot1q
 switchport mode trunk
 mls qos vlan-based
!

!
interface Vlan201
 ip address 155.1.201.1 255.255.255.0
 service-policy input VLANTEST
!
interface Vlan202
 ip address 155.1.202.1 255.255.255.0
 service-policy input VLANTEST
!
ip classless
ip http server
ip http secure-server
!
!
access-list 100 permit ip any any
==================================================================
when I ping from SW2 to 155.1.201.1 or 155.1.202.1 I get only the
following statistics on fa0/9

SW1#sh mls qos interface fa0/9 statistics
FastEthernet0/9

  dscp: incoming
-------------------------------

  0 - 4 : 10 0 0 0
0
  5 - 9 : 0 0 0 0
0
 10 - 14 : 0 0 0 0
0
 15 - 19 : 0 0 0 0
0
 20 - 24 : 0 0 0 0
0
 25 - 29 : 0 0 0 0
0
 30 - 34 : 0 0 0 0
0
 35 - 39 : 0 0 0 0
0
 40 - 44 : 0 0 0 0
0
 45 - 49 : 0 0 0 23 <
0
 50 - 54 : 0 0 0 0
0
 55 - 59 : 0 0 0 0
0
 60 - 64 : 0 0 0 0
  dscp: outgoing
-------------------------------

  0 - 4 : 44 0 0 0
0
  5 - 9 : 0 0 0 0
0
 10 - 14 : 0 0 0 0
0
 15 - 19 : 0 0 0 0
0
 20 - 24 : 0 0 0 0
0
 25 - 29 : 0 0 0 0
0
 30 - 34 : 0 0 0 0
0
 35 - 39 : 0 0 0 0
0
 40 - 44 : 0 0 0 0
0
 45 - 49 : 0 0 0 6
0
 50 - 54 : 0 0 0 0
0
 55 - 59 : 0 0 0 0
0
 60 - 64 : 0 0 0 0
  cos: incoming
-------------------------------

  0 - 4 : 903 0 0 0
0
  5 - 7 : 0 0 0
  cos: outgoing
-------------------------------

  0 - 4 : 51 0 0 0
0
  5 - 7 : 0 0 0
Policer: Inprofile: 0 OutofProfile: 0

For my understand I should see DSCP value counters on 30 - 34 which
means dscp cs4 !?!?
But I saw only the counters on dscp 45-49 increasing !!

THX

udo



This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 08:28:36 ART