Q Commands

This chapter describes the Cisco NX-OS quality of service (QoS) commands that begin with Q.

queue-limit

To configure tail drop by setting queue limits on both ingress and egress queues, use the queue-limit command. To remove a queue limit, use the no form of this command.

queue-limit queue-size bytes

no queue-limit queue-size bytes

 
Syntax Description

queue-size

Queue size threshold (in bytes). The range is from 20480 to 204800. For the Cisco Nexus 5548 switch, the range is from 20480 to 426880 bytes.

 
Command Default

None

 
Command Modes

Policy map type network-qos class configuration

 
Command History

Release
Modification

4.1(3)N1(1)

This command was introduced.

 
Usage Guidelines

You can use this command to specify or modify the maximum number of packets the queue can hold for a class policy configured in a policy map. The system drops packets that exceed the configured queue-size threshold.

You can use this command only for network-qos class maps that do not have “pause” configured.

Examples

This example shows how to assign a queue limit to a policy map network-qos class:

switch(config)# policy-map type network-qos my_queue
switch(config-pmap-nq)# class type network-qos nqos_class
switch(config-pmap-nq-c)# queue-limit 10 mbytes
switch(config-pmap-nq-c)#
 

This example shows how to remove a queue limit from a policy map queuing class:

switch(config)# policy-map type network-qos my_queue
switch(config-pmap-nq)# class type network-qos nqos_class
switch(config-pmap-nq-c)# no queue-limit 10 mbytes
switch(config-pmap-nq-c)#
 

 
Related Commands

Command
Description

pause no-drop

Enables pause characteristics on a class referenced in a type network-qos policy map.

show policy-map

Displays policy maps.