Cisco公司對BT封鎖的方法
用戶(hù)瘋狂bt(p2p軟件)對網(wǎng)絡(luò )的使用造成了極大危害,目前常用的辦法是:
方法1、采用公司的nbar來(lái)限制;
配置步驟如下:
------------定義Class-map-------------;
!
class-map match-all bittorrent
match protocol bittorrent
class-map match-all edonkey
match protocol edonkey
!
注意:如果match protocol命令里沒(méi)有bittorrent、edonkey選項,那么說(shuō)明你的IOS版本還沒(méi)有包括此,此時(shí)你需要到網(wǎng)站上bittorrent.pdlm、edonkey.pdlm文件,上傳到器上,然后定義這種:
ip nbar pdlm bittorrent.pdlm
ip nbar pdlm edonkey.pdlm)
------------定義policy-map-------------;
!
policy-map limit-bt
class bittorrent
drop
class edonkey
drop
!
------------應用到接口上--------------;
!
interface f0/0
service-policy input limit-bt
service-policy output limit-bt
!
說(shuō)明:這種方法使用后對一些p2p軟件確實(shí)起作用,但目前Cisco只定義了少數幾個(gè)(bittorrent、edonkey、kazaa2、gnutella、napster、winmx、fasttrack等),不能覆蓋所有的此類(lèi)軟件,這有待于Cisco的繼續努力;
[1]
【責編:Kittoy】
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請
點(diǎn)擊舉報。