cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
99931
Views
70
Helpful
4
Replies

Extended ping ToS Value

lmessenger
Beginner
Beginner

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

1 Accepted Solution

Accepted Solutions

michael_davis
Enthusiast
Enthusiast

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.

View solution in original post

4 Replies 4

michael_davis
Enthusiast
Enthusiast

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.

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.

Just multiply decimal dscp by 4.

qz01593986
Beginner
Beginner

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.

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: