Port speed limit of Huawei switch

Source: Internet
Author: User
Tags range switches

2000_ei series above switches can speed limit! The speed limit for different switches is not the same.!2000_ei directly below the port view enter Line-rate (4) Parameter optional! Port speed Limit configuration 1 function requirements and network description port speed limit configuration

"Configure Environment Parameters"

1. The IP addresses of PC1 and PC2 are 10.10.1.1/24, 10.10.1.2/24, respectively.

"Networking Requirements"

1. Configure the port speed limit on the SwitchA, PC1 the download rate to 3Mbps and limit the PC1 upload rate to 1Mbps

2 Data configuration steps

The S2000EI series switch port speed-limiting configuration process uses the Line-rate command below the Ethernet physical port to speed the flow limit of the port's outbound and incoming packets.

"SwitchA Related Configuration"

1. Access to port E0/1 configuration view [Switcha]interface Ethernet 0/1

2. To the port E0/1 out direction message flow speed limit, limited to 3Mbps

[Switcha-ethernet0/1]line-rate Outbound 30

3. To the port E0/1 into the direction of message flow limit to the speed limit to 1Mbps

[Switcha-ethernet0/1]line-rate Inbound 16

The "Supplemental note" message rate limit level is 1~127. If the rate limit level is in the 1~28 range, the rate limit granularity is 64Kbps, in which case, when the level is set to N, the rate limit on the port is n*64k, and if the rate limit level is in the 29~127 range, the rate limit granularity is 1Mbps, in which case When the level is set to N, the rate at which the port is limited is (N-27) *1mbps.

Specific models for this series of switches include: S2008-ei, S2016-ei and S2403h-ei.

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Network/jhjs/

The S2000-si and S3000-SI series switch port speed-limiting configuration process uses the Line-rate command below the Ethernet physical port to speed the flow limit of the port's outbound and incoming packets.

"SwitchA Related Configuration"

1. Access to port E0/1 configuration view [Switcha]interface Ethernet 0/1

2. To the port E0/1 out direction message flow speed limit, limited to 6Mbps

[Switcha-ethernet0/1]line-rate Outbound 2

3. To the port E0/1 into the direction of message flow limit to the speed limit to 3Mbps

[Switcha-ethernet0/1]line-rate Inbound 1

The total rate at which a message is sent or received by the port is indicated here at 8 levels, with a value range of 1~8, which means that when the port is working at a 10M rate, 1~8 represents 312k,625k,938k,1.25m,2m,4m,6m,8m When the port is working at a 100M rate, the 1~8 represents 3.12m,6.25m,9.38m,12.5m,20m,40m,60m,80m respectively. Specific models for this series of switches include: S2026c/z-si, S3026c/g/s-si and E026-si.

"s3026e, s3526e, S3050, S5012, S5024 series switch port speed limit configuration Process"

Using the Line-rate command under the Ethernet physical port, the flow speed limit is carried out on the outbound direction message of the port, and the Traffic-limit command of the port is used to restrict the flow rate of the incoming direction message with the ACL.

"SwitchA Related Configuration"

1. Access to port E0/1 configuration view [Switcha]interface Ethernet 0/1

2. To the port E0/1 out direction message flow speed limit, limited to 3Mbps

[Switcha-ethernet0/1]line-rate 3

3. Configure ACLs to define a data flow that conforms to the rate limit

[Switcha]acl Number 4000

[Switcha-acl-link-4000]rule Permit ingress any egress

4. To the port E0/1 into the direction of message flow limit to the speed limit to 1Mbps

[Switcha-ethernet0/1]traffic-limit Inbound Link-group 4000 1 exceed drop

The "Supplemental description" Line-rate commands direct traffic restrictions on all outbound data packets of the port, and the Traffic-limit command must be used in conjunction with ACLs to restrict traffic to data packets that match the rules of the specified access control list. When you configure ACLs, you can also configure the three-tier access rules to restrict traffic to the specified source or destination segment packets for port-oriented data packets. The size of the port speed limit is 1Mbps. Specific models for this series of switches include: s3026e/c/g/t, S3526e/c/ef, s3050c, s5012g/t, and s5024g.

