国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

關于7206VXR路由器上如何防范BT

2019-11-05 01:00:42
字體:
來源:轉載
供稿:網友

  首先路由器的IOS版本滿足條件(12.2(5)T以上)

有幾種方式:

1、 對于BT完全限制 ( 見下例policy-map XX的不同部分)(采用NBAR)
2、 對于BT的速率進行限制(見下例policy-map XX的不同部分)(采用NBAR)
3、 通過優先級隊列完成

一、有地址轉換的情況:

ip nbar pdlm bootFlash:bittorrent.pdlm (必須先啟動)
class-map match-all bt
match PRotocol bittorrent
!
!
policy-map bt1 (完全丟棄)
class bt
drop
policy-map bt2 (速率限制)
class bt
police cir 50000
conform-action transmit
exceed-action drop
policy-map bt3 (速率限制)
class bt
police cir 300000
conform-action transmit
exceed-action drop
interface FastEthernet0/0
ip address 192.168.34.240 255.255.255.0
ip nat outside
ip virtual-reassembly
service-policy input bt3 (下載限制)
service-policy output bt2 (上傳限制)
duplex full
!
interface FastEthernet1/0
ip address 192.168.101.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex full
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.34.1
!
no ip http server
!
ip nat pool pool1 192.168.34.240 192.168.34.240 netmask 255.255.255.0
ip nat inside source list 1 pool pool1 overload
!
access-list 1 permit any

二、沒有地址轉換:

ip nbar pdlm bootflash:/bittorrent.pdlm

class-map match-all bt
match protocol bittorrent
!
!
policy-map bt2
class bt
police cir 160000
conform-action transmit
exceed-action drop
policy-map bt3
class bt
police cir 240000 bc 60000 pir 350000
conform-action transmit
exceed-action drop
policy-map bt1
class bt
drop
!
!
!
!
interface Loopback0
no ip address
no ip route-cache
!
interface FastEthernet0/0
ip address 192.168.101.1 255.255.255.0
duplex full
!
interface FastEthernet1/0
ip address 192.168.102.254 255.255.255.0
service-policy input bt3
service-policy output bt2
ip route-cache policy
duplex full
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.102.1

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 确山县| 颍上县| 凉山| 南阳市| 巴彦淖尔市| 泰和县| 板桥市| 黄陵县| 白山市| 克东县| 博湖县| 临桂县| 登封市| 阿克苏市| 罗江县| 泰州市| 于田县| 岚皋县| 牙克石市| 边坝县| 长乐市| 通城县| 灵璧县| 宁波市| 清流县| 白山市| 黄龙县| 井冈山市| 田阳县| 卢氏县| 永城市| 黑龙江省| 青川县| 和龙市| 辛集市| 泌阳县| 阿勒泰市| 蛟河市| 大安市| 莲花县| 阿合奇县|