Traffic shaping for Bit Torrent Traffic

From: Joshua <joshualixin_at_gmail.com>
Date: Wed, 23 Jun 2010 08:35:46 -0700

 As an local ISP, we have some customers that are heavy Bit Torrent
users. We want to proactively put in place a bandwidth shaping
solution so that our other users are not impacted. Unfortunately, we
do not have Cisco NBAR capable routers. We have tried to shape
standard ports that BT uses with the following commands in our Edge
router (7606) on gi6/6 which is the port to our upstream provider:

conf t

ip access-list extended BT_Shape_Test
 permit tcp any any range 6881 6999
!
class-map BT_Shape
 match access-group name BT_Shape_Test
!
policy-map BT_Shape_Test
 class BT_Shape
   police cir 32000 bc 32000 be 32000 conform-action transmit
exceed-action drop violate-action drop
!
int gi6/6
 service-policy input BT_Shape_Test
 service-policy output BT_Shape_Test

I can confirm that this shaping does in fact work, however, this made
no impact on our bandwidth usage as BT clients use such random ports.
If you have any thoughts or ideas, I would be glad to hear them.

Thanks,
Joshua

-- 
Sent from my mobile device
Blogs and organic groups at http://www.ccie.net
Received on Wed Jun 23 2010 - 08:35:46 ART

This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 09:11:38 ART