[c-nsp] Any one ever worked on Cisco 6500 QOS specifically 6503 or 6524(help) needed

Ahsan Rasheed ahsanrasheed9 at gmail.com
Sun Oct 12 01:27:42 EDT 2014


Hi All,

I am having issue specifically doing QOS configuration on 6503 or 6524 or
6509 switches. I am unable to match any EF(voice) traffic for eompls(vlan
based) on 6503 cisco switch. If i use any other router as 2811 or 2821 my
QOS configuration works perfect but if i put 6503 as PE2 it does not work.i
am using vlan based eompls.

Below is the scenario & configuration which i am having issue.


CE1(2821 router)(dot1Q)--------->PE1(2821 router)------->P(6524
switch)-------->PE2(6503 switch)------->(dot1Q)(2821 switch)CE2.

On CE1 i can match ip-precedence 5 traffic and mark that traffic to cos5 on
outbound port.On PE1 i can match cos5 packet and mark with mpls exp top5 on
inbound port, on outbound port i can match mpls exp 5.

On PE2(6503) i am unable to match that mpls exp5 packet on inbound port.
none of the configuration worked on 6500 series switches with mls qos, ,mls
qos trust dscp,mls qos trust cos etc. Although i can match cos5 traffic on
CE2 on inbound interface.i can not match mpls exp 5 traffic on 6503 and all
i can see traffic as default-class on 6503 switch. I tried many things and
many configurations on 6503 but nothing worked.If i put 2821 router as PE2
instead of 6503 my qos configuration works. but why if i put 6503 my same
qos configuration does not work?

---match means=classification or classify

Can anyone tell me how qos works on 6500 series switches or where i am
having issue in my scenario.
i am using this ios on 6503: s72033-advipservicesk9_wan-mz.122-33.SXI3.bin.

below r my questions for 6503 qos:

1.do i need to use some other map tables,am i  using correct map tables on
6503 as cos-dscp,dscp-cos,exp-dscp etc.
2.any other configuration of qos needed on 6503?
3.i am unable to match anything on outbound port of 6503.
4.on 6503 i am using sup720 and PFC3BXL.any specific configuration needed
for PFC3bxl.
5. 6503 not allowing me to match qos-group on inbound interface, not
allowing me to set cos5 on outbound interface. not allowing me to set cos5
as an inbound interface.


CE1(2821) config:
------------------------
!
class-map match-any EF
 match ip precedence 5
class-map match-any data
 match ip precedence 3
!
!
policy-map ip2mpls
 class EF
  set cos 5
 class data
  set cos 3
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/0.455
 encapsulation dot1Q 455
 ip address 172.16.15.1 255.255.255.252
 service-policy output EF
!

PE1(2821) config:
-------------------------
-------------------------
mls qos map cos-dscp 0 8 16 24 32 40 48 56
!
class-map match-all exp_3
 match mpls experimental topmost 3
class-map match-all mpls_exp
 match mpls experimental topmost 5
class-map match-any cos3
 match cos  3
class-map match-any LOO1
 match cos  5
!
!
policy-map EF
 class LOO1
  set mpls experimental imposition 5
 class cos3
  set mpls experimental imposition 3
policy-map QOS_G_5
 class mpls_exp
  priority
 class exp_3
  bandwidth 500
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
 ip address 192.168.23.2 255.255.255.0
 ip ospf network point-to-point
 duplex auto
 speed auto
 mpls ip
 service-policy output QOS_G_5
!
interface FastEthernet0/1.455
 encapsulation dot1Q 455
 xconnect 5.5.5.5 455 encapsulation mpls
 service-policy input EF
!
-------------------------------
-------------------------------
PE2(6503 qos):
R1#show module
Mod Ports Card Type                              Model              Serial
No.
--- ----- -------------------------------------- ------------------
-----------
  1    4  CEF720 4 port 10-Gigabit Ethernet      WS-X6704-10GE
 SAL09401U2L
  2   48  CEF720 48 port 10/100/1000mb Ethernet  WS-X6748-GE-TX
SAL114247YN
  3   16  16 port 1000mb GBIC ethernet           WS-X6416-GBIC
 SAL0712AM69
  4   24  CEF720 24 port 1000mb SFP              WS-X6724-SFP
SAL10019J4N
  5    2  Supervisor Engine 720 (Hot)            WS-SUP720-3BXL
SAD102805VM
  6    2  Supervisor Engine 720 (Active)         WS-SUP720-BASE
SAD0846060F

