Displaying 1 result from an estimated 1 matches for "inpolicer".
Did you mean:
egpolicer
2007 Feb 19
0
Absolute Maximal Bandwidth
...olute (to the nearest few 100kb/s) bandwidth usage maximum. As an example
I might have 200MBit/sec "agreed" bandwidth, and the ability to go up to
500MBit/sec if I wish. Anything past 200MBit/sec invokes a huge cost.
Example tcc script (might contain typos):
dev eth0 {
ingress
{
$inpolicer = SLB ( cbs 100kB, cir 200Mbps );
class (<$whatever>) if SLB_ok ($policer);
drop if 1; /* Drop the traffic exceeding the 200mbit rate */
}
egress
{
$egpolicer = SLB (cbs 100kB, cir 200Mbps );
class (<$ftp>) if (ip_dst == 10.1.1.1 && tcp_dport == 21 &&
SLB_ok (...