Chinaunix首页 | 论坛 | 博客
  • 博客访问: 18123136
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-21 10:14:40

【方法】
(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的缩写

阅读(374) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~