如何在CISCO路由器上禁止BT下載
方法有多種,常見的有:
1、找出ip做端口限速(這樣做比較麻煩)
2、用NBAR(非常好用)
但是重新啟動需要重新調(diào)用 tftp://130.130.122.123/bittorrent.pdlm 這個文件,所以還是用flash卡比較好。如果不調(diào)用文件,那就會發(fā)生沒有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
相關(guān)文章
網(wǎng)絡(luò)路由技術(shù)及運(yùn)用2
網(wǎng)絡(luò)路由技術(shù)及運(yùn)用2...2007-09-09新手架設(shè)魔獸單機(jī)和局域網(wǎng)服務(wù)器教程
新手架設(shè)魔獸單機(jī)和局域網(wǎng)服務(wù)器教程...2007-09-09