【方法】
(1)在Cisco网站上下载一个叫:bittorrent.pdlm的文件
(2)上传到路由器上(可以通过TFTP,FTP etc等方法)
(3)定义bt这种协议
ip nbar pdlm bittorrent.pdlm
(4)定义Class-map和policy-map
&n
bsp; class-map mathc-all bittorent
match protocol bittorrent
policy-map bittorrent-policy
class bittorrent
drop
(5)应用到接口上
interface fastethernet 0/0
service-policy input bittorrent-policy
service-policy output bittorrent-policy
Over
【补充】NBAR是Network-Based Application Recognition的缩写
PDLM是Packet Description Language Module的缩写
转载地址:http://www.net130.com/CMS/Pub/Tech/tech_instance/155144.htm