1 00:00:00,240 --> 00:00:06,060 Now, you're not expected to know this for the CCNA exam, but I'm going to demonstrate an example of 2 00:00:06,060 --> 00:00:08,970 quality of service on two Cisco routers. 3 00:00:09,660 --> 00:00:17,280 In this example, I've got two routers running in genius three show run interface, serial, 2/0. 4 00:00:17,280 --> 00:00:18,930 Shows us the configuration. 5 00:00:19,320 --> 00:00:25,320 These routers simply have IP addresses configured and I have no shut the interfaces. 6 00:00:25,350 --> 00:00:27,570 No other configuration has been done. 7 00:00:28,110 --> 00:00:38,160 Show Interface Serial 2/0 shows us the speed of the interface, which is using the default of 1.54 megabits 8 00:00:38,160 --> 00:00:39,030 per second. 9 00:00:40,530 --> 00:00:47,940 So on this interface of the router we can use the command auto quoz. 10 00:00:49,330 --> 00:00:57,100 Now notice we do have the discovery option where we can configure the rider to discover traffic that 11 00:00:57,100 --> 00:00:58,600 traverses that interface. 12 00:00:59,110 --> 00:01:05,650 But in this example, I'm simply going to enable the interface for VoIP, and I'm not going to specify 13 00:01:05,650 --> 00:01:11,590 the option trust, which means it's not going to trust the markings that it receives from rather to. 14 00:01:12,500 --> 00:01:15,020 Not typically in the real world you would do that. 15 00:01:15,020 --> 00:01:23,330 You would trust traffic from one router to another unless router one is a service provider and router 16 00:01:23,330 --> 00:01:25,250 two is a customer as an example. 17 00:01:25,640 --> 00:01:32,870 Now here I'm going to use order VoIP trust so that you can see the difference between trusting and not 18 00:01:32,870 --> 00:01:36,320 trusting a neighboring router. 19 00:01:36,590 --> 00:01:44,600 So rather one doesn't trust router two rather two trusts router one based on the order configuration. 20 00:01:45,650 --> 00:01:47,270 Now order cause creates. 21 00:01:48,200 --> 00:01:50,390 A large amount of configuration. 22 00:01:51,810 --> 00:01:55,290 So rather than you manually typing configuration. 23 00:01:56,110 --> 00:02:05,470 It's done for you because rather to trusts rather one, it's created a quality of service class map 24 00:02:05,740 --> 00:02:08,740 that matches DCP f. 25 00:02:09,490 --> 00:02:15,520 So essentially, if rather two receives traffic from rather one marked as F, it's going to go into 26 00:02:15,520 --> 00:02:16,030 this order. 27 00:02:16,030 --> 00:02:18,910 Quoz VoIP RTP Trust class. 28 00:02:20,230 --> 00:02:22,660 That's referenced by this policy map. 29 00:02:23,640 --> 00:02:29,910 The configuration that you see here is an example of moxie or the modular quality of service command 30 00:02:29,910 --> 00:02:30,930 line interface. 31 00:02:31,320 --> 00:02:33,240 It consists of two main parts. 32 00:02:33,240 --> 00:02:36,510 We've got class maps and we've got policy maps. 33 00:02:37,410 --> 00:02:41,100 And policy maps are then bound onto interfaces. 34 00:02:42,540 --> 00:02:43,890 So in this example. 35 00:02:44,560 --> 00:02:53,890 We've got the service policy which references the policy map bound to the serial 2/0 interface. 36 00:02:55,200 --> 00:02:57,390 So going back to our class maps. 37 00:02:59,130 --> 00:03:04,680 We've got two class maps, one matching DCP f. 38 00:03:05,340 --> 00:03:13,980 And one matching either notice the match any key word clause selector three or IP precedence three and 39 00:03:13,980 --> 00:03:17,820 assured forwarding class three one or AF three one. 40 00:03:19,040 --> 00:03:22,730 Now, rather to trusting the markings that it receives from rather one. 41 00:03:23,150 --> 00:03:31,940 So it's looking for traffic that matches F and that class is then matched within this policy map. 42 00:03:32,180 --> 00:03:40,790 So notice the name order quasi VoIP trust is matched here and it's given 70% of the interface bandwidth 43 00:03:40,790 --> 00:03:42,140 when there's congestion. 44 00:03:42,680 --> 00:03:50,090 So in other words, voice traffic matched by F will be given a priority bandwidth of 70%. 45 00:03:50,630 --> 00:03:52,400 That's a priority queue. 46 00:03:53,090 --> 00:03:55,820 This is an example of low latency queuing. 47 00:03:56,680 --> 00:04:01,900 We've got classes of traffic, but we've also got a priority queue. 48 00:04:02,380 --> 00:04:06,310 So this is the priority queue in low latency queuing. 49 00:04:06,400 --> 00:04:10,750 A voice will be given 70% of the bandwidth, other traffic. 50 00:04:10,780 --> 00:04:16,329 So in this case, we've got VoIP control is given 5% of the bandwidth. 51 00:04:17,410 --> 00:04:25,360 Notice this matches the class configured over here, which is matching CS3 and AF 31. 52 00:04:26,140 --> 00:04:32,800 That's essentially call signaling protocols such as CIP, H three, D three and skinny. 53 00:04:32,920 --> 00:04:36,490 In other words, those are protocols you use to set up telephone calls. 54 00:04:38,020 --> 00:04:39,780 So notice what Audioquest has done. 55 00:04:39,790 --> 00:04:47,110 It's allocated 75% of the interface bandwidth to voice calls. 56 00:04:47,970 --> 00:04:56,280 So the actual voice traffic, the HTTP traffic gets 70%, call signaling gets 5%, and the remaining 57 00:04:56,310 --> 00:05:00,270 traffic is shared using fare queuing. 58 00:05:00,810 --> 00:05:06,210 So this is an example of waited for queuing on the default clause. 59 00:05:06,240 --> 00:05:10,290 Default clause is going to match anything not explicitly matched. 60 00:05:11,210 --> 00:05:15,480 So a low latency cue is actually priority queue. 61 00:05:15,500 --> 00:05:16,880 Class based weighted. 62 00:05:16,880 --> 00:05:17,750 Fair queuing. 63 00:05:18,110 --> 00:05:19,910 But that's too much of a mouthful. 64 00:05:20,330 --> 00:05:22,460 So we call it low latency queuing. 65 00:05:22,610 --> 00:05:24,080 There's the priority queue. 66 00:05:24,440 --> 00:05:26,180 He has an example of a class. 67 00:05:27,510 --> 00:05:31,680 And this is an example of waiting for queuing within a class. 68 00:05:31,860 --> 00:05:35,430 Low latency queuing is part of queuing. 69 00:05:35,460 --> 00:05:38,040 Class based waited for queuing. 70 00:05:38,610 --> 00:05:44,220 And in this example, we are prioritizing VoIP traffic over other traffic types. 71 00:05:44,460 --> 00:05:48,510 70% of the bandwidth can be taken by voice calls. 72 00:05:48,870 --> 00:05:51,690 It's a priority queue, so it will be serviced first. 73 00:05:51,900 --> 00:05:58,530 5% of the interface bandwidth could be taken by call signaling, but this is a guaranteed minimum bandwidth, 74 00:05:58,530 --> 00:05:59,760 not a priority. 75 00:06:00,090 --> 00:06:06,390 This is a guaranteed minimum bandwidth of 70% of the interface bandwidth, but it's a priority queue. 76 00:06:06,390 --> 00:06:10,380 So voice traffic will be prioritized over all other traffic. 77 00:06:11,250 --> 00:06:20,070 If voice traffic is only using 20% of the interface bandwidth, other traffic can use whatever is not 78 00:06:20,070 --> 00:06:21,450 reserved for voice. 79 00:06:21,780 --> 00:06:28,560 So this is a maximum amount of bandwidth that voice can take and voice will be policed at that level. 80 00:06:29,290 --> 00:06:34,240 But in the worst case scenario, other traffic will only get 25% of the bandwidth. 81 00:06:34,720 --> 00:06:40,120 This policy is applied on the serial to zero interface outbound. 82 00:06:41,410 --> 00:06:47,830 So any traffic leaving the rudder will be prioritized or cued based on this configuration.