RSS
热门关键字:  pemu  gns3  cisco  GNS
当前位置 : 主页>网络安全>

如何在CISCO路由器上禁止BT下载

来源:Let's gotolab! 作者:兜兜里有糖 时间:09-02 21:09:52 浏览: Tag:cisco   bt   download  

方法有多种,常见的有:
  1、找出ip做端口限速(这样做比较麻烦)
  2、用NBAR(非常好用)

  但是重新启动需要重新调用 tftp://130.130.122.123/bittorrent.pdlm 这个文件,所以还是用flash卡比较好。如果不调用文件,那就会发生没有match bittorrent

ip nbar pdlm tftp://130.130.122.123/bittorrent.pdlm

class-map match-all bit
  match 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


最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名评论
立即注册账号
赞助商链接