05-15-2012 08:09 AM - edited 03-04-2019 04:21 PM
Hi all, I have a cisco 1750 router running IOS 12.1.3.xt2. How can I stop bittorrent traffic?
I use E0 connected to a cable modem.
THanks
05-15-2012 10:11 AM
try this:
fire up NBAR on E0 and create a policy and apply it to E0, example below:
NJ-R1(config)#class-map match-any P2P
NJ-R1(config-cmap)#match protocol bittorrent
NJ-R1(config)#policy-map P2P
NJ-R1(config-pmap)#class P2P
NJ-R1(config-pmap-c)#drop
NJ-R1(config)#interface ethernet0
NJ-R1(config-if)#service-policy input P2P
---
Posted by WebUser Neeraj Jagga from Cisco Support Community App
05-15-2012 03:25 PM
You also need to have NBAR turned ON on the interface to match a protocol
class-map match-any p2p_bittorrent
match protocol bittorrent
policy-map pm_p2p_bittorrent
class p2p_bittorrent
drop
interface e0
ip nbar protocol-discovery
service-policy output pm_p2p_bittorrent
Note:
You are running an IOS version which is 12 years old! You may consider upgrading the software to the latest in 12.3 Main line release
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: