Configuring WFQ

Configuring WFQ
WFQ is enabled by default on physical interfaces with a bandwidth less than
2.048 Mbps. If it has been disabled, or to enable it on another interface, use
the interface command fair-queue [congestive-discard-threshold [dynamicqueues
[reservable-queues]]]. For example, the following commands enable
WFQ on the serial interface, set a CDT of 100, increase the number of flow
queues to 512, and reserve 10 queues for RSVP to use.
Router(config)#int s1/0/0:0
Router(config-if)#fair-queue 100 512 10
To change the size of the hold queue, use the hold-queue number {in | out}
interface command, as shown:
Router(config-if)#hold-queue 2000 out
To monitor the interface queues, use either show interface interface or show
queue interface:
Router#show interface s1/0/0:0
[output omitted]
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output
drops: 0
Queueing strategy: weighted fair
Output queue: 0/2000/100/0 (size/max total/threshold/drops)
Conversations 0/0/512 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 2250 kilobits/sec
[output omitted]
Router#show queue s1/0/0:0
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output
drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/100/0 (size/max total/threshold/drops)
Conversations 0/0/512 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 2250 kilobits/sec