首页 > 数据库 > mysql教程 > 通过ACL控制rate-limit

通过ACL控制rate-limit

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-06-07 15:06:24
原创
1292 人浏览过

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, 189 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
相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
6.0无法通过git安装
来自于 1970-01-01 08:00:00
0
0
0
文件权限设置检测不通过
来自于 1970-01-01 08:00:00
0
0
0
不能通过域名/admin/user/get
来自于 1970-01-01 08:00:00
0
0
0
java 通过header导出csv文件乱码
来自于 1970-01-01 08:00:00
0
0
0
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板