Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

Devices Managed by FortiOS

Configuring flow control and ingress pause metering

Flow control allows you to configure a port to send or receive a “pause frame” (that is, a special packet that signals a source to stop sending flows for a specific time interval because the buffer is full). By default, flow control is disabled on all ports.

config switch-controller managed-switch

edit <FortiSwitch_serial_number>

config ports

edit <port_name>

set flow-control {both | rx | tx | disable}

next

end

end

Parameters enable flow control to do the following:

  • rx—receive pause control frames
  • tx—transmit pause control frames
  • both—transmit and receive pause control frames

If you enable flow control to transmit pause control frames or to transmit and receive pause control frames, you can also use ingress pause metering to limit the input bandwidth of an ingress port. Because ingress pause metering stops the traffic temporarily instead of dropping it, ingress pause metering can provide better performance than policing when the port is connected to a server or end station. To use ingress pause metering, you need to set the ingress metering rate in kilobits and set the percentage of the threshold for resuming traffic on the ingress port.

config switch-controller managed-switch

edit <FortiSwitch_serial_number>

config ports

edit <port_name>

set flow-control {tx | both}

set pause-meter <128–2147483647; set to 0 to disable>

set pause-meter-resume {25% | 50% | 75%}

next

end

end

For example:

config switch-controller managed-switch

edit S424ENTF19000007

config ports

edit port29

set flow-control tx

set pause-meter 900

set pause-meter-resume 50%

next

end

end

Configuring flow control and ingress pause metering

Flow control allows you to configure a port to send or receive a “pause frame” (that is, a special packet that signals a source to stop sending flows for a specific time interval because the buffer is full). By default, flow control is disabled on all ports.

config switch-controller managed-switch

edit <FortiSwitch_serial_number>

config ports

edit <port_name>

set flow-control {both | rx | tx | disable}

next

end

end

Parameters enable flow control to do the following:

  • rx—receive pause control frames
  • tx—transmit pause control frames
  • both—transmit and receive pause control frames

If you enable flow control to transmit pause control frames or to transmit and receive pause control frames, you can also use ingress pause metering to limit the input bandwidth of an ingress port. Because ingress pause metering stops the traffic temporarily instead of dropping it, ingress pause metering can provide better performance than policing when the port is connected to a server or end station. To use ingress pause metering, you need to set the ingress metering rate in kilobits and set the percentage of the threshold for resuming traffic on the ingress port.

config switch-controller managed-switch

edit <FortiSwitch_serial_number>

config ports

edit <port_name>

set flow-control {tx | both}

set pause-meter <128–2147483647; set to 0 to disable>

set pause-meter-resume {25% | 50% | 75%}

next

end

end

For example:

config switch-controller managed-switch

edit S424ENTF19000007

config ports

edit port29

set flow-control tx

set pause-meter 900

set pause-meter-resume 50%

next

end

end