/sbin/tc qdisc add dev vm01 root handle 11: cbq bandwidth 100Mbit avpkt 1000 mpu 64
/sbin/tc class add dev vm01 parent 11:0 classid 11:1 cbq rate 1.5Kbit weight 1.5Kbit allot 1514 prio 1 avpkt 1000 bounded
/sbin/tc filter add dev vm01 parent 11:0 protocol ip handle 4 fw flowid 11:1
When i do a qdisc show and class show, it shows me the information.
tc -s -d qdisc show dev vm01; tc -s -d class show dev vm01
qdisc cbq 11: rate 100Mbit cell 8b mpu 64b (bounded,isolated) prio no-transmit/8 weight 100Mbit allot 1514b
level 1 ewma 5 avpkt 1000b maxidle 2us
Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0)
borrowed 0 overactions 0 avgidle 65 undertime 0
class cbq 11: root rate 100Mbit cell 8b mpu 64b (bounded,isolated) prio no-transmit/8 weight 100Mbit allot 1514b
level 1 ewma 5 avpkt 1000b maxidle 2us
Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0)
borrowed 0 overactions 0 avgidle 65 undertime 0
class cbq 11:1 parent 11: rate 187bit cell 8b (bounded) prio 1/1 weight 192bit allot 1514b
level 0 ewma 5 avpkt 1000b maxidle 2us
Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0)
borrowed 0 overactions 0 avgidle 0 undertime 0
When traffic flows through the interface vm01 and a watch is placed on the above results, it shows traffic is flowing however the restrictions placed by the commands don't seem to be working. No matter what i use, the interface is able to get the max bandwidth available.
Can anyone please help me in getting this right ?
Thanks.
--
regards,
Anand Gupta
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc