Configuring Minimum and Maximum Bandwidth on Ports


This feature introduces bandwidth guarantees on switch ports. Currently, Pluribus Networks switches allow rate limiting only for CPU facing (PCIe, data and span) ports. Using this feature, you can configure bandwidth guarantees at egress CoS (Class of Service) queue level and manage prioritized traffic. The feature is also used for setting SLAs (Service Level Agreements).  Currently, nvOS provides maximum bandwidth policing at the vFlow level, yet it is not possible to set guaranteed minimum bandwidth. This feature addresses that limitation.


Switch hardware supports minimum and maximum bandwidth guarantees configured at a port and CoS queue level. A per port configuration is supported. This allows the settings as a percentage of port speed, so the data rate is internally determined on command execution. Additionally, when port speed is updated, the port configuration internally re-adjusts the minimum or maximum bandwidth rates for the applicable ports.


The port-config-show command displays 100% allocations by default. New configurations are displayed as additional elements, sorted by CoS queue.


New commands are introduced to modify and show ONLY modified port configurations.


Ports not displayed in the show command output have default settings: 100% link capacity, no minimum guarantee for each CoS queue.


CLI network-admin@Spine) > port-cos-bw-modify


cos integer

Specify the CoS priority between 0 and 7.

port port-list

Specify the physical port(s).

min-bw-guarantee min-bw-guarantee-string

Specify the minimum bandwidth as a percentage.

max-bw-limit max-bw-limit-string

Specify the maximum bandwidth as a percentage.

 

CLI network-admin@Spine) > port-cos-bw-show


cos integer

Specify the CoS priority.

port port-list

Specify the physical port(s).

 


CLI (network-admin@Spine1) > port-cos-bw-modify port 2-5 cos 5 min-bw-guarantee 10

 

CLI (network-admin@Spine1) > port-cos-bw-show

 

switch           cos port   min-bw-guarantee max-bw-limit weight

---------------- --- ------ ---------------- ------------ ------

Spine1          0   1-72   0%               100%         16     

Spine1          1   1-72   0%               100%         32     

Spine1          2   1-72   0%               100%         32     

Spine1          3   1-72   0%               100%         32     

Spine1          4   1-72   0%               100%         32     

Spine1          5   1,6-72 0%               100%         32     

Spine1          5   2-5    10%              100%         32     

Spine1          6   1-72   0%               100%         64     

Spine1          7   1-72   0%               100%         127


CLI (network-admin@Spine1) > port-cos-bw-modify port 2-511,13 cos 4 min-bw 20 max-bw 80


CLI (network-admin@Spine1) > port-cos-bw-show

 

switch         cos     port        min-bw  max-bw

-------        ----    ------      ------  -----

Spine1         0       0-72        100%    100%

Spine1         1       0-72        100%    100%

Spine1         2       0-72        100%    100%

Spine1         3       0-72        100%    100%

Spine1         4       0-1,11-72   100%    100%

Spine1         4       11-13        20%     80%

Spine1         5       2-10        10%     100%

Spine1         6       0-72        100%    100%

Spine1         7       0-72        100%    100%

 

Changing the port settings to new values overrides the previous settings.