Hi, All! Please, help to cope with the lack of understanding. I'm studing QoS. Here is my test lab configuration:
(PC1) -> (E0/1 - E0/0) -> (PC2)
ip access-list extended UDP-ACL
permit udp any any
class-map match-all UDP-CLASS
match access-group name UDP-ACL
bandwidth percent 33
bandwidth percent 66
ip address 172.22.3.61 255.255.255.0
service-policy output BANDWIDTH-TEST
I'm running bandwidth test from PC1 to PC2 through router's E0/0 interface. PC1 is attached to E0/1. There is no policy on E0/1. PC1 is traffic generator, PC2 is traffic reciver and measurer. One bandwidth test thread is running via TCP, another via UDP.
This is my results:
UDP ~ 7,7 Mbit/s
TCP ~ 336 Kbit/s
But i think there is will be about 3,3 Mbits/s (66% of 5Mbit/s) for TCP. Why so? When i'm using nested policies with shaper attached to topmost policy - all is ok.