Was this helpful?
Changes to Class of Service (CoS) Behavior
Netvisor ONE automatically weights Class of Server (CoS) queues with minimum bandwidth guarantees. When you configure minimum bandwidth on a port queue using CoS, Netvisor ONE assigns the remaining bandwidth to the rest of the queues in the same ratio as the minimum bandwidth.
You can use the command, port-cos-bw-modify, to change the queue weight of ports on the front panel and use the command, port-cos-weight-modify, to change the queue weight of ports on the control panel (PCIE and CPU ports).
When you configure a minimum bandwidth without specifying a weight value, the weight for the port and CoS is automatically set on a scale of 1 to 100. For example, if you configure the minimum bandwidth as 10%, Netvisor ONE automatically assigns the queue a weight value of 1. You can also assign a specific weight value to the queue.
Additionally, you can configure strict priority scheduling for any of the queues. By default, CoS 7 assigns strict priority scheduling for the queue.
To allow automatic weight assignment for CoS queues, use the following syntax:
CLI network-admin@Leaf1 > system-settings-modify cosq-weight-auto|no-cosq-weight-auto
 
CLI network-admin@Leaf1 > 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.
weight priority|no-priority
 
 
Specify if the scheduling weight (1 to 127) after the bandwidth guarantee is met. Selecting weight priority makes the queue as strict priority.
CLI network-admin@Leaf1 > port-cos-bw-show
switch cos port min-bw-guarantee max-bw-limit weight
------- --- ---- ---------------- ------------ ------
Spine-1 0 1-72 0% 100% 2
Spine-1 1 1-72 0% 100% 2
Spine-1 2 1-72 0% 100% 1
Spine-1 3 1-72 0% 100% 2
Spine-1 4 1-72 0% 100% 2
Spine-1 5 1-72 0% 100% 2
Spine-1 6 1-72 0% 100% 2
Spine-1 7 1-72 0% 100% 2
 
To auto-configure bandwidth, use the following syntax:
CLI network-admin@Leaf1 > port-cos-bw-modify cos 1 port 1 min-bw-guarantee 20
CLI network-admin@Leaf1 > port-cos-bw-show
 
switch cos port min-bw-guarantee max-bw-limit weight
------- --- ---- ---------------- ------------ ------
Spine-1 0 1-72 0% 100% 2
Spine-1 1 2-72 0% 100% 2
Spine-1 1 1 20% 100% 2
Spine-1 2 1-72 0% 100% 2
Spine-1 3 1-72 0% 100% 2
Spine-1 4 1-72 0% 100% 3
Spine-1 5 1-72 0% 100% 2
Spine-1 6 1-72 0% 100% 2
Spine-1 7 1-72 0% 100% 2
 
To configure a specific weight, use the following syntax:
CLI network-admin@Leaf1 > port-cos-bw-modify cos 1 port 1 weight 6
CLI network-admin@Leaf1 > port-cos-bw-show
switch cos port min-bw-guarantee max-bw-limit weight
------- --- ---- ---------------- ------------ ------
Spine-1 0 1-72 0% 100% 0
Spine-1 1 2-72 0% 100% 0
Spine-1 1 1 20% 100% 6
Spine-1 2 1-72 0% 100% 0
Spine-1 3 1-72 0% 100% 0
Spine-1 4 1-72 0% 100% 0
Spine-1 5 1-72 0% 100% 0
Spine-1 6 1-72 0% 100% 0
Spine-1 7 1-72 0% 100% 0