understanding interface traffic counters of Cisco router
I made a following setup:
"Setup with Juniper router" uses Juniper router and "Setup with Cisco router" uses Cisco router. Both computers sent data(Iperf sends 1470 byte datagrams) for 300 seconds at 9Mbps. As you can see, in case of Cisco router and switch, the difference is 0.3%(actually I did multiple tests with different bandwidth values and test lengths and difference was always 0.3%). In case of Juniper router, the difference between Cisco switch interface traffic counters and Juniper router interface traffic counters were 1.2% - 1.3%.
While in case of Juniper router and Cisco switch this 1.2% - 1.3% difference makes sense because Juniper router probably counts only up to IP header and switch includes L2 header as well, but what might cause this 0.3% difference in case of Cisco router and Cisco switch?
"Setup with Juniper router" uses Juniper router and "Setup with Cisco router" uses Cisco router. Both computers sent data(Iperf sends 1470 byte datagrams) for 300 seconds at 9Mbps. As you can see, in case of Cisco router and switch, the difference is 0.3%(actually I did multiple tests with different bandwidth values and test lengths and difference was always 0.3%). In case of Juniper router, the difference between Cisco switch interface traffic counters and Juniper router interface traffic counters were 1.2% - 1.3%.
While in case of Juniper router and Cisco switch this 1.2% - 1.3% difference makes sense because Juniper router probably counts only up to IP header and switch includes L2 header as well, but what might cause this 0.3% difference in case of Cisco router and Cisco switch?
Comments
-
vinbuck Member Posts: 785 ■■■■□□□□□□If you're saying that an iperf test that runs for a specified period of time is slightly faster on a switch as opposed to a router, I would definitely believe that, especially using an 1841 router vs a 3750 switch. Within Cisco's enterprise lineup, I would expect a layer 3 switch to outperform a branch router in throughput.Cisco was my first networking love, but my "other" router is a Mikrotik...
-
ipSpace Member Posts: 147Hello,
Can you explain a little bit the problem ?
Thank you.
My Network & Security Blog with a focus on Fortigate. New post on how to create a fortigate ssl vpn.