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

Configuration Guide - Interface Management

S9300, S9300E, and S9300X V200R013C00

This document describes the interface management configuration, including basic interface configuration, Ethernet interface configuration, and logical interface configuration.
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 Flow Control

Configuring Flow Control

Context

Flow control prevents packet loss caused by network congestion. If network congestion occurs on the local device after flow control is configured, the local device sends a message to the remote device, requesting the remote device to temporarily stop sending packets. After receiving the message, the remote device temporarily stops sending packets to the local device regardless of the interface working rate.

As shown in Figure 2-4, SwitchA communicates with SwitchC through SwitchB. The flow control function is implemented as follows:
  1. GE1/0/1 of SwitchA and GE1/0/2 of SwitchB are connected, and their negotiation rate is 1000 Mbit/s. The two interfaces send data packets to each other at the rate of 1000 Mbit/s.
  2. The outbound interface Eth2/0/3 of SwitchB provides a maximum transmission rate of only 100 Mbit/s. When congestion occurs during packet forwarding, SwitchB caches the received packets. As the cached packets accumulate, Eth2/0/3 cannot forward all the packets due to forwarding capability limitations, and packet loss will occur.
  3. After flow control is configured on GE1/0/1 of SwitchA and GE1/0/2 of SwitchB, GE1/0/2 sends a Pause frame to GE1/0/1, requesting GE1/0/1 to temporarily stop sending packets. After receiving the Pause frame, GE1/0/1 stops sending packets to GE1/0/2 within the period specified in the Pause frame. If the congestion persists, GE1/0/2 continues to send Pause frames to GE1/0/1.
  4. Eth2/0/3 continues to send cached data packets until the congestion is eliminated.
  5. After the congestion is eliminated, SwitchB stops sending Pause frames to SwitchA. SwitchA then continues to send data packets to SwitchB at the rate of 1000 Mbit/s.
Figure 2-4  Networking diagram of flow control

If the remote device does not support auto-negotiation, you can configure flow control on the local and remote devices. If both the local and remote devices support auto-negotiation, you can configure flow control auto-negotiation on the two devices. The local device then negotiates with the remote device to determine whether to enable flow control based on the network congestion status.

NOTE:

For details about Ethernet interfaces supporting the flow control function, see Licensing Requirements and Limitations for Ethernet Interfaces.

Flow control and flow control auto-negotiation cannot be concurrently configured on Ethernet interfaces.

Flow control auto-negotiation takes effect only when configured on interfaces at both ends of a link.

When an interface works in half-duplex mode, flow control does not take effect on the interface.

For X1E series, X1C series, X1L series, and LE1D2S04SEC0 cards, flow control takes effect on inbound interfaces only after you run the undo qos traffic-manage enable command on outbound interfaces. Flow control takes effect only for known unicast packets.

The LE0DG48TBC00 and LE0DG48SBC00 cards do not support flow control or flow control auto-negotiation.

  • On the LE0DG48SFA00, LE0DG48TFA00, and LE0DF48TFA00 cards of the S9300/S9300X, if interfaces 0 to 23 work as inbound interfaces (or outbound interfaces) and interfaces 24 to 47 work as outbound interfaces (or inbound interfaces), flow control auto-negotiation does not take effect on these interfaces.
  • On the LE0DG48SFA00, and LE0DG48TFA00 cards of the S9300E, if interfaces 0 to 23 work as inbound interfaces (or outbound interfaces) and interfaces 24 to 47 work as outbound interfaces (or inbound interfaces), flow control auto-negotiation does not take effect on these interfaces.

Procedure

  • Configuring flow control
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run flow-control

      Flow control is configured.

      By default, flow control is disabled on an Ethernet interface.

  • Configuring flow control auto-negotiation
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run negotiation auto

      The interface is configured to work in auto-negotiation mode.

    4. Run flow-control negotiation

      Flow control auto-negotiation is configured on the interface.

      By default, flow control auto-negotiation is disabled on an Ethernet interface.

Verifying the Configuration

Run the display interface [ interface-type [ interface-number ] ] command in any view or the display this interface command in the interface view to check the current interface status. Check the Flow-control field in the command output.

Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065861

Views: 5861

Downloads: 11

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