Users Guide
Honor DSCP priority on ingress trac
OS10(config)# policy-map policy-trust
OS10(conf-pmap-qos)# class class-trust
OS10(conf-pmap-c-qos)# trust diffserv
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
 Service-policy (qos) input: policy-trust
 Class-map (qos): class-trust
 trust diffserv
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 
congure strict priority to any number of queues. By default, all queues schedule trac per WDRR.
You can use the priority command to assign the priority to a single unicast queue—this conguration supersedes the bandwidth 
percent
 conguration. 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 trac, 8 unicast queues for 
control trac, and 8 multicast queues for data trac.
• The H1 nodes mapped to data trac are scheduled with DWRR and weight of 50 each. The H1 node mapped to control trac is 
scheduled with strict priority.
• The weights corresponding to each trac 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 trac ow in a port. This is determined by the weight of a 
particular trac class and trac 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 trac.
Create class-map
1 Create a class-map, and congure a name for the class-map in CONFIGURATION mode.
class-map type queuing class-map-name
2 Congure a match criteria in CLASS-MAP mode.
match queue queue-id
Dene a policy-map
1 Dene a policy-map, and create a policy-map name CONFIGURATION mode.
policy-map type queuing policy-map-name
2 Create a QoS class and congure 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 interfaces—SYSTEM-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
444
Quality of service










