1 00:00:00,420 --> 00:00:05,390 Once traffic is identified, it can be treated in a number of different ways. 2 00:00:05,400 --> 00:00:08,610 You could, as an example, give it a minimum amount of bandwidth. 3 00:00:08,640 --> 00:00:15,330 You could give it a maximum amount of bandwidth or a limit on the amount of bandwidth that it can send. 4 00:00:15,330 --> 00:00:19,590 Some queuing mechanisms provide a minimum bandwidth guarantee. 5 00:00:19,710 --> 00:00:22,080 Policing and shaping the limit. 6 00:00:22,080 --> 00:00:24,280 The amount of traffic that you can transmit. 7 00:00:24,300 --> 00:00:31,500 So polices and shapers are both rate limiters, but they differ in how they treat excess traffic. 8 00:00:31,950 --> 00:00:39,540 As a general rule of thumb polices will drop excess traffic, whereas traffic shapers will delay excess 9 00:00:39,540 --> 00:00:40,320 traffic. 10 00:00:40,620 --> 00:00:47,130 In this example, we've got traffic sent at different rates and administrator has configured a maximum 11 00:00:47,250 --> 00:00:47,870 limit. 12 00:00:47,880 --> 00:00:55,500 However, as shown by this line here with policing, any excess traffic is automatically dropped. 13 00:00:55,920 --> 00:01:03,030 So police's will perform checks for traffic violations against a configured rate set by an administrator. 14 00:01:03,030 --> 00:01:04,110 Which could be you. 15 00:01:04,819 --> 00:01:10,760 The action that a police takes in response to traffic would either be dropping the traffic as shown 16 00:01:10,760 --> 00:01:16,070 here, or it could remark excess traffic and still transmit to the traffic. 17 00:01:16,130 --> 00:01:17,150 There are different options. 18 00:01:17,150 --> 00:01:22,550 You could just transmit the traffic as long as you are below the threshold. 19 00:01:23,060 --> 00:01:27,290 You could configure a police to send the traffic without any modification. 20 00:01:28,220 --> 00:01:31,220 As long as it's below the configured threshold. 21 00:01:31,220 --> 00:01:37,430 When it goes above the configured threshold, you could remarket but still transmit it. 22 00:01:37,700 --> 00:01:41,930 And that would be true for traffic between the threshold and a second threshold. 23 00:01:41,930 --> 00:01:45,560 But any traffic exceeding the second threshold would be dropped. 24 00:01:45,680 --> 00:01:50,600 We have this concept of a tri tricolor or three color implementation. 25 00:01:51,390 --> 00:01:55,500 When traffic is below the first threshold, it's transmitted as normal. 26 00:01:55,770 --> 00:02:02,580 When it exceeds the first threshold, but it's below a second threshold, it will be remarked to a lower 27 00:02:02,580 --> 00:02:03,390 class. 28 00:02:03,420 --> 00:02:08,940 So in other words, you are moved from first class to economy as an example, but the traffic is still 29 00:02:08,940 --> 00:02:14,460 transmitted and when you go above the second threshold, you're simply kicked off the plane or in a 30 00:02:14,460 --> 00:02:16,320 data network, the traffic is dropped. 31 00:02:16,680 --> 00:02:20,670 What's important to understand about polices is that they do not delay traffic. 32 00:02:20,910 --> 00:02:25,980 They will check the traffic and either remarket and transmit it or drop it. 33 00:02:26,250 --> 00:02:28,980 They do not buffer or delay traffic. 34 00:02:29,730 --> 00:02:32,220 Shape is, on the other hand, will delay traffic. 35 00:02:32,220 --> 00:02:36,180 So they try and smooth traffic out by buffering it. 36 00:02:36,420 --> 00:02:42,960 So if we look at our original traffic when it's shaped, notice the curve here is a lot smoother as 37 00:02:42,960 --> 00:02:51,120 the traffic is delayed so that it falls within a configured bitrate so the shaper doesn't drop the traffic, 38 00:02:51,120 --> 00:02:57,900 but smooths it out by delaying the traffic to make sure that over a period of time the traffic falls 39 00:02:57,900 --> 00:02:59,820 within a configured bitrate. 40 00:03:00,180 --> 00:03:03,900 Shape is usually used to meet service level agreements. 41 00:03:03,900 --> 00:03:10,560 When the traffic spikes above the contracted rate, the excess traffic is buffered and is delayed until 42 00:03:10,560 --> 00:03:13,350 it falls below the contracted rate. 43 00:03:13,680 --> 00:03:15,450 Polices are a lot harsher. 44 00:03:15,480 --> 00:03:23,310 They will drop as a quick way as a shaper will try and smooth the traffic out over a period of time 45 00:03:23,580 --> 00:03:26,040 to get it below a configured rate.