• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

通过ACL控制rate-limit

发布: 2007-6-23 18:14 | 作者:   | 来源:   | 查看: 88次 | 进入软件测试论坛讨论

领测软件测试网

   
  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

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网