cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2442
Views
25
Helpful
8
Replies

Test & Verify End To End QoS

ksbolton1
Level 1
Level 1

Hello everyone. 

 

I'm currently reading through the QoS config guide for 2960x switches. I've done some of the examples shown in that document but I'd like to know how I can verify each of the steps, i.e. classification (acls, class map, policy map), marking, policing, etc. I was hoping to find a debug command that would have shown traffic hitting criteria for the classifying step and then from there see the different policies applied but I have yet to find that. Are there counters I could possibly use at each stage to confirm that my tests are indeed successful? 

8 Replies 8

Dennis Mink
VIP Alumni
VIP Alumni

Use iperf. This will allow you to simulate traffic on certain ports and you can test if at least the dscp values are honoured. It will also allow you to fill up traffic clases. You can use wireshark as well as as secondary tool

Please remember to rate useful posts, by clicking on the stars below.

Thank you for the suggestion but it seems the manipulation of DSCP/TOS values for iPerf isn't being reflected. it's possibly because of restrictions on Windows preventing the changes from being seen at the remote or local end by Wireshark.

balaji.bandi
Hall of Fame
Hall of Fame

 

Adding to other post suggested.

Onec you build the connection you can use Ostinator for Packet generation, make sure they marked correctly

 

https://ostinato.org/

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

You can do it through TOS values , ping the exact TOS value like EF 46 Voice is 184etc , then check the QOS queue

#ping
Protocol [ip]:
Target IP address: 1.1.1.1
Repeat count [5]: 10
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface:
Type of service [0]: 184
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.
Sending 10, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 10/14/30 ms

It seems like I'll just have to get another IOS device to get this done via extended ping. How does one check the QoS queue though?

if its a 2960 its MLS so it would be , then look for DSCPO 46 queue/row below 45-49

sh mls qos interface fas0/3 statistics
FastEthernet0/3 (All statistics are in packets)

dscp: incoming
-------------------------------

0 - 4 : 0 0 0 0 0
5 - 9 : 0 0 0 0 0
10 - 14 : 0 0 0 0 0
15 - 19 : 0 0 0 0 0
20 - 24 : 0 0 0 0 0
25 - 29 : 0 0 0 0 0
30 - 34 : 0 0 0 0 0
35 - 39 : 0 0 0 0 0
40 - 44 : 0 0 0 0 0
45 - 49 : 0 0 0 0 0
50 - 54 : 0 0 0 0 0
55 - 59 : 0 0 0 0 0
60 - 64 : 0 0 0 0
dscp: outgoing
-------------------------------

0 - 4 : 58388248 387 1719 116 2380
5 - 9 : 0 0 0 0 0
10 - 14 : 0 0 7192 0 17113
15 - 19 : 0 0 0 9746 0
20 - 24 : 42 0 0 0 67
25 - 29 : 0 22053 0 0 0
30 - 34 : 0 0 0 0 0
35 - 39 : 0 0 0 0 0
40 - 44 : 0 0 0 0 0
45 - 49 : 0 21041 0 2173981 0
50 - 54 : 0 0 0 0 0
55 - 59 : 0 0 0 0 0
60 - 64 : 0 0 0 0
cos: incoming
-------------------------------

0 - 4 : 2 0 0 0 0
5 - 7 : 0 0 0
cos: outgoing
-------------------------------

0 - 4 : 83491558 43469 9788 22120 0
5 - 7 : 21041 2173981 224362
output queues enqueued:
queue: threshold1 threshold2 threshold3
-----------------------------------------------
queue 0: 2 0 21032
queue 1: 31841 35403202 30158959
queue 2: 0 0 60179449
queue 3: 0 24305 16017377

output queues dropped:
queue: threshold1 threshold2 threshold3
-----------------------------------------------
queue 0: 0 0 0
queue 1: 0 0 0
queue 2: 0 0 370
queue 3: 0 0 0

Policer: Inprofile: 0 OutofProfile: 0

I haven't been able to get Ostinato to read the interfaces on my test Windows PCs. It's quite odd, but I am using one of the older and free versions. I saw it work on my main machine but on none of my 3 test machines (actual hardware, not VMs). i'd rather not spend the time troubleshooting a supposed solution. Thank you.

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:

Review Cisco Networking products for a $25 gift card