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 Adaptive Traffic Shaping
Context
When the inbound interface rate on the downstream device is variable and lower than the outbound interface rate on the upstream device, configure adaptive traffic shaping on the outbound interface of the upstream device to reduce congestion and packet loss.
Adaptive traffic shaping is implemented by associating an NQA test instance with an adaptive traffic profile on the upstream device. The NQA test instance detects the packet loss ratio on the downstream device, and the
upstream device dynamically adjusts traffic shaping parameters based on the packet loss ratio as follows:
- Reduces the traffic shaping rate when the NQA test instance detects that the packet loss ratio is larger than the upper threshold in the adaptive traffic profile.
- Increases the traffic shaping rate when all the following conditions are met:
- The NQA test instance detects that the packet loss ratio is lower than the lower threshold in the adaptive traffic profile.
- Congestion occurs on the outbound interface of the upstream device.
- The interval for increasing the traffic shaping rate is reached.
- Retains the traffic shaping rate in one of the following scenarios:
- The NQA test instance detects that the packet loss ratio is smaller than the lower threshold in the adaptive traffic profile and no congestion occurs on the outbound interface of the upstream device.
- The detected packet loss ratio is within the packet loss ratio range in the adaptive traffic profile.
- Uses the upper threshold for the traffic shaping rate in the adaptive traffic profile when the NQA test fails.
- Uses the upper threshold for the traffic shaping rate in the adaptive traffic profile when the adaptive traffic profile is not bound to any NQA test instance.