您好,欢迎来到尚车旅游网。
搜索
您的当前位置:首页通过ACL控制rate-limit

通过ACL控制rate-limit

来源:尚车旅游网

interface Hssi0/0/0 description 45Mbps 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 45Mbps 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 any eq www

access-list 102 permit tcp any 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 45Mbps to R2

Input

matches: access-group 101

params: 20000000 bps, 24000 limit, 32000 extended limit

conformed 3 packets, 1 bytes; action: set-prec-transmit 5

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

last packet: 309100ms 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: 19522612ms 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: 9632ms ago, current burst: 0 bytes

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

Copyright © 2019- sceh.cn 版权所有 湘ICP备2023017654号-4

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务