"S3528, S3552 series switch port speed limit configuration Process"

Using the Traffic-shape and TRAFFIC-LIMIT commands below the Ethernet physical port, the flow speed limit is applied to the outbound and incoming packets of the port respectively.

"SwitchA Related Configuration"

1. Access to port E0/1 configuration view [Switcha]interface Ethernet 0/1

2. To the port E0/1 out direction message flow speed limit, limited to 3Mbps

[Switcha-ethernet0/1]traffic-shape 3250 3250

3. Configure ACLs to define a data flow that conforms to the rate limit

[Switcha]acl number 4000[

Switcha-acl-link-4000]rule Permit ingress any egress any

4. To the port E0/1 into the direction of message flow limit to the speed limit to 1Mbps

[Switcha-ethernet0/1]traffic-limit Inbound Link-group 4000 1000 150000 150000 1000 exceed drop

The specific models for this series of switches include: s3528g/p and s3552g/p/f.

"S3900 series switch port speed limit configuration Process"

Using the Line-rate command under the Ethernet physical port, the flow limit is carried out on the outbound direction message of the port, and the port in-direction data packets that match the specified access Control list rule are limited by using the Traffic-limit command under the Ethernet physical port, combined with the ACL.

"SwitchA Related Configuration"

1. Access to port E1/0/1 configuration view

[Switcha]interface Ethernet 1/0/1

2. To the port E0/1 out direction message flow speed limit, limited to 3Mbps

[Switcha-ethernet1/0/1]line-rate 3000

3. Configure ACLs to define a data flow that conforms to the rate limit

[Switcha]acl Number 4000

[Switcha-acl-link-4000]rule Permit ingress any egress

4. To the port E0/1 into the direction of message flow limit to the speed limit to 1Mbps

[Switcha-ethernet1/0/1]traffic-limit Inbound Link-group 4000 1000 exceed drop

The "Supplemental description" Line-rate commands direct traffic restrictions on all outbound data packets of the port, and the Traffic-limit command must be used in conjunction with ACLs to restrict traffic to data packets that match the rules of the specified access control list. When you configure ACLs, you can also configure the three-tier access rules to restrict traffic to the specified source or destination segment packets for port-oriented data packets. The size of the port speed limit is 64Kbps.

Specific models for this series of switches include: S3924, S3928P/F/TP and s3952p.

"S5600 series switch port speed limit configuration Process"

Using the Line-rate command under the Ethernet physical port, the flow limit is carried out on the outbound direction message of the port, and the port in-direction data packets that match the specified access Control list rule are limited by using the Traffic-limit command under the Ethernet physical port, combined with the ACL.

"SwitchA Related Configuration"

1. Access to port E1/0/1 configuration view

[Switcha]interface Ethernet 1/0/1

2. To the port E0/1 out direction message flow speed limit, limited to 3Mbps

[Switcha-ethernet1/0/1]line-rate 3000

3. Configure ACLs to define a data flow that conforms to the rate limit

[Switcha]acl Number 4000

[Switcha-acl-link-4000]rule Permit ingress any egress

4. To the port E0/1 into the direction of message flow limit to the speed limit to 1Mbps

[Switcha-ethernet1/0/1]traffic-limit Inbound Link-group 4000 1000 exceed drop

The "Supplemental description" Line-rate commands direct traffic restrictions on all outbound data packets of the port, and the Traffic-limit command must be used in conjunction with ACLs to restrict traffic to data packets that match the rules of the specified access control list. When you configure ACLs, you can also configure the three-tier access rules to restrict traffic to the specified source or destination segment packets for port-oriented data packets. The size of the port speed limit is 64Kbps. Specific models for this series of switches include: s5624p/f and s5648p.

s3600-28 Huawei switch Port speed limit: 10M

First, do control list:

ACL number 2001

Rule 0 Permit

Second, do the port speed limit (under the port)

Traffic-limit Inbound ip-group 2001 Rule 0 10048 exceed drop

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.