cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9944
Views
0
Helpful
6
Replies

Qos classification and icmp dscp

KAROLY KOHEGYI
Level 2
Level 2

Hi!

I have made some test and i noticed that qos input policy does not classify the icmp packet based on their dscp.

The "match dscp ef" or "match precedence 5" is not working only the "match protocol icmp" shows hits.

We need to classify the different icmp packets based on dscp ( TOS ) for measurement purpose.

CISCO 7200, 12.4.25d and 12.4.20T have a same behavior.

Regards,

6 Replies 6

cadet alain
VIP Alumni
VIP Alumni

Hi,

is class-default getting hits?

Are you sure you marked the ICMP packets with dscp ef ?

What about  extended ping with tos of 46X4=184= DSCP ef ?

Regards.

Alain

Don't forget to rate helpful posts.

Hi,

there are hitting on the class which contains match protocol icmp!

the short config example

class P1

match dscp ef

class p2

match protocol icmp

policy-map pm

class P1

  set dscp ef

class p2

set dscp af21

etc.

We woluld like that there are hit on the P1 class if wesend the ICMP with DSCP EF.

Our target that mgmt station would send ICMP's with diferrent DSCP settings to measure the network SLAs.

Voice, gold Qos class etc.

I tried the ICMP with ToS 184 from CISCO router!

Regards

Hi,

Can you post the show policy-map interface as well as sh class-map and show policy-map outputs

Regards.

Alain

Don't forget to rate helpful posts.

Hi,

interface GigabitEthernet0/1

description INTERLINK ILKA fele

bandwidth 1000000

no ip address

ip flow ingress

ip flow egress

duplex auto

speed auto

media-type rj45

no negotiation auto

no cdp enable

service-policy input INPUT-CLASSIFY

hold-queue 150 in

pantel-e3#show policy-map INPUT-CLASSIFY

  Policy Map INPUT-CLASSIFY

    Class VOIP-RTP

      set dscp ef

    Class VOIP-SIGNALLING

      set dscp cs3

    Class PREMIUM1-DATA

      set dscp cs2

    Class PREMIUM2-DATA

      set dscp af21

    Class SUPPRESSED-DATA

      set dscp af11

    Class MGMT

      set dscp cs1

    Class class-default

      set dscp default

class-map match-any VOIP-RTP

match protocol rtp

match protocol rtcp

match  precedence 5

match ip dscp ef

match  dscp ef

match protocol icmp

pantel-e3#sho policy-map interface gigabitEthernet 0/1 input class VOIP-RTP

GigabitEthernet0/1

  Service-policy input: INPUT-CLASSIFY

    Class-map: VOIP-RTP (match-any)

      33811608 packets, 2700668455 bytes

      5 minute offered rate 418000 bps, drop rate 0 bps

      Match: protocol rtp

        25278655 packets, 1873984333 bytes

        5 minute rate 331000 bps

      Match: protocol rtcp

        126490 packets, 19910003 bytes

        5 minute rate 2000 bps

      Match:  precedence 5

        7181406 packets, 699404911 bytes

        5 minute rate 64000 bps

      Match: ip dscp ef (46)

        0 packets, 0 bytes

        5 minute rate 0 bps

      Match:  dscp ef (46)

        0 packets, 0 bytes

        5 minute rate 0 bps

      Match: protocol icmp

        1225057 packets, 107369208 bytes

        5 minute rate 23000 bps

      QoS Set

        dscp ef

Hi!

I notify my mistake

Match:  precedence 5    this class was the first for ICMP DSCP EF

Thanks and excuse me !

Regards,

Hi,

so are the outputs from previous post correct ?

Do you have a device between the source and the router where you classify?

How did you make the pings have the correct Qos setting ?

Regards.

Alain

Don't forget to rate helpful posts.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco