cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
708
Views
0
Helpful
3
Replies

DSCP Packet Failing to Remarking using a Service Policy

hedg1416p
Level 1
Level 1

I am trying to remark inbound Skype for Business Online audio and video traffic with ef, af31 and af41 DSCP values using the following configuration. When I check for packet matches against the service-policy it doesn't show any packet matches (apart from a few odd packets). I can confirm using wireshark on my workstation that the port ranges are correct and the packets are not being remark correctly.

I have just upgraded the router ASR1002 to 15.5(3)S5 as it was previously running an old version. The configuration matches those shown in example 2 of http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_mqc/configuration/xe-3s/qos-mqc-xe-3s-book/qos-mrkg.html.

Any assistance with this would be much appreciated

ip access-list extended SfBO-APPSHARE
 permit udp any any range 50040 50059
 permit tcp any any range 50040 50059
ip access-list extended SfBO-AUDIO
 permit udp any any range 50000 50019
 permit tcp any any range 50000 50019
ip access-list extended SfBO-VIDEO
 permit udp any any range 50020 50039
 permit tcp any any range 50020 50039

!

class-map match-all SfBO-APPSHARE
 match access-group name SfBO-APPSHARE
class-map match-any SfBO-AUDIO
 match access-group name SfBO-AUDIO
class-map match-all SfBO-VIDEO
 match access-group name SfBO-VIDEO
!

policy-map SfBO-DSCP-REMARK
 class SfBO-VIDEO
  set dscp af41
 class SfBO-APPSHARE
  set dscp af31
 class SfBO-AUDIO
  set dscp ef

!

interface GigabitEthernet0/0/0

description **to ISP**

interface GigabitEthernet0/0/0.100

service-policy input SfBO-DSCP-REMARK

!

sh policy-map int
 GigabitEthernet0/0/0.100

  Service-policy input: SfBO-DSCP-REMARK

    Class-map: SfBO-VIDEO (match-all) 
      15 packets, 8673 bytes
      30 second offered rate 0000 bps, drop rate 0000 bps
      Match: access-group name SfBO-VIDEO
      QoS Set
        dscp af41
          Marker statistics: Disabled

    Class-map: SfBO-APPSHARE (match-all) 
      16 packets, 3139 bytes
      30 second offered rate 0000 bps, drop rate 0000 bps
      Match: access-group name SfBO-APPSHARE
      QoS Set
        dscp af31
          Marker statistics: Disabled

    Class-map: SfBO-AUDIO (match-any) 
      14 packets, 2950 bytes
      30 second offered rate 0000 bps, drop rate 0000 bps
      Match: access-group name SfBO-AUDIO
      QoS Set
        dscp ef
          Marker statistics: Disabled

    Class-map: class-default (match-any) 
      75835834 packets, 70822436288 bytes
      30 second offered rate 680902000 bps, drop rate 0000 bps
      Match: any

3 Replies 3

Hello,

as far as I recall, this is a bug on the ASR 1000, QoS ACL counters are not supported. 

I am not sure if this command is available in IOS 15.5:

platform qos marker-statistics

Otherwise, upgrade to an XE release...

Hello Georg,

the router is already running an XE version - Cisco IOS XE Software, Version 03.16.05.S - Extended Support Release

Also the enabling 'platform qos marker-statistics' has a cpu impact so I am reluctant to enable it especially as it only affects the packet marked section and not the packet matching section.

Service-policy input: mark-traffic Class-map: jabber-video (match-all)

850 packets, 51000 bytes  see note 1

5 minute offered rate 2000 bps, drop rate 0000 bps

Match: ip rtp 2000 3000

QoS Set                    see note 2

 dscp af41

Marker statistics: Disabled

Class-map: class-default (match-any)     see note 3

  0 packets, 0 bytes 5 minute offered rate 0000 bps, drop rate 0000 bps

 Match: any

Footnotes

note 1

Statistics for the class match

note 2

Packet matching section

note 3

Class-Default statistics section

Hello,

you can configure the 'QoS Packet Matching Statistics: per ACE' feature', this will also potentially increase CPU utilization though:

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_mqc/configuration/xe-3s/qos-mqc-xe-3s-book/qos-match.pdf