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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

extended ping ToS value ?

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
Purple

Re: extended ping ToS value ?

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

1784
Views
0
Helpful
1
Replies
CreatePlease to create content