Cisco认证基础之Cisconbar限制BT方法(1)

网络
本文介绍了限制bt(p2p软件)的一个方法,其实限制BT的方法不止这一种,我们的文章也介绍过,具体采用哪种方法只能您根据自己网络的状况来定,当然也可以将几种方法结合起来使用。

采用Cisco公司的nbar来限制BT

配置步骤如下:

------------定义Class-map-------------;

  1. class-map match-all bittorrent
  2. match protocol bittorrent
  3. class-map match-all edonkey
  4. match protocol edonkey

注意:如果match protocol命令里没有bittorrent、edonkey选项,那么说明你的IOS版本还没有包括此协议,此时你需要到Cisco网站上下载bittorrent.pdlm、edonkey.pdlm文件,上传到路由器上,然后定义这种协议:

ip nbar pdlm bittorrent.pdlm

ip nbar pdlm edonkey.pdlm

------------定义policy-map-------------;

  1. policy-map limit-bt
  2. class bittorrent
  3. drop
  4. class edonkey
  5. drop

------------应用到接口上--------------;

  1. interface f0/0
  2. service-policy input limit-bt
  3. service-policy output limit-bt

说明:这种方法使用后对一些p2p软件确实起作用,但目前Cisco只定义了少数几个协议(bittorrent、edonkey、 kazaa2、gnutella、napster、winmx、fasttrack等),不能覆盖所有的此类软件,这有待于Cisco的继续努力。

限制BT的其他方法请阅读:

Cisco认证基础之Cisconbar限制BT方法(2)

Cisco认证基础之Cisconbar限制BT方法(3)

【编辑推荐】

  1. cisco路由器之关闭一些不必要的服务 上篇
  2. 思科基础知识:管理Cisco互联网络(1)
  3. 思科基础知识:Cisco IOS简介(1)
  4. Cisco基础之网际互连
责任编辑:佚名 来源: 中华教育网
相关推荐

2011-07-14 11:12:47

限制BT

2011-07-14 11:03:22

2011-05-31 10:14:16

网际互连桥接器路由器

2010-08-03 09:47:47

路由器

2009-09-24 15:02:26

Cisco认证

2009-12-21 10:54:08

WCF认证

2010-08-17 13:21:00

CiscoCCA认证

2011-05-31 13:15:05

路由器IOSCisco

2011-03-15 15:33:26

IPtablesBT电驴

2011-04-02 17:20:44

vlan

2010-01-06 14:40:01

2010-08-06 14:33:37

思科路由器端口限制

2010-05-26 11:34:09

CCIECISSPCompTIA A+

2011-07-14 10:54:38

2013-08-27 09:47:09

QOS限速思科交换机

2009-09-16 14:45:53

CCNA重难点

2011-06-01 13:51:11

Cisco路由器寄存器

2009-04-15 09:46:29

思科认证考试经验

2010-08-26 16:14:54

Cisco认证

2009-07-01 11:45:42

Cisco认证心得
点赞
收藏

51CTO技术栈公众号