Configuring Minimum and Maximum Bandwidth on Ports


In older releases, NetVisor OS allowed rate limiting only for CPU facing (PCIe, data and span) ports. The current version of NetVisor OS support bandwidth guarantees on switch ports. You can configure bandwidth guarantees at egress queue level and manage prioritized traffic. Use this feature for setting Service Level Agreements (SLAs). In addition to the support for configuring maximum bandwidth policing at the vFlow level, you can also set a guaranteed minimum bandwidth.

NetVisor OS supports the configuration of minimum and maximum bandwidth at a per port level. You can configure bandwidth guarantees as a percentage of port speed, and NetVisor OS determines the data rate internally upon command execution. Additionally, when you update a port speed, the port configuration internally re-adjusts the minimum or maximum bandwidths on the applicable ports. However, when you logically divide a breakout cable into multiple ports of lower bandwidth, you need to adjust the port queue bandwidths manually.


Use the port-cos-bw-modify command to configure minimum and maximum bandwidth:


CLI (network-admin@switch) > port-cos-bw-modify


port-cos-bw-modify

Modify port CoS bandwidth settings.

cos integer

Specify the CoS priority between 0 and 9.

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.

weight priority|no-priority

Specify to enable or disable weight scheduling after the bandwidth guarantee is met.

 

For example, to configure a minimum bandwidth guarantee of 10 percent on ports 2-5 with a QoS queue of 5, use the command:


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


Use the port-cos-bw-show command to view the configuration.


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@switch) > port-cos-bw-show

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

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

switch   0   1-72   0%               100%         16     

switch   1   1-72   0%               100%         32     

switch   2   1-72   0%               100%         32     

switch   3   1-72   0%               100%         32     

switch   4   1-72   0%               100%         32     

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

switch   5   2-5    10%              100%         32     

switch   6   1-72   0%               100%         64     

switch   7   1-72   0%               100%         127


Note: The port-cos-bw-show command displays only modified port configurations. Ports not displayed in the show command output default to the settings of 100% link capacity, and no minimum guarantee for each QoS queue.


Configuring a maximum bandwidth limit helps in rate limiting or shaping the traffic on the egress queue. For example, to configure a minimum bandwidth of 20% and a maximum bandwidth of 80% on ports 11-13 for queue 4, use the command:


CLI (network-admin@switch) > port-cos-bw-modify port 11-13 cos 4 min-bw-guarantee 20 max-bw-limit 80


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

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

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

switch   0   1-72   0%               100%         16     

switch   1   1-72   0%               100%         32     

switch   2   1-72   0%               100%         32     

switch   3   1-72   0%               100%         32     

switch   4   1-72   0%               100%         32  

switch   4   11-13  20%              80%          32

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

switch   5   2-5    10%              100%         32     

switch   6   1-72   0%               100%         64     

switch   7   1-72   0%               100%         127

 

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

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south