找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3218|回复: 0

[转帖]在CISCO路由器上禁止BT下载

[复制链接]
发表于 2004-11-8 13:28:56 | 显示全部楼层 |阅读模式
  方法有多种,常见的有:
  1、找出ip做端口限速(这样做比较麻烦)
  2、用NBAR(非常好用)
  但是重新启动需要重新调用 tftp://130.130.122.123/bittorrent.pdlm 这个文件,所以还是用flash卡比较好。如果不调用文件,那就会发生没有match protocol bittorrent
ip nbar pdlm tftp://130.130.122.123/bittorrent.pdlm
class-map match-all bit
   match protocol bittorrent
policy-map limit-bit
  class bit
   police cir 240000
      conform-action transmit
      exceed-action drop

police cir 8000
  conform-action   transimit
  exceed-action drop
interface fastethernet 0/1
   service-policy input limit-bit (下载)
   service-policy output limit-bit(上传)
   ip nat outside
interface fastethernet 0/0
   ip nat inside
ip nat inside list 1 pool nbar-pool overload
access-list 1 permit any
ip nat pool nbar-pool

8000 < 1k
80000 < 4k 5k, 5k 5k
160000 < 16K, 13K
240000  <=22k, 24K
800000 <=80K <100K
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|宽带技术网 |网站地图

粤公网安备 44152102000001号

GMT+8, 2024-5-6 22:04 , Processed in 0.021363 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表