- 相關推薦
H3CICG2000網速限制方法
H3C ICG2000的網速限制方法,你知道嗎?下面yjbys小編為大家分享的就是H3C ICG2000的網速限制方法,希望對大家有所幫助!
通過基于網段的CAR規則可以限制整個網段內每臺主機的速率或者是整個網段的速率,也可以對某一IP地址范圍內的每臺主機的速率或者整個網段的速率進行限制。
5.10.1 對整個網段的速率進行限制
[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 對整個網段的每個IP的速率進行限制
[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地址范圍內的速率進行限制
[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地址范圍內每個IP的速率進行限制
[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限速。
還有就是限速會帶來負面影響,舉個例子游戲延時過高,必須解決內外網帶寬不均衡的問題,將內網限速值和外網流量整形值設置成一樣!
舉一個例子:網吧帶寬只有8M,內網PC機有200多臺,很可能就是因為有人在下載或者用QQ live等軟件導致內網流量過大,遠遠超過8M。
所以一般情況下面都需要做速率的限制,對每臺PC機都做。我們處理得很多掉線問題,就是因為沒有做限制速度而導致的。通過dis int e1/0看一下內網流量,如果有Overruns,則多半說明內網流量太大,路由器處理不過來了。
[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之后,可以實現基于每個IP地址的限速。1863-1最新版本也支持該功能,命令一樣。
網吧中限制內網PC的速率,上傳速度200K,下載速率300K。
定義192.168.0.2 to 192.168.0.200內每臺主機上傳的流量
[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內每臺主機下載的流量
[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網速限制方法】相關文章:
限制網速怎么設置12-26
無線路由器限制其他電腦網速的方法04-07
路由器重置密碼與提高上網速度的方法03-16
飛魚星路由器的網速變慢的解決方法03-04
本地連接受限制的原因及解決方法03-29
影響電腦網速的原因有哪些12-09
教你如何提高局域網速度04-10
淺談網速變慢的原因及解決辦法03-16
電腦上網速度慢的原因解析03-06