This is a lab enviroment.The network diagram is in the attachment.PC1 is in Vlan2.The Cisco router has a default route set:
ip route 0.0.0.0 0.0.0.0 192.168.1.1.
I want to limit the bandwidth, input & output, on Vlan 2 interface to 2 Mbps only.
#police 2000000 conform-action transmit exceed-action drop
#int vlan 2
#service-policy input bandwidth_limit
#service-policy output bandwidth_limit
Now, as i understanded well what does CB Policing does, traffic from PC1 if does not exceed 2Mbps will be transmited
and packets that exceed 2Mbps will be droped,having this configuration on the router.
I use the Wan Killer utility, from SolarWinds Engineer Toolset, to generate 7Mbps from PC1(this info is from Network Limiter Bandwidth Monitor) traffic(UDP 7 Echo segments)to destination IP 192.168.1.1.
When I run #show int vlan 2 :
5 minute input rate 4147000 bits/sec,410 packets/sec
5 minute output rate 144000 bits/sec, 14 packets/sec
Shouldn't the input rate be below 2000000(2Mbps) because of the policing configured od the interface?