Configuring OpenFlow Enqueue

Queue configuration takes place outside the OpenFlow protocol, either through a command line tool or through an external dedicated configuration protocol.

The minimum guaranteed bandwidth is configured through assignment of weights for a particular queue (with WRR scheduling).

Complete the following steps to configure OpenFlow enqueue.

  1. Enable queue statistics at the global level.
    device (config) # statistics
    device (config-statistics # tm-voq-collection
  2. Configure WRR scheduling and weights for the queues at the egress.
    device(config-if-e10000-1/2/5)# qos scheduler weighted 10 10 20 10 10 20 10 10
  3. Configure Shaper configuration for the queues at the egress port (configuring maximum rate).
    device(config-if-e10000-1/2/5)# qos shaper priority 3 3000
  4. Disable the encode policy map at the egress port.
    device(config-if-e10000-1/2/5)# qos pcp encode-policy off
    device(config-if-e10000-1/2/5)# qos dscp encode-policy off
  5. Configure priority queues from 8 to 4 or vice versa.
    device(config)# system-max-tm-queues 4

The queues are now configured for forwarding actions. After the queues have been configured, flows can be mapped to queues and packets are forwarded through them.