The flow-control command enables flow control on an Ethernet interface.
The undo flow-control command disables flow control on an Ethernet interface.
By default, flow control is disabled on an Ethernet interface.
Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view
Usage Scenario
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. In this case, the device can receive and send pause frames.
Precautions
If flow control is enabled on an interface, it must also be enabled on the peer interface.
Flow control and flow control auto-negotiation can be configured on Ethernet interfaces, but they cannot be configured concurrently.
XGE interfaces on the S5720-32C-HI-24S-AC, the first 12 XGE interfaces on the S6720-50L-HI-48S, and XGE interfaces and the last eight GE interfaces on the S5720-56C-HI-AC, S5720-56C-PWR-HI-AC, and S5720-56C-PWR-HI-AC1 do not support flow control.
When an interface works in half-duplex mode, flow control does not take effect on the interface.
In a scenario where Layer 3 services are deployed, enabling flow control may affect the IP traffic forwarding on the interface. As a result, the interface becomes unavailable. You can run the undo flow-control command in the interface view to disable flow control to recover the interface.