Control rate-limit through ACL

Source: Internet
Author: User
InterfaceHssi000description45MbpstoR2rate-limitoutputaccess-group101200000002400032000conform-actionset-prec-transmit5exceed-actionset-prec-transmit0rate-limitoutputaccess-group102100000002400032000conform-actio

Interface Hssi0/0/0 description 45 Mbps to R2 rate-limit output access-group 101 20000000 24000 32000 conform-action set-prec-transmit 5 exceed-action set-prec-transmit 0 rate- limit output access-group 102 10000000 24000 32000 conform-actio

Interface Hssi0/0/0

Description 45 Mbps to R2

Rate-limit output access-group 101 20000000 24000 32000 conform-action set-prec-

Transmit 5 exceed-action set-prec-transmit 0

Rate-limit output access-group 102 10000000 24000 32000 conform-action

Set-prec-transmit 5 exceed-action drop

Rate-limit output 8000000 16000 24000 conform-action set-prec-transmit 5

Exceed-action drop

Ip address 10.1.0.9 255.255.255.0

!

Access-list 101 permit tcp any eq www

Access-list 102 permit tcp any eq ftp

To verify the configuration and monitor CAR statistics, use the show interfaces rate-limit command:

Router # show interfaces hssi 0/0/0 rate-limit

Hssi0/0/0 45 Mbps to R2

Input

Matches: access-group 101

Params: 20000000 bps, 24000 limit, 32000 extended limit

Conformed 3 packets, 189 bytes; action: set-prec-transmit 5

Exceeded 0 packets, 0 bytes; action: set-prec-transmit 0

Last packet: 309100 ms ago, current burst: 0 bytes

Last cleared 00:08:00 ago, conformed 0 bps, exceeded 0 bps

Matches: access-group 102

Params: 10000000 bps, 24000 limit, 32000 extended limit

Conformed 0 packets, 0 bytes; action: set-prec-transmit 5

Exceeded 0 packets, 0 bytes; action: drop

Last packet: 19522612 ms ago, current burst: 0 bytes

Last cleared 00:07:18 ago, conformed 0 bps, exceeded 0 bps

Matches: all traffic

Params: 8000000 bps, 16000 limit, 24000 extended limit

Conformed 5 packets, 315 bytes; action: set-prec-transmit 5

Exceeded 0 packets, 0 bytes; action: drop

Last packet: 9632 ms ago, current burst: 0 bytes

Last cleared 00:05:43 ago, conformed 0 bps, exceeded 0 bps

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.