星期二, 三月 13, 2007

封电骡和BT都可以的写法

刚刚做了一个电驴和BT的,只是可惜对于EMULE,虽然国外的BBS上说EDONKEY最新version2.0的包括了emule,可我实验了一下,不行,只能对edonkey本身有用.
ip nbar pdlm bittorrent.pdlm
ip nbar pdlm eDonkey.pdlm

class-map match-any bittorrent
match protocol bittorrent
match protocol edonkey
!
!
policy-map bittorrent-policy
class bittorrent
drop
!

是match-any 不是用match-all

match-all Logical-AND all matching statements under this classmap
match-any Logical-OR all matching statements under this classmap

没有评论: