Cisco公司对BT封锁的方法 - 我的文章 - mysql,linux58905

来源:百度文库 编辑:神马文学网 时间:2024/04/27 11:44:22
Cisco公司对BT封锁的方法
用户疯狂bt(p2p软件)对网络的使用造成了极大危害,目前常用的办法是:
方法1、采用公司的nbar来限制;
配置步骤如下:
------------定义Class-map-------------;
!
class-map match-all bittorrent
match protocol bittorrent
class-map match-all edonkey
match protocol edonkey
!
注意:如果match protocol命令里没有bittorrent、edonkey选项,那么说明你的IOS版本还没有包括此,此时你需要到网站上bittorrent.pdlm、edonkey.pdlm文件,上传到器上,然后定义这种:
ip nbar pdlm bittorrent.pdlm
ip nbar pdlm edonkey.pdlm)
------------定义policy-map-------------;
!
policy-map limit-bt
class bittorrent
drop
class edonkey
drop
!
------------应用到接口上--------------;
!
interface f0/0
service-policy input limit-bt
service-policy output limit-bt
!
说明:这种方法使用后对一些p2p软件确实起作用,但目前Cisco只定义了少数几个(bittorrent、edonkey、kazaa2、gnutella、napster、winmx、fasttrack等),不能覆盖所有的此类软件,这有待于Cisco的继续努力;
 
[1]
【责编:Kittoy】