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).

Do the following to configure OpenFlow enqueue.

  1. Enable queue statistics at 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-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-2/5)#qos shaper priority 3 3000
  4. Disable encode policy map at egress port.
    device(config-if-e10000-2/5)#qos pcp encode-policy off
    device(config-if-e10000-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 will be forwarded through them.