flow-control receive enable


[CAUTION: ]

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 receive enable to enable Rx mode generic flow control on an Ethernet port.

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

Syntax

flow-control receive enable

undo flow-control

Default

Rx flow control is disabled on Ethernet interfaces.

Views

Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

With the flow-control receive enable command configured, an interface can receive, but not send, flow control frames. When the interface receives a flow control frame from its peer, it suspends sending packets to the peer. When traffic congestion occurs on the interface, it cannot send flow control frames to the peer.

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. To enable both ends of the link to handle traffic congestion, configure the flow-control command at both ends.

Examples

# Enable Rx 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 receive enable

Related commands

flow-control