No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Interface-based Rate Limiting

Configuring Interface-based Rate Limiting

NOTE:

When the packet forwarding mode is set to Cut Through on the CE8860EI, CE8850EI, CE7855EI, CE7850EI, CE6865EI, CE6860EI, CE6855HI, CE6856HI, CE6850U-HI, CE6851HI, or CE6850HI, the switch does not support interface-based rate limiting in the inbound and outbound direction. Before configuring interface-based rate limiting in the inbound and outbound direction, run the assign forward mode store-and-forward command to change the packet forwarding mode to store-and-forward.

Configuring Interface-based Rate Limiting in the Inbound Direction

Configure a QoS CAR profile named qoscar1, specify the rate limit in the QoS profile, and apply the profile to 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] qos car qoscar1 cir 10000 cbs 10240
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] qos car inbound qoscar1
[*HUAWEI-10GE1/0/1] commit

Configuring Interface-based Rate Limiting in the Outbound Direction

Run the qos lr cir cir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] ] [ outbound ] command in the interface view to limit the rate of outgoing packets on the interface.

(Optional) Configuring the Inter-frame Gap and Preamble

In V100R005C00 and later versions, you can configure the switch whether to calculate the inter-frame gap and preamble of packets during rate limit calculation on the interface. By default, the switch calculates the inter-frame gap and preamble of packets when the device calculates the inbound rate limit. You can run the qos car ifg disable command in the system view to configure the switch not to calculate the inter-frame gap and preamble of packets during inbound rate limit calculation, to improve rate limit accuracy.

Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 144562

Downloads: 3160

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next