Cisco路由器进行ip限速的配置方法

网络 路由交换
2811路由器来完成,本实验分两种方法来做,各有特点。

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应用到接口上

interface 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

责任编辑:遗忘者 来源: 西部在线
相关推荐

2011-09-14 17:16:14

2011-09-05 11:24:26

Cisco路由器限速CEF

2009-12-03 14:30:30

Cisco路由器限速

2009-11-26 11:25:25

Cisco路由器配置

2009-12-17 17:05:03

Cisco路由器配置

2009-12-21 15:49:44

Cisco路由器

2009-11-27 13:02:05

Cisco路由器里SN

2011-04-01 16:03:18

IOS路由器

2009-11-24 09:58:27

Cisco无线路由器配宽带路由器

2011-08-15 10:30:54

路由器限速路由器

2009-04-14 09:48:00

cisco路由器配置

2009-12-21 15:47:50

路由器配置

2009-12-11 15:21:15

华为路由器CISCO路由器

2010-08-26 09:55:25

Cisco路由器DHCP

2010-08-06 10:21:38

路由器配置

2010-07-30 15:59:44

配置

2010-08-03 11:35:06

2010-08-04 13:27:07

路由器配置

2012-03-20 10:05:57

Cisco路由器路由器DNS

2012-03-02 14:17:03

点赞
收藏

51CTO技术栈公众号