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

Extended Ping and determine ToS fields in the receiving router

Gerard Gacusan
Level 1
Level 1

Here's a simple scenario:

R1 <---->R2

R1 - f0/0  - 172.16.10.1/24

R1 - s1/0 -  10.10.1.1/30

R2 - f0/0 - 172.17.10.1/24

R2 - s1/0 - 10.10.1.2/30

From R1 f0/0, I used extended ping and sends traffic destined to R2 f0/0 with ToS value of 184 or 0xB8. This is an EF Voice traffic actually. How should I determine in R2 that I receive same marking as EF? In R2, debug ip packet detail doesn't give me an info about the type of codes ...any idea?

oh, I had the LLQ QoS policy in R1  s1/0 outbound.

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Ggbmsol2004,

on R2 you can use an ACL or a service policy applied inbound

example:

class checkEF

match dscp ef

policy  countEF

class checkEF

police 10000000 conform-action transmit exceed-action transmit

class default

int ser1/0

service-policy input countEF

you can then use

show policy-map interface

it provides counters for each class defined in countEF policy-map

Hope to help

Giuseppe

View solution in original post

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Ggbmsol2004,

on R2 you can use an ACL or a service policy applied inbound

example:

class checkEF

match dscp ef

policy  countEF

class checkEF

police 10000000 conform-action transmit exceed-action transmit

class default

int ser1/0

service-policy input countEF

you can then use

show policy-map interface

it provides counters for each class defined in countEF policy-map

Hope to help

Giuseppe

Hello Giuseppe,

Oh i got yah ...So, an inbound policy-map in R2 s1/0 matching an EF traffic. Make sense ...

I'll try this now. Thanks for a quick response.

-Gerard

For documentation purposes using ACL method and this one works too !

int s1/0

ip access-group CHECK-IN in

ip access-list extended CHECK-IN
permit ip any any dscp ef
permit ip any any dscp default
permit ip any any dscp af11
permit ip any any dscp af12
permit ip any any dscp af13
permit ip any any dscp af21
permit ip any any dscp af22
permit ip any any dscp af23
permit ip any any dscp af31
permit ip any any dscp af32
permit ip any any dscp af33
permit ip any any dscp af41
permit ip any any dscp af42
permit ip any any dscp af43
permit ip any any dscp cs1
permit ip any any dscp cs2
permit ip any any dscp cs3
permit ip any any dscp cs4
permit ip any any dscp cs5
permit ip any any dscp cs6
permit ip any any dscp cs7
permit ip any any

R2#Show access-list

Extended IP access list CHECK-IN
    10 permit ip any any dscp ef (5 matches)
    20 permit ip any any dscp default (5 matches)

    30 permit ip any any dscp af11
    40 permit ip any any dscp af12
    50 permit ip any any dscp af13
    60 permit ip any any dscp af21
    70 permit ip any any dscp af22
    80 permit ip any any dscp af23
    90 permit ip any any dscp af31
    100 permit ip any any dscp af32
    110 permit ip any any dscp af33
   120 permit ip any any dscp af41 (15 matches)