Configuring WFQ: Implement The Diffserv Qos Model
Configuring WFQ: Implement The Diffserv Qos Model
Configuring WFQ: Implement The Diffserv Qos Model
Configuring WFQ
Weighted Fair Queuing
Weighted Fair Queuing
router(config-if)#
fair-queue [cdt [dynamic-queues [reservable-
queues]]]
• cdt: Number of messages allowed in each queue (a new threshold
must be a power of 2 in the range from 16 to 4096; default is 64).
When a conversation reaches this threshold, new message
packets are discarded.
• dynamic-queues: Number of dynamic queues used for best-effort
conversations (values are: 16, 32, 64, 128, 256, 512, 1024, 2048, and
4096; the default is 256).
• reservable-queues: Number of reservable queues used for
reserved conversations in the range 0 to 1000 (used for interfaces
configured for features such as RSVP—the default is 0).
Additional WFQ Configuration Parameters
router(config-if)#
hold-queue max-limit out
router>
show interface interface
• Displays interface delays including the activated queuing
mechanism with the summary information
Router>show interface serial 1/0
Hardware is M4T
Internet address is 20.0.0.1/8
MTU 1500 bytes, BW 19 Kbit, DLY 20000 usec, rely 255/255, load
147/255
Encapsulation HDLC, crc 16, loopback not set
Keepalive set (10 sec)
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/4/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 18000 bits/sec, 8 packets/sec
5 minute output rate 11000 bits/sec, 9 packets/sec
... rest deleted ...
Monitoring WFQ (Cont.)
router>
show queue interface-name interface-number
• Displays detailed information about the WFQ system of the
selected interface
Router>show queue serial 1/0
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 2/1000/64/0 (size/max total/threshold/drops)
Conversations 2/4/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)