Reference Guide

Table Of Contents
Class-map (queuing): lunar
bandwidth percent 80
Strict priority queuing
OS10 uses queues for egress QoS policy-types. You can enable priorities to dequeue all packets from the assigned queue before
servicing any other queues. When more than one queue is assigned strict priority, the highest number queue receives the
highest priority. You can configure strict priority to any number of queues. By default, all queues schedule traffic per WDRR.
You can use the priority command to assign the priority to a single unicast queuethis configuration supersedes the
bandwidth percent configuration. A queue with priority enabled can starve other queues for the same egress interface.
Consider the following when enabling priority queueing in S5148F-ON:
In a port, one H2 node and three H1 nodes are supported. The H1 node holds 8 unicast queues for data traffic, 8 unicast
queues for control traffic, and 8 multicast queues for data traffic.
The H1 nodes mapped to data traffic are scheduled with DWRR and weight of 50 each. The H1 node mapped to control
traffic is scheduled with strict priority.
The weights corresponding to each traffic class are applied at queue levels for both unicast and multicast queues.
The bandwidth distribution might go to a minimum of 50, based on the traffic flow in a port. This is determined by the weight
of a particular traffic class and traffic type.
The bandwidth sharing based on ETS happens only between same type of queues.
You can enable strict priority queuing only for the same type of traffic.
Create class-map
1. Create a class-map, and configure a name for the class-map in CONFIGURATION mode.
class-map type queuing class-map-name
2. Configure a match criteria in CLASS-MAP mode.
match queue queue-id
Define a policy-map
1. Define a policy-map, and create a policy-map name CONFIGURATION mode.
policy-map type queuing policy-map-name
2. Create a QoS class and configure a name for the policy-map in POLICY-MAP mode.
class class-map-name
3. Set the scheduler as the strict priority in POLICY-MAP-CLASS-MAP mode.
priority
Apply policy-map
1. You can now apply the policy-map to the interface (INTERFACE mode) or all interfacesSYSTEM-QOS mode.
system qos
OR
interface ethernet node/slot/port[:subport]
2. Enter the output service-policy in SYSTEM-QOS mode or INTERFACE mode.
service-policy {output} type {queuing} policy-map-name
Enable strict priority on class-map
OS10(config)# class-map type queuing magnum
OS10(conf-cmap-queuing)# match queue 7
OS10(conf-cmap-queuing)# exit
640
Quality of service