Describes how to limit the speed of a Huawei switch.

Source: Internet
Author: User

This section describes the common methods for speed limiting of Huawei switches and helps you solve the rate limiting of Huawei switches. The following Huawei switch speed limiting method should help you. Do you know the speed limit step of a general Huawei switch? Let's take a look at the following article. all problems can be solved.

The H3C Huawei switch has the following methods:
Line-rate (lr)
Speed
Traffic-limit
Qoscar
H3C Huawei Switch Port Speed Limit

The second layer is more accurate, such as lr and speed. The third layer is not accurate.
Such as traffic-linit and qoscar
Lr:
E050: (credibility 100%)
[Quidway-Ethernet0/1] line-rate?
INTEGER <1-100> Targetrate (Mbps
S5500: (credibility 100%)
[S5500-GigabitEthernet1/0/1] qoslroutboundcir?
INTEGER <64-1000000> CommittedInformationRate (kbps), itmustbeamultipleof64
Speed: (reliability 100%)
-[S5500-GigabitEthernet1/0/1] speed?
10Specifyspeedofcurrentport10Mb/s
100Specifyspeedofcurrentport100Mb/s
1000Specifyspeedofcurrentport1000Mb/s
AutoEnableport 'sspeednegotiationautomatically
Traffic-limit: (Reliability: 50%. When 50 MB is set, the bandwidth is about 7 mb. When 10 MB is set, the bandwidth is about 1 MB)
[QuidwayE050-Ethernet0/1] traffic-limitinboundip-group2000?
INTEGER <1-100> Targetrate (Mbps)
Link-groupApplythelink-basedacl
RuleSpecifytheIDofaclrule
Qoscar: (s5500) (Reliability: 50%. When 9.6M is set, the bandwidth is about 5 MB)
Aclnumber2000
Rule0permitsource10.0.0.00.0.0.255
Trafficclassifierliukongoperatorand
If-matchacl2000
Trafficbehaviorliukong
Carcir9600cbs200000ebs4000greenpassreddiscardyellowpass
Qospolicyliukong
Classifierliukongbehaviorliukong
InterfaceGigabitEthernet1/0/1
Qosapplypolicyliukonginbound

Huawei vswitch speed limit supplement: vswitches with a speed limit of more than 2000_EI series can have a speed limit! Different switches have different speed limits! 2000_EI enter the LINE-RATE (4) parameter in the port view. Optional! Port Speed Limit configuration, functional requirements and networking description, and port speed limit Configuration

Environment Parameters for speed limiting configuration of Huawei switches: IP addresses of PC1 and PC2 are 10.10.1.1/24, and 10.10.1.2/24 respectively. Network Requirement: Configure port speed limiting on SwitchA, set the download speed of PC1 to 3 Mbps, and set the upload speed of PC1 to 1 Mbps. Configure the speed limit of S2000EI series switch ports, use the line-rate command under the Physical Ethernet port to speed up the inbound and outbound packets of the port.

SwitchA configuration: Enter the configuration view of port E0/1, SwitchA] interfaceEthernet0/1. The outbound packet of port E0/1 is throttled to 3 Mbps, [SwitchA-Ethernet0/1] line-rateoutbound30. The inbound packet of port E0/1 is throttled to 1 Mbps [SwitchA-Ethernet0/1] line-rateinbound16.

Huawei switch speed limit supplementary Description: The packet speed limit level is 1 ~ 127. If the speed limit level is 1 ~ Within the range of 28, the granularity of the speed limit is 64 Kbps. In this case, when the set level is N, the speed limit on the port is N * 64 K; if the speed limit is between 29 and 29 ~ Within the 127 range, the speed limit granularity is 1 Mbps, in which case when the set level is N, the speed limit on the port is (N-27) * 1 Mbps.

The specific models of this series of switches include: S2008-EI, S2016-EI, and S2403H-EI. S2000-SI and S3000-SI Series Switch Port Speed Limit configuration process, using the line-rate command under the Ethernet physical port, to speed up the traffic of the port, inbound packets.

SwitchA configuration: Go to the configuration view of port E0/1 [SwitchA] interfaceEthernet0/1, and set the traffic speed limit to 6 Mbps for outbound packets on port E0/1. [SwitchA-Ethernet0/1] line-rateoutbound2, traffic speed limit for inbound packets on port E0/1, up to 3 Mbps. [SwitchA-Ethernet0/1] line-rateinbound1.

Huawei switch speed limit supplement: Total rate limit on the number of sent or received packets on the port. The value range is 1 to 8 levels ~ 8, meaning: when the port operates at a rate of 10 m, 1 ~ 8 represents 312 K, 625 K, 938 K, 1.25 M, 2 M, 4 M, 6 M, 8 M, respectively. When the port operates at a rate of M, 1 ~ 8 represents 3.12 M, 6.25 M, 9.38 M, 12.5 M, 20 M, 40 M, 60 M, 80 M, respectively.

The specific models of this series of switches include: S2026C/Z-SI, S3026C/G/S-SI and E026-SI. Configure the speed limit of S3026E, S3526E, S3050, S5012, and S5024 series switch ports. Use the line-rate command below the Ethernet physical port to limit the traffic of outgoing packets on the port; in combination with acl, use the traffic-limit command under the Ethernet physical port to speed up the inbound packets of the port.

Configure SwitchA to go to the configuration view of port E0/1, [SwitchA] interfaceEthernet0/1, and speed up the outbound packets of port E0/1, up to 3 Mbps [SwitchA-Ethernet0/1] line-rate3 configuration acl, defining data streams that meet the rate limit [SwitchA] aclnumber4000, [SwitchA-acl-link-4000] rulepermitingressanyegressany. The inbound packet of port E0/1 is throttled to 1 Mbps [SwitchA-Ethernet0/1] traffic-limitinboundlink-group40001exceeddrop.

Note: The line-rate command directly limits the traffic of all outbound data packets on the port. The traffic-limit command must be used in conjunction with the acl, limits the traffic of data packets that match the rules of the specified access control list. When configuring the acl, you can also configure Layer-3 access rules to limit the traffic of inbound data packets of the specified source or destination CIDR block.

The speed limit in the inbound and outbound directions of the port is 1 Mbps. The specific models of these series switches include S3026E/C/G/T, S3526E/C/EF, S3050C, S5012G/T, and S5024G. Configure the speed limit of S3528 and S3552 series switch ports. Use the traffic-shape and traffic-limit commands under the Physical Ethernet ports to speed up the outbound and inbound packets of the port respectively.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.