免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3551 | 回复: 4
打印 上一主题 下一主题

流控问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-30 21:39 |只看该作者 |倒序浏览
我们公司有台2821路由器,现在出口带宽是20M, 入口没有限制,入口对应的是内网,但是一旦内网上传流量超过20M就会丢包,请问我该如何设置,能够防止丢包现象? 是对入口进行流量限制么? 如果限制了是不是还会丢包?\r\n\r\nMTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,\r\n     reliability 255/255, txload 1/255, rxload 6/255\r\n  Encapsulation ARPA, loopback not set\r\n  Keepalive set (10 sec)\r\n  Full-duplex, 100Mb/s, media type is T\r\n  output flow-control is XON, input flow-control is XON\r\n  ARP type: ARPA, ARP Timeout 04:00:00\r\n  Last input 00:00:12, output 00:00:00, output hang never\r\n  Last clearing of \"show interface\" counters never\r\n  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 7375329\r\n  Queueing strategy: fifo\r\n  Output queue: 0/40 (size/max)\r\n  5 minute input rate 2434000 bits/sec, 313 packets/sec\r\n  5 minute output rate 356000 bits/sec, 221 packets/sec\r\n     20025109 packets input, 3263930360 bytes, 7375204 no buffer\r\n     Received 494 broadcasts, 0 runts, 0 giants, 0 throttles\r\n     1 input errors, 0 CRC, 0 frame, 0 overrun, 1 ignored\r\n     0 watchdog, 0 multicast, 1892650 pause input\r\n     0 input packets with dribble condition detected\r\n     18858725 packets output, 1795322282 bytes, 0 underruns\r\n     0 output errors, 0 collisions, 0 interface resets\r\n     0 babbles, 0 late collision, 0 deferred\r\n     0 lost carrier, 0 no carrier, 1 pause output\r\n     0 output buffer failures, 0 output buffers swapped out\n\n[ 本帖最后由 5iwww 于 2007-1-30 22:28 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-01-31 13:17 |只看该作者
带宽资源总是有限的,永远不够用,就像硬盘一样,只会有人嫌80G不够用,不会有人嫌160G太多。\r\n把流量进行分类,哪些是关键的,哪些是可以在队列里排队的,哪些是在资源紧张时丢弃的,然后实施QOS。

论坛徽章:
0
3 [报告]
发表于 2007-01-31 21:17 |只看该作者
流量限制应该都会把超出流量的包丢弃吧,我的理解是这样的

论坛徽章:
0
4 [报告]
发表于 2007-02-01 10:39 |只看该作者
Qos只是分类进行流量整形,我想知道在路由器左右出口带宽不一样的情况下,是不是只有丢包才能正常通讯?还有没有其他的机制?

论坛徽章:
0
5 [报告]
发表于 2007-02-11 15:15 |只看该作者

流量限制

rate-limit input access-group 120 20480000 20480000 20480000 conform-action transm\r\nit exceed-action drop
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP