Reference Guide

Brocade Fabric OS Command Reference 611
53-1004112-02
portBufferCalc
portBufferCalc
Calculates the number of buffers required per port.
Synopsis portbuffercalc [slot/]port [-distance distance]
[-speed speed] [-framesize framesize]
portBufferCalc --help
Description Use this command to calculate how many buffers are required for a given distance, speed, and framesize. You can
use the same number of buffers and port speed, when configuring the portCfgLongDistance command. If no
options are specified, then the current port's configuration is considered to calculate the number of buffers
required.
Notes Buffers required for the given frame size, distance and speed is calculated using the below formula:
1 buffer is required for 1 km at 2G (2048 framesize).
8 buffers are required for 1 km at 16G (2048 framesize).
Operands This command supports the following operands:
-distance distance
Specifies the desired distance with valid range of 10Km to 1500Km.
-speed speed
Specifies the port speed. The valid values are:
1
Specifies port speed as 1Gbps.
2
Specifies port speed as 2Gbps.
4
Specifies port speed as 4Gbps.
8
Specifies port speed as 8Gbps.
10
Specifies port speed as 10Gbps.
16
Specifies port speed as 16Gbps.
32
Specifies port speed as 32Gbps.
-framesize framesize
Specifies the desired framesize in bytes with a maximum value 2048.
--help
Displays command usage.