1 00:00:00,000 --> 00:00:03,896 [AUDIO LOGO] 2 00:00:03,896 --> 00:00:08,000 3 00:00:08,000 --> 00:00:11,640 So now that we have auto-RP configured in our environment, 4 00:00:11,640 --> 00:00:15,080 it's time to talk about redundancy. 5 00:00:15,080 --> 00:00:18,620 Clearly, the rendezvous point is a single point 6 00:00:18,620 --> 00:00:22,880 of failure in any sparse mode multicast environment 7 00:00:22,880 --> 00:00:24,890 because without the rendezvous point, 8 00:00:24,890 --> 00:00:27,030 nobody can find the sources. 9 00:00:27,030 --> 00:00:30,200 So clearly, we're going to want to have redundant rendezvous 10 00:00:30,200 --> 00:00:31,010 points. 11 00:00:31,010 --> 00:00:35,390 And that's really not a problem with auto-RP, because that's 12 00:00:35,390 --> 00:00:37,160 the job of the mapping agent. 13 00:00:37,160 --> 00:00:41,360 It collects the information from all of the candidate RPs, 14 00:00:41,360 --> 00:00:42,950 however many there are. 15 00:00:42,950 --> 00:00:44,750 It chooses the winner. 16 00:00:44,750 --> 00:00:46,550 And then it announces that winner 17 00:00:46,550 --> 00:00:48,390 to everybody else on the network. 18 00:00:48,390 --> 00:00:50,810 And if that winner were to go down, 19 00:00:50,810 --> 00:00:53,330 it will simply choose another winner 20 00:00:53,330 --> 00:00:56,460 and then announce that to everybody on the network. 21 00:00:56,460 --> 00:01:00,540 So auto-RP handles this quite easily. 22 00:01:00,540 --> 00:01:02,990 Now, you could also make the argument 23 00:01:02,990 --> 00:01:05,510 that the mapping agent itself could 24 00:01:05,510 --> 00:01:07,500 be a single point of failure. 25 00:01:07,500 --> 00:01:09,800 Now, we're not going to talk about that a whole lot, 26 00:01:09,800 --> 00:01:13,460 because it's actually quite a simple solution. 27 00:01:13,460 --> 00:01:17,070 Simply create more than one mapping agent. 28 00:01:17,070 --> 00:01:18,460 That's it. 29 00:01:18,460 --> 00:01:24,590 All we have to do is make sure that those auto-RP messages-- 30 00:01:24,590 --> 00:01:28,110 remember the scope we set on the candidate RPs? 31 00:01:28,110 --> 00:01:30,480 And we said that the candidate RP 32 00:01:30,480 --> 00:01:33,600 message has to be able to make it to the mapping agent. 33 00:01:33,600 --> 00:01:34,200 Yeah. 34 00:01:34,200 --> 00:01:36,810 Well, you just need to make sure that it can reach 35 00:01:36,810 --> 00:01:39,270 all of the mapping agents. 36 00:01:39,270 --> 00:01:42,780 As long as all of the mapping agents learn about all 37 00:01:42,780 --> 00:01:45,120 of the candidate RPs, well, they're 38 00:01:45,120 --> 00:01:47,890 all going to make the same decision in the same way. 39 00:01:47,890 --> 00:01:52,240 So you could have two mapping agents, 10 mapping agents. 40 00:01:52,240 --> 00:01:53,560 It doesn't matter. 41 00:01:53,560 --> 00:01:56,280 They will all come to the same conclusion 42 00:01:56,280 --> 00:01:59,310 as to which candidate RP should win. 43 00:01:59,310 --> 00:02:02,850 And then they'll all announce that to the network. 44 00:02:02,850 --> 00:02:04,860 Doesn't matter which one I learn that 45 00:02:04,860 --> 00:02:08,050 from if I'm learning the exact same information. 46 00:02:08,050 --> 00:02:11,070 So redundant mapping agents, no problem. 47 00:02:11,070 --> 00:02:12,810 Just configure them. 48 00:02:12,810 --> 00:02:16,630 Redundant RPs, well, they're also no problem, 49 00:02:16,630 --> 00:02:18,870 but let's go ahead and jump in and take a look 50 00:02:18,870 --> 00:02:20,700 because what we really want to see here 51 00:02:20,700 --> 00:02:24,060 is how the decision is made on the mapping agent. 52 00:02:24,060 --> 00:02:27,763 So all of that said, let's bring up our topology 53 00:02:27,763 --> 00:02:29,430 just real quickly to take a look at what 54 00:02:29,430 --> 00:02:30,750 we're going to be configuring. 55 00:02:30,750 --> 00:02:33,330 And then of course, we'll jump onto the command line, 56 00:02:33,330 --> 00:02:38,580 configure our redundant RP, and see what happens. 57 00:02:38,580 --> 00:02:42,890 So once again, we are still on Multicast Topology 1. 58 00:02:42,890 --> 00:02:47,090 And what we already have configured, just as a reminder, 59 00:02:47,090 --> 00:02:52,640 router 2 is already configured as a candidate RP for auto-RP. 60 00:02:52,640 --> 00:02:55,170 And therefore, is currently, of course, 61 00:02:55,170 --> 00:02:59,420 being chosen as the winner by the mapping agent, which 62 00:02:59,420 --> 00:03:02,780 is currently running on router 5's loopback interface. 63 00:03:02,780 --> 00:03:06,200 And what we're going to be doing in this video 64 00:03:06,200 --> 00:03:08,720 is we're going to go ahead and bring router 65 00:03:08,720 --> 00:03:12,680 4 back in as a redundant rendezvous point. 66 00:03:12,680 --> 00:03:15,600 Or maybe it will become the primary rendezvous point. 67 00:03:15,600 --> 00:03:18,270 We have to do this and see what happens. 68 00:03:18,270 --> 00:03:21,410 So let's go ahead and jump into the configuration. 69 00:03:21,410 --> 00:03:23,720 Clearly, we'll just start on router 4, 70 00:03:23,720 --> 00:03:26,540 configuring it to be a redundant RP. 71 00:03:26,540 --> 00:03:30,610 And then we'll take a look at what happens. 72 00:03:30,610 --> 00:03:34,650 So in order to configure router 4 as a candidate RP, 73 00:03:34,650 --> 00:03:38,610 we do have to ensure that multicast routing is 74 00:03:38,610 --> 00:03:40,360 enabled on its loopback. 75 00:03:40,360 --> 00:03:43,140 Now, it should be from previous configurations 76 00:03:43,140 --> 00:03:44,970 that we're already on router 4. 77 00:03:44,970 --> 00:03:45,990 But let's verify it. 78 00:03:45,990 --> 00:03:48,300 Let's do a show pim interface. 79 00:03:48,300 --> 00:03:51,030 And as we can see, loopback 0 does 80 00:03:51,030 --> 00:03:53,830 in fact have multicast routing enabled on it. 81 00:03:53,830 --> 00:03:56,650 So that means that router 4 should be good to go. 82 00:03:56,650 --> 00:03:58,395 Let's just go into configuration mode. 83 00:03:58,395 --> 00:04:02,190 84 00:04:02,190 --> 00:04:05,960 We'll go into router pim for address family ipv4. 85 00:04:05,960 --> 00:04:08,210 And we'll configure auto-RP. 86 00:04:08,210 --> 00:04:10,790 This time, we're going to do the candidate-rp 87 00:04:10,790 --> 00:04:12,560 like we did on router 2. 88 00:04:12,560 --> 00:04:17,089 So candidate-rp once again off the loopback 0 interface. 89 00:04:17,089 --> 00:04:19,260 We have to configure the scope. 90 00:04:19,260 --> 00:04:22,250 So we'll set the scope to 16 once again. 91 00:04:22,250 --> 00:04:26,520 We'll commit these changes and exit configuration. 92 00:04:26,520 --> 00:04:28,520 So now let's go take a look at what's 93 00:04:28,520 --> 00:04:30,860 going on, on the mapping agent. 94 00:04:30,860 --> 00:04:34,100 So on router 5, the first thing to note 95 00:04:34,100 --> 00:04:37,160 is we've gotten a new tunnel interface, which 96 00:04:37,160 --> 00:04:41,240 again generally indicates that we've learned a new RP. 97 00:04:41,240 --> 00:04:44,990 So let's do our show ip pim rp map. 98 00:04:44,990 --> 00:04:48,890 And notice what's happening here on the mapping agent. 99 00:04:48,890 --> 00:04:52,070 It's learning both RPs. 100 00:04:52,070 --> 00:04:57,110 So it has RP 10.4.4.4 for the entire group 101 00:04:57,110 --> 00:05:00,650 range learned from router 4. 102 00:05:00,650 --> 00:05:04,410 It also knows about router 2 being the RP. 103 00:05:04,410 --> 00:05:07,470 Info source on that one is router 2. 104 00:05:07,470 --> 00:05:14,460 But notice that router 4 says, "elected via Auto-RP." 105 00:05:14,460 --> 00:05:18,660 And router 2 just says, "via Auto-RP." 106 00:05:18,660 --> 00:05:22,770 So it learned about both of them from auto-RP. 107 00:05:22,770 --> 00:05:26,670 But router 4 has been elected. 108 00:05:26,670 --> 00:05:31,200 Now, I would love to tell you that auto-RP's mapping 109 00:05:31,200 --> 00:05:34,110 agent has some big fancy algorithm 110 00:05:34,110 --> 00:05:36,510 that it uses to choose the winner. 111 00:05:36,510 --> 00:05:37,770 But it doesn't. 112 00:05:37,770 --> 00:05:40,770 It's literally choosing the rendezvous point 113 00:05:40,770 --> 00:05:43,440 with the highest IP address. 114 00:05:43,440 --> 00:05:44,610 That's it. 115 00:05:44,610 --> 00:05:49,740 10.4.4.4 is higher than 10.2.2.2. 116 00:05:49,740 --> 00:05:52,950 Therefore, router 4 wins, which really 117 00:05:52,950 --> 00:05:55,830 means that as administrators, we don't really 118 00:05:55,830 --> 00:05:59,610 have a lot of control over which of our redundant rendezvous 119 00:05:59,610 --> 00:06:01,680 points get chosen. 120 00:06:01,680 --> 00:06:04,305 Now, there's a certain argument to that 121 00:06:04,305 --> 00:06:05,940 that it shouldn't matter. 122 00:06:05,940 --> 00:06:09,240 If all of these RPs are equal and they can all 123 00:06:09,240 --> 00:06:12,360 be chosen equally out of a pool, then it really 124 00:06:12,360 --> 00:06:15,720 shouldn't matter which one the mapping agent chooses. 125 00:06:15,720 --> 00:06:18,975 So to a certain extent, highest IP address 126 00:06:18,975 --> 00:06:22,650 is really just almost a random choice in that 127 00:06:22,650 --> 00:06:24,570 it shouldn't matter which one. 128 00:06:24,570 --> 00:06:27,510 The only control we would really have as administrators 129 00:06:27,510 --> 00:06:31,140 here is to change the IP addresses of the rendezvous 130 00:06:31,140 --> 00:06:31,890 points. 131 00:06:31,890 --> 00:06:33,450 But let's go ahead and take a look 132 00:06:33,450 --> 00:06:36,400 at what this looks like on the other routers. 133 00:06:36,400 --> 00:06:39,690 So for example, let's jump over to router 6. 134 00:06:39,690 --> 00:06:42,340 Once again, we see that tunnel up. 135 00:06:42,340 --> 00:06:45,540 And if we look at our show ip pim rp map here, 136 00:06:45,540 --> 00:06:49,230 notice the only rendezvous point that router 6 137 00:06:49,230 --> 00:06:52,620 knows about is router 4. 138 00:06:52,620 --> 00:06:56,790 It's learned this from the mapping agent, router 5. 139 00:06:56,790 --> 00:06:59,190 The reason this is so important is 140 00:06:59,190 --> 00:07:03,750 because in auto-RP, the only router that knows about all 141 00:07:03,750 --> 00:07:07,170 of the RPs are the mapping agents. 142 00:07:07,170 --> 00:07:09,820 Now, in our case, we only have one mapping agent. 143 00:07:09,820 --> 00:07:11,730 But if we had more than one, they 144 00:07:11,730 --> 00:07:13,800 would all know the information. 145 00:07:13,800 --> 00:07:16,770 They would all choose the RP with the highest IP address. 146 00:07:16,770 --> 00:07:18,510 And that one would win. 147 00:07:18,510 --> 00:07:21,450 But either way, all of the other routers 148 00:07:21,450 --> 00:07:23,250 that are not mapping agents are only 149 00:07:23,250 --> 00:07:27,220 going to learn about the one RP address. 150 00:07:27,220 --> 00:07:30,370 Of course, we can look at any of these, and it'll be the same. 151 00:07:30,370 --> 00:07:33,270 We'll just verify this in our command window. 152 00:07:33,270 --> 00:07:38,320 153 00:07:38,320 --> 00:07:40,440 We'll do our show ip pim rp map. 154 00:07:40,440 --> 00:07:43,290 Now, of course, we just saw this on router 6. 155 00:07:43,290 --> 00:07:46,030 But let's go ahead and take a look at the other routers. 156 00:07:46,030 --> 00:07:48,210 So we'll just start on router 1 here. 157 00:07:48,210 --> 00:07:51,480 Notice again, it knows about router 4. 158 00:07:51,480 --> 00:07:56,550 And the info source is router 5, elected via auto-RP. 159 00:07:56,550 --> 00:08:00,070 Router 2 here has the exact same information. 160 00:08:00,070 --> 00:08:02,130 So does router 3. 161 00:08:02,130 --> 00:08:04,380 So does router 4. 162 00:08:04,380 --> 00:08:06,810 We've, of course, already looked at 5 and 6. 163 00:08:06,810 --> 00:08:11,280 So here on router 7, we see that it knows the same information 164 00:08:11,280 --> 00:08:12,400 as well. 165 00:08:12,400 --> 00:08:14,490 And just as some final verifications, 166 00:08:14,490 --> 00:08:19,890 if we do a show ip mroute, we see here for the star comma G 167 00:08:19,890 --> 00:08:24,690 tree that the RP is 10.4.4.4. 168 00:08:24,690 --> 00:08:28,530 So clearly, it's using the correct RP for the star comma G 169 00:08:28,530 --> 00:08:29,520 trees. 170 00:08:29,520 --> 00:08:32,580 By the way, also notice this S comma G group down 171 00:08:32,580 --> 00:08:33,659 at the bottom. 172 00:08:33,659 --> 00:08:38,080 This is, of course, the auto-RP group now having 173 00:08:38,080 --> 00:08:42,190 a proper source of router 5, which is the mapping agent, 174 00:08:42,190 --> 00:08:47,620 because remember that the 224.0.1.40 is the group used 175 00:08:47,620 --> 00:08:50,950 by the mapping agent to tell everybody else 176 00:08:50,950 --> 00:08:52,790 who the rendezvous point is. 177 00:08:52,790 --> 00:08:55,150 So it makes sense that the mapping agent 178 00:08:55,150 --> 00:08:57,700 is the source for that group. 179 00:08:57,700 --> 00:09:00,250 And one final verification, just to make 180 00:09:00,250 --> 00:09:02,770 sure our traffic is still flowing, 181 00:09:02,770 --> 00:09:04,960 we'll do our mroute count. 182 00:09:04,960 --> 00:09:09,310 We see that currently, there are 279 packets that have been 183 00:09:09,310 --> 00:09:11,980 forwarded on the source tree. 184 00:09:11,980 --> 00:09:14,360 We give it a second and do it again. 185 00:09:14,360 --> 00:09:16,450 It's now 284. 186 00:09:16,450 --> 00:09:18,610 So once again, all of the traffic 187 00:09:18,610 --> 00:09:21,190 is being forwarded properly by the data plane 188 00:09:21,190 --> 00:09:26,830 through our environment with our redundant RP candidates. 189 00:09:26,830 --> 00:09:30,720 So in this video, we configured router 4 190 00:09:30,720 --> 00:09:33,540 to be, well, a redundant RP. 191 00:09:33,540 --> 00:09:37,110 But as we saw, since it has a higher IP address, 192 00:09:37,110 --> 00:09:40,800 it actually ended up taking over as the active RP. 193 00:09:40,800 --> 00:09:46,080 And router 2 actually became the standby or redundant RP 194 00:09:46,080 --> 00:09:48,030 in this particular environment. 195 00:09:48,030 --> 00:09:49,830 And again, that decision is solely 196 00:09:49,830 --> 00:09:55,260 made based on the higher IP address of the candidate RPs. 197 00:09:55,260 --> 00:09:58,830 Remember that decision is made on the mapping agent. 198 00:09:58,830 --> 00:10:02,880 The mapping agent, as we saw, is the only router 199 00:10:02,880 --> 00:10:06,510 that's aware of all of the candidate RPs. 200 00:10:06,510 --> 00:10:10,530 Router 5 knew about router 2 and router 4. 201 00:10:10,530 --> 00:10:15,240 But all of the other routers only knew about router 4 202 00:10:15,240 --> 00:10:18,460 after the mapping agent had made its decision. 203 00:10:18,460 --> 00:10:22,990 So this is pretty much sums up how auto-RP works. 204 00:10:22,990 --> 00:10:25,860 However, there is another option when 205 00:10:25,860 --> 00:10:29,500 it comes to automatically learning the RP's address. 206 00:10:29,500 --> 00:10:33,490 And that is Bootstrap Router, or BSR. 207 00:10:33,490 --> 00:10:36,340 And that's exactly what we're going to take a look at next. 208 00:10:36,340 --> 00:10:39,850 Till then, I hope this has been informative for you, 209 00:10:39,850 --> 00:10:42,900 and I'd like to thank you for viewing. 210 00:10:42,900 --> 00:10:46,000