1
00:00:00,300 --> 00:00:06,930
So in a weighted fake queuing scheduling algorithm, packets are classified based on flows rather than

2
00:00:06,930 --> 00:00:07,760
classes.

3
00:00:07,770 --> 00:00:11,700
So a flow classification would be done as an example on source and destination IP.

4
00:00:11,700 --> 00:00:15,180
Address the protocol and a port number.

5
00:00:15,720 --> 00:00:22,410
The idea with waited for queuing is that a weight is added to a flow based on different criteria such

6
00:00:22,410 --> 00:00:28,050
as IP precedence or RSVP, which is resource reservation protocol.

7
00:00:28,830 --> 00:00:34,650
Weighted for queuing, however, prioritises smaller packets over a larger packets.

8
00:00:34,860 --> 00:00:41,140
So it's a fairer queuing algorithm in that it provides a better quality of service for small packets.

9
00:00:41,160 --> 00:00:45,810
Small packets are generally used for interactive sessions, says an example.

10
00:00:45,810 --> 00:00:52,440
A voice packet may only be 20 bytes in size, whereas an FTP packet could be 1500 points in size.

11
00:00:52,980 --> 00:00:58,200
So larger payloads or larger packets are generally sent by data applications.

12
00:00:58,320 --> 00:01:05,700
Interactive applications such as TELNET or its s, h or voice tend to have smaller packets, so weighted

13
00:01:05,700 --> 00:01:14,010
for queuing priority rises, smaller packets over larger packets, and you can increase that prioritisation

14
00:01:14,010 --> 00:01:19,320
by adding a weight to smaller packets based on IP precedence as an example.

15
00:01:19,530 --> 00:01:27,180
So in brief, a voice packet that's 20 bytes, if it has an IP precedence of five, will appear to be

16
00:01:27,180 --> 00:01:28,650
four bytes in size.

17
00:01:28,650 --> 00:01:31,350
In other words, 20 bytes divided by five.

18
00:01:31,380 --> 00:01:36,900
It appears to be smaller and therefore is prioritized over large data packets.

19
00:01:37,050 --> 00:01:45,000
So it uses a clever scheduling algorithm to prioritize smaller interactive packets, which you can make

20
00:01:45,000 --> 00:01:52,260
appear even smaller by increasing the IP precedence of the packet so that smaller packets are transmitted

21
00:01:52,260 --> 00:01:53,850
before larger packets.

22
00:01:54,240 --> 00:02:00,270
The problem with weighted for queuing is that it doesn't provide bandwidth guarantees.

23
00:02:00,420 --> 00:02:08,460
So as an example, FTP could starve HTTP traffic data flows can starve out one another.

24
00:02:08,699 --> 00:02:14,820
So therefore Cisco developed class based weighted fare queuing where you can guarantee bandwidth to

25
00:02:14,820 --> 00:02:19,350
specific classes and provide dynamic fairness of other flows.

26
00:02:19,710 --> 00:02:25,200
So class based weighted for queuing essentially allows you to create different classes where you can

27
00:02:25,200 --> 00:02:31,560
specify a minimum bandwidth for specific classes of traffic and waited for queuing could be used on

28
00:02:31,560 --> 00:02:37,830
the best effort class to ensure that traffic is handled fairly in the best effort to class.

