How to configure ip speed limit for a Cisco Router

Source: Internet
Author: User

2811 vro. This experiment is done in two ways, each of which has its own characteristics.

First look at the flash of the router:

Yourname # dir

Directory of flash :/

1-rw-25438028 Oct 22 2010 02:25:58 + c2800nm-ipbase-mz.124-15.T.bin

2-rw-1505280 Oct 22 2010 02:26:08 + common.tar

3-rw-931840 Oct 22 2010 02:26:16 + es.tar

4-rw-1038 Oct 22 2010 02:26:20 + home.shtml

5-rw-112640 Oct 22 2010 02:26:26 + home.tar

6-rw-415956 Oct 22 2010 02:26:34 + sslclient-win-1.1.4.176.pkg

7-rw-2748 Oct 22 2010 02:26:38 + sdmconfig-2811.cfg

8-rw-35316 Apr 5 2011 06:09:42 + crashinfo_20110405-060943

9-rw-42068 Apr 5 2011 06:30:26 + crashinfo_20110405-063027

128733184 bytes total (100229120 bytes free)

The following is the experiment process.

Access-list 102 permit ip 192.168.1.0 0.0.255 any

Access-list 102 permit ip any 192.168.1.0 0.0.255

Step 2: define class-map and call the ACL in step 1

Class-map match-all 102

Match access-group 102

Step 3: Define policy-map, call class-map, and limit the speed

Policy-map 102

Class 102

Police 256000 8000 conform-action transmit exceed-action drop

Step 4: Apply policy-map to the interface

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.