Configuring Minimum and Maximum Port Bandwidths
Netvisor ONE supports the configuration of a minimum bandwidth guarantee and of a maximum bandwidth limit at the egress queue level to manage prioritized traffic. You can use this feature to set up Service Level Agreements (SLAs).
You can configure bandwidth guarantees as a percentage of the port speed, and Netvisor ONE determines the scheduling ratio 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 on a particular port and on a queue number (referred to as ‘cos’):
CLI (network-admin@switch) > port-cos-bw-modify
port-cos-bw-modify |
Modify port CoS bandwidth settings. |
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 for queue 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 check the configuration:
CLI (network-admin@switch) > port-cos-bw-show
cos integer |
Specify the CoS priority between 0 and 11. |
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-128 0% 100% 64
switch 7 1-128 0% 100% 127
In the weight column the above command displays the default weights for the queues (expressed by values in the range 1-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 bandwidth guarantee for each port queue.
Configuring a maximum bandwidth limit helps in shaping the traffic on the egress queue(s). 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.