1 00:00:00,000 --> 00:00:00,948 2 00:00:00,948 --> 00:00:04,266 [AUDIO LOGO] 3 00:00:04,266 --> 00:00:07,590 4 00:00:07,590 --> 00:00:11,080 Congratulations on completing another skill. 5 00:00:11,080 --> 00:00:15,730 Now, it's time for a review in the form of a quiz. 6 00:00:15,730 --> 00:00:20,860 So let's go ahead and jump in with our first question. 7 00:00:20,860 --> 00:00:24,180 Which of the following BGP attributes 8 00:00:24,180 --> 00:00:28,920 are generally used to effect outbound path selection? 9 00:00:28,920 --> 00:00:34,510 10 00:00:34,510 --> 00:00:40,200 So all of these can be used to effect BGP traffic flow, 11 00:00:40,200 --> 00:00:42,900 but the key here is, of course, that we're 12 00:00:42,900 --> 00:00:46,590 talking about outbound updates. 13 00:00:46,590 --> 00:00:49,320 And during our discussion, we did 14 00:00:49,320 --> 00:00:53,050 mention which of these are generally used for outbound. 15 00:00:53,050 --> 00:00:55,510 So let's go down our list. 16 00:00:55,510 --> 00:00:57,570 The first is weight. 17 00:00:57,570 --> 00:00:59,940 And weight has a very important attribute 18 00:00:59,940 --> 00:01:01,740 towards this discussion. 19 00:01:01,740 --> 00:01:07,060 Weight is, of course, only local to the device. 20 00:01:07,060 --> 00:01:09,570 And since it's local to the device, 21 00:01:09,570 --> 00:01:12,270 it actually can't affect anything other 22 00:01:12,270 --> 00:01:15,820 than the outbound decision from that device. 23 00:01:15,820 --> 00:01:21,430 So 1, weight would definitely be a correct answer. 24 00:01:21,430 --> 00:01:24,570 Number 2 is AS path prepending. 25 00:01:24,570 --> 00:01:28,270 Now, we haven't spoken about this one in depth yet. 26 00:01:28,270 --> 00:01:33,420 However, this is generally used for inbound. 27 00:01:33,420 --> 00:01:37,560 Technically, yes, it could be used for outbound. 28 00:01:37,560 --> 00:01:43,150 But we did in the question say, generally used to effect. 29 00:01:43,150 --> 00:01:47,880 Therefore, AS path prepending, although it could technically 30 00:01:47,880 --> 00:01:52,650 be used for outbound decisions, it usually is not. 31 00:01:52,650 --> 00:01:54,870 Therefore, I would consider answer 2 32 00:01:54,870 --> 00:01:56,950 be an incorrect answer. 33 00:01:56,950 --> 00:01:59,580 Number 3 is MED. 34 00:01:59,580 --> 00:02:02,580 Once again, this is an attribute we haven't spoken 35 00:02:02,580 --> 00:02:07,020 about in detail, but this one also 36 00:02:07,020 --> 00:02:10,380 is used for inbound decisions. 37 00:02:10,380 --> 00:02:14,790 The idea behind MED is it will influence the return path. 38 00:02:14,790 --> 00:02:18,480 The return path would, of course, be inbound. 39 00:02:18,480 --> 00:02:23,400 Therefore, we're going to consider 3 incorrect as well. 40 00:02:23,400 --> 00:02:26,050 Number 4 is local preference. 41 00:02:26,050 --> 00:02:30,460 Well, just like weight, we have the word local here. 42 00:02:30,460 --> 00:02:35,370 However, it is local in this case not to the router, 43 00:02:35,370 --> 00:02:42,690 but local to the AS, meaning it's only sent in iBGP updates. 44 00:02:42,690 --> 00:02:46,530 Since it's only affecting the local AS, once again 45 00:02:46,530 --> 00:02:49,770 without the assistance of something else like BGP 46 00:02:49,770 --> 00:02:54,420 communities, this would, again, only be for outbound decisions, 47 00:02:54,420 --> 00:02:57,700 making for another correct answer. 48 00:02:57,700 --> 00:03:02,630 So in this case, our answers are 1 and 4. 49 00:03:02,630 --> 00:03:04,370 Next question. 50 00:03:04,370 --> 00:03:07,850 Which of the following AS paths would 51 00:03:07,850 --> 00:03:15,050 be considered equal to 100 200 37 4 52 00:03:15,050 --> 00:03:18,950 for the purposes of shortest AS path? 53 00:03:18,950 --> 00:03:24,930 54 00:03:24,930 --> 00:03:29,360 So when we were discussing the AS path length in our overview, 55 00:03:29,360 --> 00:03:33,650 we mentioned that it's the number of ASes, not 56 00:03:33,650 --> 00:03:35,430 the actual values. 57 00:03:35,430 --> 00:03:38,420 So realistically, what we have here 58 00:03:38,420 --> 00:03:45,900 is 1, 2, 3, and 4 AS numbers. 59 00:03:45,900 --> 00:03:51,110 So all we have to do is look down our list and say 1 2 60 00:03:51,110 --> 00:03:53,750 3, that's not 4. 61 00:03:53,750 --> 00:03:57,260 So that's definitely going to be an incorrect answer. 62 00:03:57,260 --> 00:04:01,730 1, 2, 3, 4, that one's 4. 63 00:04:01,730 --> 00:04:04,440 So that is a correct answer. 64 00:04:04,440 --> 00:04:07,050 Remember, we're looking for equal here. 65 00:04:07,050 --> 00:04:12,590 So our next answer, 1, 2, 3, 4, 5. 66 00:04:12,590 --> 00:04:14,990 Clearly that's not correct. 67 00:04:14,990 --> 00:04:16,730 So 3 is incorrect. 68 00:04:16,730 --> 00:04:21,740 And of course, answer 4 here 1, 2, 3, 4. 69 00:04:21,740 --> 00:04:24,450 And again, clearly correct. 70 00:04:24,450 --> 00:04:30,020 So in this example, 2 and 4 are both four AS numbers, 71 00:04:30,020 --> 00:04:34,170 which would be equal to the given path. 72 00:04:34,170 --> 00:04:35,910 Next question. 73 00:04:35,910 --> 00:04:39,630 What will be the default weight of a prefix 74 00:04:39,630 --> 00:04:42,660 if it's learned from an iBGP peer? 75 00:04:42,660 --> 00:04:48,570 76 00:04:48,570 --> 00:04:50,890 So two big things we need to consider here. 77 00:04:50,890 --> 00:04:53,220 First, of course, we're looking at weight 78 00:04:53,220 --> 00:04:56,220 and we're looking at learned. 79 00:04:56,220 --> 00:04:58,020 In this particular case, it really 80 00:04:58,020 --> 00:05:00,870 doesn't matter if it's iBGP. 81 00:05:00,870 --> 00:05:04,140 It's just the fact that it's a learned route. 82 00:05:04,140 --> 00:05:06,340 So let's go down our list. 83 00:05:06,340 --> 00:05:10,980 Number 1-- 16384, this is actually not the default value 84 00:05:10,980 --> 00:05:13,320 for anything in BGP. 85 00:05:13,320 --> 00:05:18,750 Number 2-- 32768, well, this one can actually 86 00:05:18,750 --> 00:05:22,410 be the default weight, but only if the prefix 87 00:05:22,410 --> 00:05:24,890 is being injected locally. 88 00:05:24,890 --> 00:05:29,540 Therefore, once again, 2 would be an incorrect answer. 89 00:05:29,540 --> 00:05:33,020 Just to skip ahead for a moment, number 4-- 90 00:05:33,020 --> 00:05:38,150 100, this one's actually the default for local preference, 91 00:05:38,150 --> 00:05:40,560 but not for weight. 92 00:05:40,560 --> 00:05:43,620 So again, 4 would be an incorrect answer. 93 00:05:43,620 --> 00:05:46,700 The correct answer is for a learned prefixes, 94 00:05:46,700 --> 00:05:49,670 the default weight will be 0. 95 00:05:49,670 --> 00:05:52,970 Remember, weight highest wins. 96 00:05:52,970 --> 00:05:58,130 Therefore, 0 is actually the worst value. 97 00:05:58,130 --> 00:05:59,780 Final question. 98 00:05:59,780 --> 00:06:04,100 Which of the following paths would be chosen as best? 99 00:06:04,100 --> 00:06:09,930 100 00:06:09,930 --> 00:06:12,200 So here we're given a variety of paths 101 00:06:12,200 --> 00:06:14,480 with different attributes. 102 00:06:14,480 --> 00:06:18,240 Now, the first thing to keep in mind is weight, of course, 103 00:06:18,240 --> 00:06:20,292 is going to be considered first. 104 00:06:20,292 --> 00:06:22,250 So what we have to do is we have to look to see 105 00:06:22,250 --> 00:06:23,990 if the weights are equal. 106 00:06:23,990 --> 00:06:26,810 We have a weight of 90, a weight of 100, 107 00:06:26,810 --> 00:06:30,230 and then we have two weights of 110. 108 00:06:30,230 --> 00:06:32,360 So what's going to happen at this point 109 00:06:32,360 --> 00:06:36,950 is BGP is going to choose the highest weight. 110 00:06:36,950 --> 00:06:41,210 That means that path 1 is going to be eliminated 111 00:06:41,210 --> 00:06:44,600 and path 2 is going to be eliminated. 112 00:06:44,600 --> 00:06:47,510 Then it will look at paths 3 and 4, 113 00:06:47,510 --> 00:06:51,080 and it'll look next to local preference. 114 00:06:51,080 --> 00:06:53,540 Here we have a local preference of 100 115 00:06:53,540 --> 00:06:56,630 and a local preference of 200. 116 00:06:56,630 --> 00:06:58,880 Highest local preference wins. 117 00:06:58,880 --> 00:07:01,550 So once again, what's going to happen here 118 00:07:01,550 --> 00:07:04,790 is path 3 will be eliminated. 119 00:07:04,790 --> 00:07:07,340 And that means that path 4 is going 120 00:07:07,340 --> 00:07:11,030 to be our correct answer with a weight of 110 121 00:07:11,030 --> 00:07:15,290 and a local preference of 200. 122 00:07:15,290 --> 00:07:17,910 So that concludes this quiz. 123 00:07:17,910 --> 00:07:21,080 If you find that you are missing any of the information needed 124 00:07:21,080 --> 00:07:23,360 to answer these questions, please 125 00:07:23,360 --> 00:07:26,930 be sure to go back and review the referenced videos 126 00:07:26,930 --> 00:07:29,070 on each question. 127 00:07:29,070 --> 00:07:32,450 Otherwise, congratulations on completing 128 00:07:32,450 --> 00:07:35,850 explain outbound BGP path selection. 129 00:07:35,850 --> 00:07:38,090 I hope this has been informative for you, 130 00:07:38,090 --> 00:07:41,320 and I'd like to thank you for viewing. 131 00:07:41,320 --> 00:07:44,000