【it168技術】2811路由器來完成,本實驗分兩種方法來做,各有特點。
先看下路由器的flash:
yourname#dir
directory of flash:/
1 -rw- 25438028 oct 22 2010 02:25:58 +00:00 c2800nm-ipbase-mz.124-15.t.bin
2 -rw- 1505280 oct 22 2010 02:26:08 +00:00 common.tar
3 -rw- 931840 oct 22 2010 02:26:16 +00:00 es.tar
4 -rw- 1038 oct 22 2010 02:26:20 +00:00 home.shtml
5 -rw- 112640 oct 22 2010 02:26:26 +00:00 home.tar
6 -rw- 415956 oct 22 2010 02:26:34 +00:00 sslclient-win-1.1.4.176.pkg
7 -rw- 2748 oct 22 2010 02:26:38 +00:00 sdmconfig-2811.cfg
8 -rw- 35316 apr 5 2011 06:09:42 +00:00 crashinfo_20110405-060943
9 -rw- 42068 apr 5 2011 06:30:26 +00:00 crashinfo_20110405-063027
128733184 bytes total (100229120 bytes free)
以下是實驗過程
access-list 102 permit ip 192.168.1.0 0.0.0.255 any
access-list 102 permit ip any 192.168.1.0 0.0.0.255
第二步:定義class-map ,呼叫第一步的acl
class-map match-all 102
match access-group 102
第三步:定義policy-map,呼叫class-map,做速率限制
policy-map 102
class 102
police 256000 8000 conform-action transmit exceed-action drop
第四步:把policy-map應用到介面上
inte***ce fastethernet0/1
service-policy input 102
service-policy output 102
*apr 5 06:24:04.023: %ip_vfr-4-frag_table_overflow: fastethernet0/1: the fragment table has reached its maximum threshold 16
fastethernet0/1
service-policy input: 102
class-map: 102 (match-all)
2746 packets, 672324 bytes
5 minute offered rate 20000 bps, drop rate 0 bps
match: access-group 102
police:
cir 256000 bps, bc 8000 bytes
conformed 2746 packets, 672324 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 90000 bps, exceed 0 bps
class-map: class-default (match-any)
13407 packets, 1753107 bytes
5 minute offered rate 49000 bps, drop rate 0 bps
match: any
service-policy output: 102
class-map: 102 (match-all)
3506 packets, 2954143 bytes
5 minute offered rate 68000 bps, drop rate 44000 bps
match: access-group 102
police:
cir 256000 bps, bc 8000 bytes
conformed 2243 packets, 1195420 bytes; actions:
transmit
exceeded 1263 packets, 1758723 bytes; actions:
drop
在路由器上面按IP限速
it168技術 2811路由器來完成,本實驗分兩種方法來做,各有特點。先看下路由器的flash yourname dir directory of flash 1 rw 25438028 oct 22 2010 02 25 58 00 00 c2800nm ipbase mz.124 15.t.bi...
小公尺路由器怎麼限速 小公尺路由器給裝置限速的教程
由於家裡的無線路由器有很szvcwddv多人在使用,但大家都用它來 或看電影了這樣就影響到我正常的工作了,那麼我們有沒有辦法來限制一些人的速度呢,下面就看一下如何限速吧 1 開啟瀏覽器在電腦中位址列輸入頁面,如圖所szvcwddv示 2 輸入管理員密碼後,在首頁會顯示實時網速,及連線小公尺路由器的終...
介紹Cisco路由器
多數cisco路由器產品執行cisco ios作業系統,它是專有作業系統,與linux無關。它的命令集相當大,全部文獻加起來會佔4.5英呎長的書架。我們肯定不會在此詳細介紹cisco ios,但知道一點基本知識還是有好處的。telnet acme gw.acme.com connected to a...