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

S12700 V200R012C00 Configuration Guide - QoS

This document describes the configurations of QoS functions, including MQC, priority mapping, traffic policing, traffic shaping, interface-based rate limiting, congestion avoidance, congestion management, packet filtering, redirection, traffic statistics, ACL-based simplified traffic policy, and HQoS.
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 Outbound Interface-based Rate Limiting

Configuring Outbound Interface-based Rate Limiting

Context

To control the rate of all outgoing traffic on an interface, configure outbound interface-based rate limiting. When the transmit rate of packets exceeds the rate limit, excess packets are placed in the buffer queue. When there are sufficient tokens in the token bucket, the device forwards the buffered packets at an even rate. When the buffer queue is full, the device discards the buffered packets.

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Run qos-shaping exclude-interframe

    The system is configured not to count the inter-frame gap and preamble of packets when calculating outbound interface-based rate limiting.

    By default, the system counts the inter-frame gap and preamble of packets when calculating the traffic rate for outbound interface-based rate limiting.

  3. Run interface interface-type interface-number

    The interface view is displayed.

  4. Run qos lr cir cir-value [ cbs cbs-value ] [ outbound ]

    Outbound interface-based rate limiting is configured.

    By default, the rate limit on an interface is the maximum bandwidth of the interface.

    NOTE:
    • If the maximum link bandwidth and maximum reservable bandwidth are configured for an MPLS TE tunnel, the rate limit set by the qos lr command on the tunnel interface must be larger than the maximum reservable bandwidth of the MPLS TE tunnel.

    • If both queue-based traffic shaping and rate limiting are configured on an interface, the CIR configured for the interface must be greater than or equal to the sum of CIR values of all queues on the interface; otherwise, traffic shaping may be incorrect. For example, a low-priority queue may preempt the bandwidth of a high-priority queue.

    • X1E series cards do not support cbs cbs-value.

Configuration Tips

Deleting the Configuration of Outbound Interface-based Rate Limiting

Run the undo qos lr [ outbound ] command in the interface view to delete the configuration of outbound interface-based rate limiting.

Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038410

Views: 19611

Downloads: 24

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