Configure Virtual Output Queuing

Virtual output queueing (VOQ) is a technique where multiple queues are maintained.

About this task

Note

Note

This feature is supported only on devices based on the DNX chipset family. For more information, see Supported Hardware.

Procedure

  1. Access global configuration mode.
    device# configure terminal
    
  2. Access interface configuration mode.
    device(config)# interface ethernet 0/2
    
  3. Use the traffic class to set parameters for unicast packet handling on the interface.
    device(conf-if-eth-0/2)# qos rx-queue unicast traffic-class 3 min-queue-size 128 max-queue-size 1024
    
    This example sets the values for the traffic class value, with a range of 0 through 7; minimum queue size, with a range of 0 through 1024 KB per-second (KBps); and the maximum queue size, with a range of 0 through 2048 MB per-second (MBps).
  4. Use the traffic class to set parameters for multicast packet handling on the interface.
    1. Configure multicast data best effort rate.
      device(conf-if-eth-0/2)# qos rx-queue multicast best-effort-rate 3000
      
      The range of values is from 0 through 600000000 kilobits per-second (kbps).
    2. Configure multicast data guarantee rate.
      device(conf-if-eth-0/2)# qos rx-queue multicast guarantee-rate 30000
      
      The range of values is from 0 through 600000000 kbps.
    3. Set parameter values, by traffic class, for multicast packet handling on the interface.
      device(conf-if-eth-0/2)# qos rx-queue multicast traffic-class 3 min-queue-size 512 max-queue-size 1024
      
  5. Return to privileged EXEC mode.
    device(conf-if-eth-0/2)# end
    
  6. Verify the configuration.
    device# show qos rx-queue interface all
    
    device# show running-config | include queue
    qos rx-queue queue-size 512
    
  7. View the buffer pool statistics.
    device# show buffmgr stats slot 0
    
  8. Save the running-config file to the startup-config file.
    device# copy running-config startup-config
    

Example

This example summarizes the commands in this procedure.

device# configure terminal
device(config)# interface ethernet 0/2
device(conf-if-eth-0/2)# qos rx-queue unicast traffic-class 3 min-queue-size 128 max-queue-size 1024
device(conf-if-eth-0/2)# qos rx-queue multicast best-effort-rate 3000
device(conf-if-eth-0/2)# qos rx-queue multicast guarantee-rate 30000
device(conf-if-eth-0/2)# qos rx-queue multicast traffic-class 3 min-queue-size 512 max-queue-size 1024
device(conf-if-eth-0/2)# end
device# show qos rx-queue interface all
device# copy running-config startup-config