cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
632
Views
0
Helpful
4
Replies

My NBAR peer-to-peer config

patsbc
Level 1
Level 1

I built a config to rate shape P2P traffic on my network to 30k/s. I thought it would be useful for people who are looking to limit peer-peer traffic inside their company. If you have any additions or other ideas, let me know.

This is on a Cisco 1751 with IOS 12.3(4)T6. Later versions of 12.3 has newer PDLMs so you don't have to download them.

You will need to apply it to a interface by using the "service-policy output" command, also you need to have "ip nbar protocol-discovery" turned on the interface to get statistics.

!

ip nbar custom bittorrent tcp range 6881 6889

!

class-map match-any Peer2Peer

description QoS class map for Peer 2 Peer applications

match protocol gnutella

match protocol fasttrack

match protocol kazaa2

match protocol napster

match protocol bittorrent

!

!

policy-map Peer2PeerPolicy

description Throttle P2P applications

class Peer2Peer

shape peak 384000

!

4 Replies 4

Ezequiel Pineda
Level 1
Level 1

Hi,

How do i apply this class-map to an interface?

If i have a few servers on the same vlan, can i apply it to the vlan instead of the individual switch ports?

Best Regards and thanks for any feedback.

Ezequiel

9 yrs old thread, unlikely the OP is still following it.

Hi again,

Ideas please on how to apply this to an interface?

Thanks

Ezequiel

Avoid NBAR, it's obsolete stuff without practical use.