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

Extended ping ToS Value

Hi,

I'm trying to do an extended ping across an IP network. I want to be able to set the Type of Service of the packets to the same as that of our VoiP packets, which are tagged with DSCP EF.

What Type of Service value should I use to achieve this.

Also, the ToS values for DSCP AF31 and AF32 would be helpful too if possible

Thanks

Lee

3 REPLIES

Re: Extended ping ToS Value

Hi Lee,

Here's the mapping you will need. "=" means something like "maps to" or "is equivelent to".

ef = dscp 46 = 101110 = tos 0xb8 (184) = ip prec 5

af31 = dscp 26 = 011010 = tos 0x68 (104) = ip prec 3

af32 = dscp 28 = 011100 = tos 0x70 (112) = ip prec 3

cs3 = dscp 24 = 011000 = tos 0x60 (96) = ip prec 3

You'll want to use the decimal tos values (in parenthesis) for your e-pings.

Let me know if this helps by rating the post.

Community Member

Re: Extended ping ToS Value

Hi Lee and Michael.

Should anyone need values other than these, the simple way of calculating them is to put your binary representation of the value into your calculator (scientific view)and append two zero's to the end.

eg 101110 becomes 10111000.

I believe this is becuase the Cisco extended ping interprets all 8 bits in the field, not just the leading 6.

Hope it is helpful.

Community Member

Re: Extended ping ToS Value

voice_gw#ping ip

Target IP address: 144.122.216.58

Repeat count [5]: 100

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: 144.44.88.21

Type of service [0]: 184 --->dscp is ef

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

Type escape sequence to abort.

64775
Views
55
Helpful
3
Replies
CreatePlease to create content