欢迎访客 ( 登陆 | 注册 )

论坛索引 | 最新主题 | 热门主题 | 搜索论坛 | 成员列表 | 在线帮助

 
如何在CISCO路由器中限制用户速度
« 上一篇主题 | 下一篇主题 » 跟踪主题 | 邮寄主题 | 打印主题
  gawxl 离线
1. 如何在CISCO路由器中限制用户速度
HP : 0 / 11
MP : 2 / 153
EXP : 47%
新手上路


成员等级: 1
发表总数: 6
金币总数: 25
所属组别: 普通成员
注册日期: 2004/07/22

我用了CISCO2611做NAT,但CISCO2611只有16M的内存,现在用户都在用BT下载电影,我如何限制各用户的下载速度呢?nbar为啥不起作用。
发表于2006/03/28, 11:46
     Top
  wyn_82 离线
2. Re:如何在CISCO路由器中限制用户速度
HP : 0 / 261
MP : 51 / 3946
EXP : 46%
武林奇才


成员等级: 11
发表总数: 154
金币总数: 272
所属组别: 普通成员
注册日期: 2003/11/11

用cisco专门的在路由器上封bt的bittorrent.pdlm就可以了
发表于2006/03/28, 12:46
     Top
  gawxl 离线
3. Re:如何在CISCO路由器中限制用户速度
HP : 0 / 11
MP : 2 / 153
EXP : 47%
新手上路


成员等级: 1
发表总数: 6
金币总数: 25
所属组别: 普通成员
注册日期: 2004/07/22

我做的CISCO路由器限制BT下载速度,不过好像没效果,我看了好半天,还是看不出来,大家帮我分析分析。
User Access Verification

Password:
gaweb>en
Password:
gaweb#sh conf
Using 2078 out of 29688 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname gaweb
!
enable secret 5 $1$v1Ah$bMKzttIcx/TV0AGAXGkku/
enable password 7 060506324F41
!
username Gongan password 7 052C0901264D40
username ga01 password 7 1410135B5D
username ga02
ip subnet-zero
ip cef
!
ip nbar pdlm bittorrent.pdlm
ip nbar pdlm eDonkey.pdlm
!
no ip domain-lookup
!
no ip bootp server
!
class-map match-any denyedonkey
match protocol edonkey
class-map match-all bit
match protocol bittorrent
!
!
policy-map limit-bit
class bit
police cir 8000
conform-action transmit
exceed-action drop
class denyedonkey
police cir 8000
conform-action transmit
exceed-action drop
!
!
!
!
interface FastEthernet0/0
ip address 0.0.0.1 255.255.255.0
ip nat inside
speed auto
full-duplex
service-policy input limit-bit
service-policy output limit-bit
no cdp enable
!
interface FastEthernet0/1
ip address 0.0.0.119 255.255.255.128
ip nat outside
no ip mroute-cache
duplex auto
speed auto
no cdp enable
!
interface Group-Async1
no ip address
shutdown
dialer in-band
dialer rotary-group 1
async dynamic routing
async mode dedicated
no peer default ip address
group-range 33 48
!
interface Dialer1
ip unnumbered FastEthernet0/0
encapsulation ppp
shutdown
dialer in-band
dialer idle-timeout 60000
peer default ip address pool dialpool
no cdp enable
ppp authentication pap
!
ip nat pool gadsweb 0.0.0.119 0.0.0.119 netmask 255.255.255.128
ip nat inside source list 1 pool gadsweb overload
ip nat inside source static tcp 0.0.0.203 1125 0.0.0.119 1125 extendabl
e
ip nat inside source static udp 0.0.0.203 1125 0.0.0.119 1125 extendabl
e
ip classless
ip route 0.0.0.0 0.0.0.0 0.0.0.1
no ip http server
ip pim bidir-enable
!
!
access-list 1 permit 0.0.0.0 0.0.0.255
no cdp run
!
line con 0
line 33 48
modem InOut
modem autoconfigure discovery
transport input all
speed 2400
line aux 0
line vty 0 4
password 7 094B42061B041B11021F072579727863
login
!
!
end

gaweb#
发表于2006/03/28, 14:32
     Top
  gawxl 离线
4. Re:如何在CISCO路由器中限制用户速度
HP : 0 / 11
MP : 2 / 153
EXP : 47%
新手上路


成员等级: 1
发表总数: 6
金币总数: 25
所属组别: 普通成员
注册日期: 2004/07/22

ip nbar pdlm bittorrent.pdlm
ip nbar pdlm eDonkey.pdlm
发表于2006/03/28, 14:33
     Top
主题评分
未评分. 匿名用户无权对主题进行评分
0 名会员正在浏览该主题 (0 名游客 和 0 名隐身会员)
0 名会员:
有 3 篇回复自 2006/03/28, 11:46 跟踪主题 | 邮寄主题 | 打印主题

<< Back to 网络世界

 




Powered by PhoenixBBS v1.2 © 2000-2003  NetBuddy.Org