H3C认证

H3CICG网速限制方法

时间:2024-09-14 01:04:35 H3C认证 我要投稿
  • 相关推荐

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网速限制方法】相关文章:

网速慢的解决方法05-16

局域网网速变慢的故障排除方法07-06

网速慢及路由器故障处理方法05-18

扩大硬盘137GB容量限制的方法09-29

网络布线对网速常见要素09-26

本地连接受限制的原因及解决方法08-12

路由器怎么加快网速07-19

教你局域网怎么抢网速08-16

怎么轻松测试局域网网速08-22

教你如何提高局域网速度10-03