flow-control

Syntax

flow-control

undo flow-control

View

Ethernet interface view

Default level

2: System level

Parameters

None

Description

Use flow-control to enable TxRx mode generic flow control on an Ethernet interface.

Use undo flow-control to disable generic flow control on the Ethernet interface.

TxRx mode flow control enables an Ethernet interface to receive common pause frames from its peer, and send common pause frames to notify its peer of congestions.

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

With the flow-control command configured, an interface can both send and receive flow control frames:

To implement flow control on the local Ethernet port, you must enable flow control on both the local Ethernet port and the remote port. If flow control is enabled on the local Ethernet port but disabled on the remote port, forwarding of packets received on the other Ethernet ports of the local switch is affected.

Examples

# Enable TxRx mode generic flow control on the interface Ethernet1/0/1.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] flow-control