flow-control
CAUTION: Configuring generic flow control on an Ethernet interface will cause link-up and link-down events before the interface finally stays up. | ||
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.
Syntax
flow-control
undo flow-control
Default
Generic flow control is disabled on an Ethernet interface.
Views
Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
To implement flow control on a link, enable the generic flow control function at both ends of the link.
TxRx mode generic flow control enables an Ethernet interface to perform the following actions:
Receive common pause frames from its peer.
Send common pause frames to notify its peer of congestions.
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.
Examples
# Enable TxRx mode generic flow control on Ten-GigabitEthernet 1/0/1.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] flow-control