
21
View
Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use the
flow-control
command to enable TxRx mode generic flow control on an Ethernet interface.
Use the
undo flow-control
command 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:
•
When congested, the interface sends a flow control frame to its peer.
•
Upon receiving a flow control frame from the peer, the interface suspends sending packets.
To implement flow control on a link, you must enable the generic flow control function at both ends of the
link.
Examples
# Enable TxRx mode generic flow control on interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] flow-control
flow-control receive enable
Syntax
flow-control receive enable
undo flow-control
View
Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use the
flow-control receive enable
command to enable Rx mode generic flow control on an Ethernet
port.
Use the
undo flow-control
command to disable generic flow control on an Ethernet interface.
Rx mode generic flow control enables an Ethernet interface to receive and process common pause
frames from its peer. The interface does not send common pause frames when it is congested.