flowcontrol

Use this command to enable or disable flow control.

Flow control enables connected Ethernet ports to control traffic rates during periods of congestion by allowing congested nodes to pause link operations at the other end. If one port experiences congestion and cannot receive any more traffic, it notifies the other port to stop sending until the condition clears. When a local device detects congestion at its end, it notifies the remote device by sending a pause frame. On receiving a pause frame, the remote device stops sending data packets, which prevents loss of data packets during the period of congestion.

Use the no parameter with this command to disable flow control.

Command Syntax

Copy
flowcontrol both
flowcontrol send on
flowcontrol send off
flowcontrol receive on
flowcontrol receive off
no flowcontrol

Parameters

both

Specify flow control mode for sending or receiving.

send

Specify flow control mode for sending.

receive

Specify the flow control mode for receiving.

off

Turn off flow control.

on

Turn on flow control.

Default

The flow control is enabled globally and auto-negotiation is on, flow control is enabled and advertised on 10/100/1000M ports. If auto-negotiation is off or if the port speed was configured manually, flow control is neither negotiated with nor advertised to the peer.

Command Mode

Interface mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

Copy
#configure terminal
(config)#interface eth1
(config-if)#flowcontrol receive off
 
#configure terminal
(config)#interface eth1
(config-if)#flowcontrol receive on
 
(config)#interface eth1
(config-if)#no flowcontrol