Displaying 1 result from an estimated 1 matches for "egpolicer".
2007 Feb 19
0
Absolute Maximal Bandwidth
...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 ($egpolicer));
class (<$web>) if (tcp_dport == 80 && SLB_ok ($egpolicer));
class (<$oth>) if SLB_ok ($egpolicer); /* classify to oth if
max bw not exce...