Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Bronze

MQC QOS Policy matching packets but not marking packets

Hi all!

I have an interesting issue on my 2911 with QOS Policy on my Ethernet WAN interface.

IOS:

Version 15.2(4)M3

The policy-map is such:

policy-map branch-qos-nlan

class VoIP-Control

  bandwidth 16

  set dscp af31

class VoIP-Voice

  priority percent 30

  set dscp ef

class DVR

  shape average percent 20

  random-detect

  set dscp cs1

class Symitar

  bandwidth 64

  set dscp af21

class U-Genius

  priority 1544

  set dscp af32

class Video-Conf

  bandwidth 1500

  set dscp af41

class class-default

  fair-queue

the Class-map i'm interested in is U-Genius:

class-map match-all U-Genius

match access-group name ITM-Video

Extended IP access list ITM-Video

    10 permit ip 10.0.1.222 0.255.0.1 host 192.168.102.206 (42507348 matches)

Doing a show policy-int, I can see the class is being matched, but the QoS markings aren't being set:

<.... Emitted for Brevity ....>

    Class-map: U-Genius (match-all)

      42509425 packets, 34239877302 bytes

      30 second offered rate 583000 bps, drop rate 0000 bps

      Match: access-group name ITM-Video

      Priority: 1544 kbps, burst bytes 38600, b/w exceed drops: 0

      QoS Set

        dscp af32

          Packets marked 0

    Class-map: Video-Conf (match-any)

      0 packets, 0 bytes

      30 second offered rate 0000 bps, drop rate 0000 bps

      Match:  dscp af41 (34)

        0 packets, 0 bytes

        30 second rate 0 bps

      Queueing

      queue limit 64 packets

      (queue depth/total drops/no-buffer drops) 0/0/0

      (pkts output/bytes output) 0/0

      bandwidth 1500 kbps

      QoS Set

        dscp af41

          Packets marked 0

    Class-map: class-default (match-any)

      1442648403 packets, 1486666303223 bytes

      30 second offered rate 450000 bps, drop rate 0000 bps

      Match: any

      Queueing

      queue limit 64 packets

      (queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0

      (pkts output/bytes output) 1444326495/1486651982044

      Fair-queue: per-flow queue limit 16 packets

Has anyone seen this behavior before? Thanks in advance.

2 REPLIES

Hello.What interface have you

Hello.

What interface have you applied the policy to?

Do you have any tunnels originated on the interface and hving QoS applied?

Could you please provide complete output for sh policy-map int ... ?

Bronze

Hi Vasilii,This is applied to

Hi Vasilii,

This is applied to my Gig0/1 interface which faces my WAN. Your question about tunnels got me to thinking... and I think I have an explanation.

The WAN interface has GETVPN configured on it and I use qos pre-classify... I wonder if, since I'm marking it leaving the router, it's not marking it because of the encapsulation for the GETVPN. I wonder if I move the marking operation to my inbound LAN interfaces if it would work properly.

interface GigabitEthernet0/1
 bandwidth 10000
 ip address 192.168.xx.xx 255.255.255.128
 ip access-group filter-terminal-servers in
 no ip redirects
 ip mtu 1400
 ip authentication mode eigrp 10 md5
 ip authentication key-chain eigrp 10 EIGRP-Keychain
 ip pim sparse-mode
 load-interval 30
 duplex full
 speed 10
 rj45-auto-detect-polarity disable
 crypto map GETVPN_MAP
 service-policy output branch-qos

 

!

!

# sh policy-map int
 GigabitEthernet0/1

  Service-policy output: branch-qos-nlan

    queue stats for all priority classes:
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 85269289/49093027324

    Class-map: VoIP-Control (match-all)
      5549066 packets, 840279084 bytes
      30 second offered rate 1000 bps, drop rate 0000 bps
      Match:  dscp cs3 (24) af31 (26)
      Match: ip precedence 3
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 5550572/840330288
      bandwidth 16 kbps
      QoS Set
        dscp af31
          Packets marked 761587

    Class-map: VoIP-Voice (match-all)
      38213392 packets, 11231807424 bytes
      30 second offered rate 191000 bps, drop rate 0000 bps
      Match:  dscp ef (46)
      Match: ip precedence 5
      Priority: 30% (3000 kbps), burst bytes 75000, b/w exceed drops: 0

      QoS Set
        dscp ef
          Packets marked 0

    Class-map: DVR (match-all)
      14402775 packets, 18167642266 bytes
      30 second offered rate 438000 bps, drop rate 0000 bps
      Match: access-group 100
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/975550/0
      (pkts output/bytes output) 13427225/16818507062
      shape (average) cir 2000000, bc 8000, be 8000
      target shape rate 2000000
        Exp-weight-constant: 9 (1/512)
        Mean queue depth: 0 packets
        class       Transmitted         Random drop      Tail drop          Minimum        Maximum     Mark
                pkts/bytes            pkts/bytes       pkts/bytes          thresh         thresh     prob

        0        12946754/16145248972 639870/886311060 330658/455732476         20            40  1/10
        1          480861/673699902    1915/2701562     3107/4390106           22            40  1/10
        2               0/0               0/0              0/0                 24            40  1/10
        3               0/0               0/0              0/0                 26            40  1/10
        4               0/0               0/0              0/0                 28            40  1/10
        5               0/0               0/0              0/0                 30            40  1/10
        6               0/0               0/0              0/0                 32            40  1/10
        7               0/0               0/0              0/0                 34            40  1/10
      QoS Set
        dscp cs1
          Packets marked 75

    Class-map: Symitar (match-all)
      0 packets, 0 bytes
      30 second offered rate 0000 bps, drop rate 0000 bps
      Match: access-group name Symitar
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 0/0
      bandwidth 64 kbps
      QoS Set
        dscp af21
          Packets marked 0

    Class-map: U-Genius (match-all)
      47055898 packets, 37861219900 bytes
      30 second offered rate 546000 bps, drop rate 0000 bps
      Match: access-group name ITM-Video
      Priority: 1544 kbps, burst bytes 38600, b/w exceed drops: 0

      QoS Set
        dscp af32
          Packets marked 0

    Class-map: Video-Conf (match-any)
      0 packets, 0 bytes
      30 second offered rate 0000 bps, drop rate 0000 bps
      Match:  dscp af41 (34)
        0 packets, 0 bytes
        30 second rate 0 bps
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 0/0
      bandwidth 1500 kbps
      QoS Set
        dscp af41
          Packets marked 0

    Class-map: class-default (match-any)
      1492012019 packets, 1499044830575 bytes
      30 second offered rate 500000 bps, drop rate 0000 bps
      Match: any
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops/flowdrops) 0/0/0/0
      (pkts output/bytes output) 1493902053/1499029048228
      Fair-queue: per-flow queue limit 16 packets

 

 

198
Views
0
Helpful
2
Replies