OcNOS-SP : Quality of Service Guide : Quality of Service Configuration Guide : Configuring Egress Queues on Ports
Configuring Egress Queues on Ports
Every physical port of a Qumran device has eight priority queues and every subinterface has four priority queues. These ports and subinterfaces can be applied with several egress QoS parameters – these will be discussed in the next sections. (For more about subinterfaces, see Chapter 21, Subinterface Queuing.) When the QoS feature is enabled, all priority queues of the ports are configured with certain default egress queuing parameters.
To customize the treatment on the priority queues, the queuing policy-map infrastructure needs to be used. The following section explains the basic configuration details involved to apply queue level treatment on a port.
Configuring the Default Queuing Policy-Map
When the QoS feature is enabled, all ports of theQumran device is supplied with a default policy-map of queuing type. The default policy-map is created with the name “default-out-policy which is reserved and modifying parameters in this policy-map is reflected on all ports that do not have customized queuing policy-maps. Customized queuing policy-maps can be created and bound to ports to treat ports differently from the default configuration.
The default-out-policy policy-map is created with the default eight classes and the default subinterface subif-default-out-policy policy-map as Qumran supports eight priority queues per port and four priority queues per subinterface. Once the policy-map is configured, priority queue class-maps can be configured with the following command:
class type queuing default (q0|q1|q2|q3|q4|q5|q6|q7)
Class-maps qx represent the respective priority queuing class-maps which can be configured with different queue level parameters.
Creating a Queuing Class-Map
class-map type queuing NAME
no class-map type queuing NAME
Matching criteria: Only a match queue is supported in a queuing class-map for a user-defined queuing policy-map.
(no|) match queue <0-7>
Note: The match queue range 0-7 is valid only for port queues classification.
For subinterface queues, the valid range is 0-3.
Creating a Queuing Policy-Map
The following is the command to create a customized default policy-map:
policy-map type queuing NAME
no policy-map NAME
Binding a Queuing Policy-map
Customized queuing policy-maps take affect only when the configuration is bound to a port. Queuing policy-maps can be bound to the port with the following command:
service-policy type queuing output NAME
Where NAME represents the name of the queuing policy-map.