- 相關(guān)推薦
H3CICG2000網(wǎng)速限制方法
H3C ICG2000的網(wǎng)速限制方法,你知道嗎?下面yjbys小編為大家分享的就是H3C ICG2000的網(wǎng)速限制方法,希望對大家有所幫助!
通過基于網(wǎng)段的CAR規(guī)則可以限制整個(gè)網(wǎng)段內(nèi)每臺主機(jī)的速率或者是整個(gè)網(wǎng)段的速率,也可以對某一IP地址范圍內(nèi)的每臺主機(jī)的速率或者整個(gè)網(wǎng)段的速率進(jìn)行限制。
5.10.1 對整個(gè)網(wǎng)段的速率進(jìn)行限制
[H3C]qos carl 1 source-ip-address subnet 192.168.1.1 24
[H3C]interface GigabitEthernet 1/0
[H3C-GigabitEthernet1/0]qos car inbound carl 1 cir 10000000 cbs 10000000 ebs 0 green pass red discard
5.10.2 對整個(gè)網(wǎng)段的每個(gè)IP的速率進(jìn)行限制
[H3C]qos carl 1 source-ip-address subnet 192.168.1.1 24 per-address
[H3C]interface GigabitEthernet 1/0
[H3C-GigabitEthernet1/0]qos car inbound carl 1 cir 10000000 cbs 10000000 ebs 0 green pass red discard
5.10.3 對某一IP地址范圍內(nèi)的速率進(jìn)行限制
[H3C]qos carl 1 source-ip-address range 192.168.1.10 to 192.168.1.20
[H3C]interface GigabitEthernet 1/0
[H3C-GigabitEthernet1/0]qos car inbound carl 1 cir 10000000 cbs 10000000 ebs 0 green pass red discard
5.10.4 對某一IP地址范圍內(nèi)每個(gè)IP的速率進(jìn)行限制
[H3C]qos carl 1 source-ip-address range 192.168.1.10 to 192.168.1.20 per-address
[H3C]interface GigabitEthernet 1/0
[H3C-GigabitEthernet1/0]qos car inbound carl 1 cir 10000000 cbs 10000000 ebs 0 green pass red discard
漏了單一IP限速。
還有就是限速會帶來負(fù)面影響,舉個(gè)例子游戲延時(shí)過高,必須解決內(nèi)外網(wǎng)帶寬不均衡的問題,將內(nèi)網(wǎng)限速值和外網(wǎng)流量整形值設(shè)置成一樣!
舉一個(gè)例子:網(wǎng)吧帶寬只有8M,內(nèi)網(wǎng)PC機(jī)有200多臺,很可能就是因?yàn)橛腥嗽谙螺d或者用QQ live等軟件導(dǎo)致內(nèi)網(wǎng)流量過大,遠(yuǎn)遠(yuǎn)超過8M。
所以一般情況下面都需要做速率的限制,對每臺PC機(jī)都做。我們處理得很多掉線問題,就是因?yàn)闆]有做限制速度而導(dǎo)致的。通過dis int e1/0看一下內(nèi)網(wǎng)流量,如果有Overruns,則多半說明內(nèi)網(wǎng)流量太大,路由器處理不過來了。
[Quidway]dis int e1/0
Ethernet1/0 current state :UP
Line protocol current state :UP
Description : Ethernet1/0 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 192.168.1.1/24
IP Sending Frames Format is PKTFMT_ETHNT_2, Hardware address is 000f-e239-0260
Media type is twisted pair, loopback not set, promiscuous mode not set
100Mb/s, Full-duplex, link type is autonegotiation
Output flow-control is disabled, input flow-control is disabled
Output queue : (Urgent queuing : Size/Length/Discards) 0/50/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Last clearing of counters: Never
Last 300 seconds input rate 220900.42 bytes/sec, 1767203 bits/sec, 572.95 pa
ckets/sec
Last 300 seconds output rate 464099.40 bytes/sec, 3712795 bits/sec, 655.10 p
ackets/sec
Input: 4414550 packets, 3834890077 bytes, 4414550 buffers
58297 broadcasts, 2 multicasts, 0 pauses
127451 errors, 0 runts, 0 giants
0 crc, 0 align errors, 127451 overruns
0 dribbles, 0 drops, 0 no buffers
Output:1206335 packets, 871172966 bytes, 1206335 buffers
955 broadcasts, 0 multicasts, 0 pauses
0 errors, 0 underruns, 0 collisions
0 deferred, 0 lost carriers
AR18-2X在升級到F1707之后,可以實(shí)現(xiàn)基于每個(gè)IP地址的限速。1863-1最新版本也支持該功能,命令一樣。
網(wǎng)吧中限制內(nèi)網(wǎng)PC的速率,上傳速度200K,下載速率300K。
定義192.168.0.2 to 192.168.0.200內(nèi)每臺主機(jī)上傳的流量
[Quidway] qos carl 1 source-ip-address range 192.168.0.2 to 192.168.0.200 per-address
定義192.168.0.2 to 192.168.0.200內(nèi)每臺主機(jī)下載的流量
[Quidway] qos carl 2 destination-ip-address range 192.168.0.2 to 192.168.0.200 per-address
[Quidway] interface ethernet 1/0
-------限制上行速率
[Qudiway-Ethernet1/0] qos car inbound carl 1 cir 200000 cbs 200000 ebs 200000 green pass red discard
------限制下行速率
[Qudiway-Ethernet1/0] qos car outbound carl 2 cir 300000 cbs 300000 ebs 300000 green pass red discard
【H3CICG網(wǎng)速限制方法】相關(guān)文章:
網(wǎng)速慢的解決方法05-16
局域網(wǎng)網(wǎng)速變慢的故障排除方法07-06
網(wǎng)速慢及路由器故障處理方法05-18
網(wǎng)絡(luò)布線對網(wǎng)速常見要素09-26
本地連接受限制的原因及解決方法08-12
路由器怎么加快網(wǎng)速07-19
教你如何提高局域網(wǎng)速度10-03