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 configure bandwidth guarantees at egress CoS (Class of Service) queue level and manage prioritized traffic. Use this feature for setting SLAs (Service Level Agreements). Currently, Netvisor ONE provides maximum bandwidth policing at the vFlow level,but you cannot set guaranteed minimum bandwidth. This feature addresses the limitation.


Switch hardware supports minimum and maximum bandwidth guarantees configured at a port and CoS queue level. Netvisor ONE supports a per port configuration. Netvisor ONE allows the settings as a percentage of port speed, and determines the data rate internally on command execution. Additionally, you update port speed, 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. Netvisor ONE displays new configurations as additional elements, sorted by CoS queue.


Netvisor ONE displays ONLY modified port configurations.


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


CLI (network-admin@Spine1) > 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@Spine1) > 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.