Chinaunix
标题:
流控问题
[打印本页]
作者:
5iwww
时间:
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 编辑
]
作者:
aoneandatwo
时间:
2007-01-31 13:17
带宽资源总是有限的,永远不够用,就像硬盘一样,只会有人嫌80G不够用,不会有人嫌160G太多。\r\n把流量进行分类,哪些是关键的,哪些是可以在队列里排队的,哪些是在资源紧张时丢弃的,然后实施QOS。
作者:
binbin82
时间:
2007-01-31 21:17
流量限制应该都会把超出流量的包丢弃吧,我的理解是这样的
作者:
5iwww
时间:
2007-02-01 10:39
Qos只是分类进行流量整形,我想知道在路由器左右出口带宽不一样的情况下,是不是只有丢包才能正常通讯?还有没有其他的机制?
作者:
海天一色
时间:
2007-02-11 15:15
标题:
流量限制
rate-limit input access-group 120 20480000 20480000 20480000 conform-action transm\r\nit exceed-action drop
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2