Connectivity Guide
4 Create a queuing type policy-map and congure a policy-map name in CONFIGURATION mode.
policy-map type queuing policy-map-name
5 Congure a queuing class in POLICY-MAP mode.
class class-name
6 Assign a bandwidth percent, from 1 to 100 to nonpriority queues in POLICY-MAP-CLASS-MAP mode.
bandwidth percent value
Congure bandwidth allocation
OS10(config)# class-map type queuing solar
OS10(conf-cmap-queuing)# match qos-group 5
OS10(conf-cmap-queuing)# exit
OS10(config)# policy-map lunar
OS10(config)# policy-map type queuing lunar
OS10(conf-pmap-queuing)# class solar
OS10(conf-pmap-c-que)# bandwidth percent 80
View class-map
OS10(conf-cmap-queuing)# do show class-map
Class-map (queuing): solar (match-any)
Match: qos-group 5
View policy-map
OS10(conf-pmap-c-que)# do show policy-map
Service-policy (queuing) output: solar
Class-map (queuing): lunar
bandwidth percent 80
Strict priority queuing
OS10 uses queues for egress QoS policy types. Enable priorities to dequeue all packets from the assigned queue before servicing any other
queues. When you assign more than one queue 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.
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
976
Quality of service