Mod  Sub-Module                  Model              Serial       Hw
Status
---- --------------------------- ------------------ ----------- -------
-------
  1  Distributed Forwarding Card WS-F6700-DFC3BXL   SAD102504EF  5.3    Ok
  2  Centralized Forwarding Card WS-F6700-CFC       SAD111300PD  3.1    Ok
  4  Centralized Forwarding Card WS-F6700-CFC       SAL1004BQ2A  2.0    Ok
  5  Policy Feature Card 3       WS-F6K-PFC3BXL     SAD10270189  1.8    Ok
  5  MSFC3 Daughterboard         WS-SUP720          SAD102801G5  2.5    Ok
  6  Policy Feature Card 3       WS-F6K-PFC3BXL     SAL1415FE95  1.11   Ok
  6  MSFC3 Daughterboard         WS-SUP720          SAD08440794  2.4    Ok

R1#show mls qos maps
   Normal Burst Policed-dscp map:                                  (dscp=
d1d2)
     d1 :  d2 0  1  2  3  4  5  6  7  8  9
     -------------------------------------
      0 :    01 01 02 03 04 05 06 07 08 09
      1 :    10 11 12 13 14 15 16 17 18 19
      2 :    20 21 22 23 24 25 26 27 28 29
      3 :    30 31 32 33 34 35 36 37 38 39
      4 :    40 41 42 43 44 45 01 47 48 49
      5 :    50 51 52 53 54 55 56 57 58 59
      6 :    60 61 62 63

   Maximum Burst Policed-dscp map:                                  (dscp=
d1d2)
     d1 :  d2 0  1  2  3  4  5  6  7  8  9
     -------------------------------------
      0 :    00 01 02 03 04 05 06 07 08 09
      1 :    10 11 12 13 14 15 16 17 18 19
      2 :    20 21 22 23 24 25 26 27 28 29
      3 :    30 31 32 33 34 35 36 37 38 39
      4 :    40 41 42 43 44 45 46 47 48 49
      5 :    50 51 52 53 54 55 56 57 58 59
      6 :    60 61 62 63

   Dscp-cos map:                                  (dscp= d1d2)
     d1 :  d2 0  1  2  3  4  5  6  7  8  9
     -------------------------------------
      0 :    00 00 00 00 00 00 00 00 01 01
      1 :    01 01 01 01 01 01 02 02 02 02
      2 :    02 02 02 02 03 03 03 03 03 03
      3 :    03 03 04 04 04 04 04 04 04 04
      4 :    05 05 05 05 05 05 05 05 06 06
      5 :    06 06 06 06 06 06 07 07 07 07
      6 :    07 07 07 07

   Dscp-exp map:                                  (dscp= d1d2)
     d1 :  d2 0  1  2  3  4  5  6  7  8  9
     -------------------------------------
      0 :    00 00 00 00 00 00 00 00 01 01
      1 :    01 01 01 01 01 01 02 02 02 02
      2 :    02 02 02 02 03 03 03 03 03 03
      3 :    03 03 04 04 04 04 04 04 04 04
      4 :    05 05 05 05 05 05 05 05 06 06
      5 :    06 06 06 06 06 06 07 07 07 07
      6 :    07 07 07 07

Cos-dscp map:
         cos:   0  1  2  3  4  5  6  7
     ------------------------------------
        dscp:   0 10 18 24 34 46 48 56

   IpPrecedence-dscp map:
      ipprec:   0  1  2  3  4  5  6  7
     ------------------------------------
        dscp:   0  8 16 24 32 40 48 56

   Exp-dscp map:
         exp:   0  1  2  3  4  5  6  7
     ------------------------------------
        dscp:   0  8 16 24 32 40 48 56


mls netflow interface
mls qos map cos-dscp 0 10 18 24 34 46 48 56
mls qos
!
class-map match-all exp_3
 match mpls experimental topmost 3
class-map match-all EXP_5
 match mpls experimental topmost 5
class-map match-all QOS_GROUP_5
 match qos-group 5
class-map match-all prec5
 match ip precedence 5
class-map match-all cos5
 match cos  5
!
policy-map mpls2ip
class QOS_GROUP_5
 set cos 5
!
policy-map IN_FROM_R3
 class EXP_5
  set qos-group 5
!
interface Loopback0
 ip address 5.5.5.5 255.255.255.255
!
interface GigabitEthernet2/2
 mls qos trust cos
or <------------ (tried both individually but none worked)
 mls qos trust dscp
!
interface GigabitEthernet2/2.455
 encapsulation dot1Q 455
 xconnect 3.3.3.3 455 encapsulation mpls
 service-policy output mpls2ip
!
interface GigabitEthernet2/1
 ip address 192.168.34.4 255.255.255.0
 ip ospf network point-to-point
 mls qos trust cos
or <------------ (tried both individually but none worked)
 mls qos trust dscp
 mpls ip
 service-policy input IN_FROM_R4
!
Thanks & regards,
Ahsan Rasheed


More information about the cisco-nsp mailing list