cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4157
Views
0
Helpful
1
Replies

extended ping ToS value ?

pverstegen
Level 1
Level 1

Hi,

Does anyone know wat to fill in on the ToS field of an extended ping ?

Core-2#ping vrf test-network

Protocol [ip]:

Target IP address: <removed>

Repeat count [5]: 1000

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: <removed>

Type of service [0]: ???????

I would like to simulate dscp EF traffic.

1 Reply 1

pkhatri
Level 11
Level 11

hi,

The TOS value refers to the full value of the TOS byte of the IP header. It can be specified either in decimal or hex. The TOS value for DSCP is 184 in decimal. Since EF is binary 101110, the full TOS value is 101111000 which is decimal 184, or in hex 0xB8.

When using the decimal value, just provide the number. When using the hex value, prefix it with '0x'.

You can work the rest of the values out in the same way.

Hope that helps - pls rate posts that help.

Regards,

Paresh