Configuring generic flow control on an Ethernet interface


[CAUTION: ]

CAUTION:

Configuring generic flow control on an Ethernet interface will cause link-up and link-down events before the interface finally stays up.


To avoid packet drops on a link, you can enable generic flow control at both ends of the link. When traffic congestion occurs at the receiving end, the receiving end sends a flow control (Pause) frame to ask the sending end to suspend sending packets.

To handle unidirectional traffic congestion on a link, configure the flow-control receive enable command at one end and the flow-control command at the other end. To enable both ends of a link to handle traffic congestion, configure the flow-control command at both ends.

To enable generic flow control on an Ethernet interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Ethernet interface view.

interface interface-type interface-number

N/A

3. Enable generic flow control.

  • Enable TxRx mode generic flow control:flow-control

  • Enable Rx mode generic flow control:flow-control receive enable

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