cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
509
Views
0
Helpful
4
Replies

Bandwidth limiting,CB Policing clarification.

vlatkorun
Level 1
Level 1

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.

My configuration:

#policy-map bandwidth_limit

#class class-default

#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?

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Vladimir,

try to apply the same commands directly on interface fas2.

Hope to help

Giuseppe

Thanks for your suggestion, I tried to apply on fastethernet 2 but the result was the same.

I am realy want to know how can I conclude that the policing works,with which command,output etc., I can see the results.

Try:

show policy-map interface vlan #

or

show policy-map interface #

How to interpret counters:

http://www.cisco.com/en/US/tech/tk543/tk760/technologies_tech_note09186a0080108e2d.shtml

Joseph W. Doherty
Hall of Fame
Hall of Fame

"Shouldn't the input rate be below 2000000(2Mbps) because of the policing configured od the interface? "

Not for much non-TCP traffic, such as the UDP you're testing with. Even with TCP, the offered rate can be higher than the policed rate.

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