Weighted Fair Queue (WFQ)


Weight Fair Queue configuration options

To enable

R1(config)#int s0/0
R1(config-if)#fair-queue

Configure the number of queues and reserved queues (for RSVP)

R1(config)#int s0/0
R1(config-if)#fair-queue 30 256 20

The above configures a max of 256 dynamic queues each with a capacity of 30 packets along with 20 reserved queues for RSVP.

WFQ formula

WFQ for each packet calculates a number which is then used to determine the preference of the packet when assigning bandwidth, the formula is below

(32384 / (ip-prec + 1) x packet size

Given this and a 2 packets both with the same length but one with ip-prec 0 and the other with 1. The ip-prec 1 packet would receive twice the amount of bandwidth than would be assigned to the ip-prec 0 packet.

 

Advertisements

About ccie4all
Hello, and welcome to the first post of my CCIE blog This blog has got one simple goal and that is to improve our skills in Cisco Networking field so we can become best engineers on a job market. Wordpress Blog https://ccie4all.wordpress.com/ information about the changes made to Gns3 BGP , MPLS and R&S CCIE labs. In order to access and download all provided materials and receive important updates from Gns3 BGP , MPLS and R&S CCIE labs under GNS3 tab in the main header please go ahead and subscribe to https://ccie4all.wordpress.com/ ! All other posts have not been affected and can be accessed at any given time. Enjoy ! Tom

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: