1 00:00:00,000 --> 00:00:03,944 [AUDIO LOGO] 2 00:00:03,944 --> 00:00:08,100 3 00:00:08,100 --> 00:00:10,420 So of course, one of the requirements 4 00:00:10,420 --> 00:00:13,450 for PIM sparse mode is we do have 5 00:00:13,450 --> 00:00:15,280 to have a rendezvous point. 6 00:00:15,280 --> 00:00:18,830 Now, how we discover that rendezvous point-- 7 00:00:18,830 --> 00:00:21,160 well, there are several different methods. 8 00:00:21,160 --> 00:00:26,560 Those different methods we will be exploring in a future skill. 9 00:00:26,560 --> 00:00:31,180 For right now, in this skill, just to get PIM sparse mode up 10 00:00:31,180 --> 00:00:35,500 and running, we're simply going to do a static RP, which 11 00:00:35,500 --> 00:00:37,090 means we're simply going to program 12 00:00:37,090 --> 00:00:40,640 each router with the address of the rendezvous point. 13 00:00:40,640 --> 00:00:43,970 So this is going to be a fairly simple configuration. 14 00:00:43,970 --> 00:00:47,800 So let's jump into our topology, take a look at where 15 00:00:47,800 --> 00:00:49,300 we're going to put the RP. 16 00:00:49,300 --> 00:00:51,340 And then we'll jump into the command line 17 00:00:51,340 --> 00:00:57,120 and configure our devices so that they know where the RP is. 18 00:00:57,120 --> 00:01:01,100 So once again, we are on Multicast Topology 1. 19 00:01:01,100 --> 00:01:05,120 And this time, we're going to be focusing on configuring the RP. 20 00:01:05,120 --> 00:01:09,330 For the RP, we're going to be configuring router 4 down here. 21 00:01:09,330 --> 00:01:11,660 And more specifically, we're going 22 00:01:11,660 --> 00:01:15,500 to be configuring a loopback interface on router 4. 23 00:01:15,500 --> 00:01:18,650 In fact, we're just going to use the one that's already there 24 00:01:18,650 --> 00:01:23,030 with the address 10.4.4.4. 25 00:01:23,030 --> 00:01:26,150 So that's going to be the RP that we're going to configure 26 00:01:26,150 --> 00:01:27,990 on all of the devices. 27 00:01:27,990 --> 00:01:31,820 Now, in this case, we're going to want to start on router 4 28 00:01:31,820 --> 00:01:35,630 because we also need multicast enabled on that loopback 29 00:01:35,630 --> 00:01:36,530 interface. 30 00:01:36,530 --> 00:01:41,390 And we actually didn't enable multicast on our loopbacks. 31 00:01:41,390 --> 00:01:44,600 So let's go ahead and jump in and start our configuration 32 00:01:44,600 --> 00:01:45,650 on router 4. 33 00:01:45,650 --> 00:01:48,590 And then of course, we'll configure all the other routers 34 00:01:48,590 --> 00:01:53,370 to point to router 4 as the RP. 35 00:01:53,370 --> 00:01:56,070 So the first thing we want to do here on router 4 36 00:01:56,070 --> 00:01:59,730 is enable multicast on the loopback interface 37 00:01:59,730 --> 00:02:02,130 that we're going to be using for the RP. 38 00:02:02,130 --> 00:02:05,230 So we want to go into multicast-routing again. 39 00:02:05,230 --> 00:02:08,729 And if we want, we can actually go directly into the address 40 00:02:08,729 --> 00:02:10,479 family right from here. 41 00:02:10,479 --> 00:02:13,890 So we can say multicast-routing ipv4. 42 00:02:13,890 --> 00:02:17,280 Notice this drops me right into the address family. 43 00:02:17,280 --> 00:02:21,000 And then we can say for our loopback 0 interface 44 00:02:21,000 --> 00:02:25,390 to enable multicast routing on that interface. 45 00:02:25,390 --> 00:02:29,850 The next thing we want to do is go into router pim. 46 00:02:29,850 --> 00:02:33,060 Under router pim, we again want to go into the address-family 47 00:02:33,060 --> 00:02:34,590 for ipv4. 48 00:02:34,590 --> 00:02:37,950 And we want to configure a static RP. 49 00:02:37,950 --> 00:02:41,640 The way we do this is simply by saying our rp-address 50 00:02:41,640 --> 00:02:44,010 and then entering the IP address. 51 00:02:44,010 --> 00:02:46,990 In this case, it's router 4's loopback. 52 00:02:46,990 --> 00:02:49,740 So is 10.4.4.4. 53 00:02:49,740 --> 00:02:51,840 We'll commit those changes. 54 00:02:51,840 --> 00:02:54,540 And we'll exit out of configuration mode. 55 00:02:54,540 --> 00:02:57,340 Now, if it took this configuration correctly, 56 00:02:57,340 --> 00:03:01,020 we should be able to say show pim rp map. 57 00:03:01,020 --> 00:03:05,310 And it will show us here that for the PIM Group-to-RP 58 00:03:05,310 --> 00:03:09,060 mappings for the entire multicast group range, 59 00:03:09,060 --> 00:03:18,370 the 224.0.0.0/4, the RP is in fact 10.4.4.4. 60 00:03:18,370 --> 00:03:21,220 Keep in mind, as we look through these show commands, 61 00:03:21,220 --> 00:03:23,860 whenever they're displaying that question mark, 62 00:03:23,860 --> 00:03:26,890 it's because it's trying to do a reverse DNS 63 00:03:26,890 --> 00:03:31,240 and show us the friendly name for that device. 64 00:03:31,240 --> 00:03:33,460 In this particular environment, I 65 00:03:33,460 --> 00:03:35,920 don't have DNS set up or configured. 66 00:03:35,920 --> 00:03:39,170 And I don't have IP host names configured on the routers. 67 00:03:39,170 --> 00:03:42,440 So it can't resolve the DNS names. 68 00:03:42,440 --> 00:03:45,110 So we're just going to see that it has question marks in here. 69 00:03:45,110 --> 00:03:48,140 But just be aware that that's why they're in there. 70 00:03:48,140 --> 00:03:50,560 We also see for the info source, it's 71 00:03:50,560 --> 00:03:53,080 not listing anybody, because it's been 72 00:03:53,080 --> 00:03:56,030 elected via the configuration-- 73 00:03:56,030 --> 00:03:58,570 in other words, statically configured. 74 00:03:58,570 --> 00:04:01,510 Also, that means it's never going to expire, 75 00:04:01,510 --> 00:04:04,700 because, well, it's statically configured. 76 00:04:04,700 --> 00:04:07,630 Now, the other IOS XR routers are 77 00:04:07,630 --> 00:04:09,580 going to need these same commands 78 00:04:09,580 --> 00:04:13,270 with the exception of enabling multicast routing 79 00:04:13,270 --> 00:04:15,290 on their loopback interfaces. 80 00:04:15,290 --> 00:04:19,410 But that being the case, we can configure all of them together. 81 00:04:19,410 --> 00:04:21,649 So let's just go head over here to router 1. 82 00:04:21,649 --> 00:04:25,810 We'll paste the configuration in. 83 00:04:25,810 --> 00:04:31,805 We'll do the same on router 2 and on router 3. 84 00:04:31,805 --> 00:04:35,240 85 00:04:35,240 --> 00:04:38,390 Now, of course, it's a little bit different on IOS XE. 86 00:04:38,390 --> 00:04:39,380 Not a lot. 87 00:04:39,380 --> 00:04:42,540 But let's jump over to router 5 and take a look at the command. 88 00:04:42,540 --> 00:04:47,960 So on router 5, it's going to be ip pim rp-address and then 89 00:04:47,960 --> 00:04:50,630 the address 10.4.4.4. 90 00:04:50,630 --> 00:04:52,590 So it's just a single command. 91 00:04:52,590 --> 00:04:54,650 And we can exit configuration. 92 00:04:54,650 --> 00:04:56,750 Notice right away, we get this line 93 00:04:56,750 --> 00:05:01,070 protocol on interface Tunnel0, state changed to up. 94 00:05:01,070 --> 00:05:05,780 That is the PIM control tunnel coming up for the RP. 95 00:05:05,780 --> 00:05:08,450 Now, that doesn't mean it's a complete actual tunnel. 96 00:05:08,450 --> 00:05:11,810 But this is the tunnel we will use for PIM register 97 00:05:11,810 --> 00:05:14,870 messages going towards the RP. 98 00:05:14,870 --> 00:05:17,330 Let's go ahead and configure router 6 and 7. 99 00:05:17,330 --> 00:05:22,010 We can again just paste that configuration in. 100 00:05:22,010 --> 00:05:23,223 So there's router 6. 101 00:05:23,223 --> 00:05:24,640 We should see that tunnel come up. 102 00:05:24,640 --> 00:05:25,570 There it is. 103 00:05:25,570 --> 00:05:26,920 And router 7. 104 00:05:26,920 --> 00:05:31,150 105 00:05:31,150 --> 00:05:32,740 And there's our tunnel. 106 00:05:32,740 --> 00:05:35,530 We won't actually see these on the RP side, 107 00:05:35,530 --> 00:05:39,010 because IOS XR doesn't display it the same way. 108 00:05:39,010 --> 00:05:42,100 While we're wrapping up this section, since this is really 109 00:05:42,100 --> 00:05:44,680 all there is to configuring the RP address, 110 00:05:44,680 --> 00:05:47,080 let's take a look at some good verification 111 00:05:47,080 --> 00:05:51,580 commands on both IOS XR and IOS XE 112 00:05:51,580 --> 00:05:54,650 that we'll be using throughout the rest of this skill. 113 00:05:54,650 --> 00:05:56,980 Now, they may not all show us something 114 00:05:56,980 --> 00:05:59,510 right now since we don't have a ton going on. 115 00:05:59,510 --> 00:06:02,410 But let's at least get introduced to the commands. 116 00:06:02,410 --> 00:06:04,450 Let's jump over to IOS XR. 117 00:06:04,450 --> 00:06:06,790 We'll just take a look at router 1. 118 00:06:06,790 --> 00:06:09,370 Now, a couple of these we have already looked at. 119 00:06:09,370 --> 00:06:12,370 But we have the show ip pim interface. 120 00:06:12,370 --> 00:06:14,020 This, of course, is a great command 121 00:06:14,020 --> 00:06:15,700 to see which interfaces are running 122 00:06:15,700 --> 00:06:19,840 PIM, your neighbors, hello intervals, what the DR is 123 00:06:19,840 --> 00:06:21,820 on that segment, and so on. 124 00:06:21,820 --> 00:06:26,160 125 00:06:26,160 --> 00:06:29,010 Show pim neighbor, of course, will show you 126 00:06:29,010 --> 00:06:32,080 your neighborships on each of your interfaces. 127 00:06:32,080 --> 00:06:35,370 So again, these two commands we've looked at previously. 128 00:06:35,370 --> 00:06:37,860 There's another good command-- 129 00:06:37,860 --> 00:06:41,160 mrinfo for multicast routing information. 130 00:06:41,160 --> 00:06:43,830 And we could ask for, say, one of our neighbors. 131 00:06:43,830 --> 00:06:46,140 We'll say for 10.2.2.2. 132 00:06:46,140 --> 00:06:48,540 And this will give us information 133 00:06:48,540 --> 00:06:51,030 about that multicast router. 134 00:06:51,030 --> 00:06:53,490 So it'll even tell us things like what version of code 135 00:06:53,490 --> 00:06:57,460 that it's running, its interfaces, and so on. 136 00:06:57,460 --> 00:07:01,300 There's also a command show pim topology. 137 00:07:01,300 --> 00:07:05,290 This is sort of like show ip mroute, 138 00:07:05,290 --> 00:07:08,530 if you're familiar with that on IOS XE. 139 00:07:08,530 --> 00:07:10,670 We'll be looking at that command as well. 140 00:07:10,670 --> 00:07:13,540 But this is probably the closest equivalent 141 00:07:13,540 --> 00:07:17,510 of that command on IOS XR. 142 00:07:17,510 --> 00:07:21,110 However, there is also a command show mfib 143 00:07:21,110 --> 00:07:25,740 route, which also will show you the multicast routing table. 144 00:07:25,740 --> 00:07:28,310 So we'll be using both of these as we 145 00:07:28,310 --> 00:07:30,860 go through the rest of this skill and future skills 146 00:07:30,860 --> 00:07:32,240 on multicast. 147 00:07:32,240 --> 00:07:35,880 But again, good information to keep an eye on. 148 00:07:35,880 --> 00:07:39,260 We can also check things like RPF checks. 149 00:07:39,260 --> 00:07:42,620 So if we wanted to see our current RPF check, 150 00:07:42,620 --> 00:07:45,780 say, towards the rendezvous point's address, 151 00:07:45,780 --> 00:07:47,060 we could do this. 152 00:07:47,060 --> 00:07:50,330 And we could see that currently from router 1's perspective, 153 00:07:50,330 --> 00:07:54,080 to get to router 4's loopback, it would go out Gigabit 154 00:07:54,080 --> 00:07:55,700 0/0/0/1. 155 00:07:55,700 --> 00:08:03,410 And the RPF neighbor is actually router 5, 172.16.135.5. 156 00:08:03,410 --> 00:08:07,160 A lot of these commands are very similar over on IOS XE. 157 00:08:07,160 --> 00:08:09,290 Let's take a look at router 5. 158 00:08:09,290 --> 00:08:12,560 Most of these are going to be the same, except we add IP 159 00:08:12,560 --> 00:08:15,020 into them on IOS XE. 160 00:08:15,020 --> 00:08:20,550 So for example, show ip pim interface. 161 00:08:20,550 --> 00:08:22,410 Again, we've seen this before. 162 00:08:22,410 --> 00:08:25,290 Show ip pim neighbor. 163 00:08:25,290 --> 00:08:27,790 Again, we've looked at this one previously as well. 164 00:08:27,790 --> 00:08:30,330 But notice they're the same commands, almost 165 00:08:30,330 --> 00:08:31,260 the same output. 166 00:08:31,260 --> 00:08:33,669 Formatting is slightly different, and so on. 167 00:08:33,669 --> 00:08:37,010 However, we add the word ip to them. 168 00:08:37,010 --> 00:08:41,870 Show ip pim rp will show us the currently used RP 169 00:08:41,870 --> 00:08:44,039 for any active group. 170 00:08:44,039 --> 00:08:47,640 And if we do the same command but we add map to it, 171 00:08:47,640 --> 00:08:53,490 it'll show us which RP will be used for which group range. 172 00:08:53,490 --> 00:08:58,250 Now, here we can see that same mapping that we had on IOS XR, 173 00:08:58,250 --> 00:09:01,700 where it's saying the entire multicast group range 174 00:09:01,700 --> 00:09:05,930 is currently configured statically to go to the RP 175 00:09:05,930 --> 00:09:11,030 10.4.4.4, which also indicates that our configuration worked 176 00:09:11,030 --> 00:09:12,140 properly. 177 00:09:12,140 --> 00:09:15,020 There's also show ip rpf. 178 00:09:15,020 --> 00:09:18,750 So again, for example, we could look at router 4's loopback. 179 00:09:18,750 --> 00:09:23,030 So we know the RPF interface to get to the rendezvous point. 180 00:09:23,030 --> 00:09:24,890 And we see what it's telling us here, 181 00:09:24,890 --> 00:09:26,810 is that it's going to go out interface 182 00:09:26,810 --> 00:09:31,310 Gigabit 2 towards the RPF neighbor of router 4. 183 00:09:31,310 --> 00:09:36,480 It's going to be following the route 10.4.4.4/32. 184 00:09:36,480 --> 00:09:42,010 And it learned that information from OSPF 1. 185 00:09:42,010 --> 00:09:43,880 And of course, last but not least, 186 00:09:43,880 --> 00:09:49,300 one of our most useful commands on IOS XE, show ip mroute. 187 00:09:49,300 --> 00:09:53,090 This will show us the multicast routing table. 188 00:09:53,090 --> 00:09:56,080 Now, of course, you may have noticed, in all of the outputs, 189 00:09:56,080 --> 00:10:00,880 the only group currently active is 224.0.1.40. 190 00:10:00,880 --> 00:10:04,150 That's actually a group used by auto-RP. 191 00:10:04,150 --> 00:10:08,090 We will discuss this again in more detail in a future skill. 192 00:10:08,090 --> 00:10:10,630 But for right now, just notice that that actually 193 00:10:10,630 --> 00:10:14,930 is a default group that the Cisco routers are listening to. 194 00:10:14,930 --> 00:10:17,170 So again, these show commands didn't necessarily 195 00:10:17,170 --> 00:10:19,160 show us a whole lot right now. 196 00:10:19,160 --> 00:10:21,250 But I did want to introduce each one of them, 197 00:10:21,250 --> 00:10:24,790 as we're going to be using them a lot in future videos 198 00:10:24,790 --> 00:10:27,270 and skills. 199 00:10:27,270 --> 00:10:30,500 So in this video, we took a look at how 200 00:10:30,500 --> 00:10:36,680 to configure static RP on both IOS XR and IOS XE. 201 00:10:36,680 --> 00:10:39,900 And as we saw, it's a fairly simple process. 202 00:10:39,900 --> 00:10:42,170 We simply statically configure the address 203 00:10:42,170 --> 00:10:43,620 of the rendezvous point. 204 00:10:43,620 --> 00:10:46,100 And everybody simply uses that. 205 00:10:46,100 --> 00:10:49,790 We also took a look at some very useful show commands, which 206 00:10:49,790 --> 00:10:51,890 may not be so useful just yet. 207 00:10:51,890 --> 00:10:54,810 But we'll be using them as we go along. 208 00:10:54,810 --> 00:10:59,630 Now, there's also a protocol, IGMP, or Internet Group 209 00:10:59,630 --> 00:11:02,690 Management Protocol, running on the edge 210 00:11:02,690 --> 00:11:05,370 to the client or receiver. 211 00:11:05,370 --> 00:11:09,030 So we need to talk about that in a little more detail as well. 212 00:11:09,030 --> 00:11:11,780 And that's exactly what we're going to do next. 213 00:11:11,780 --> 00:11:15,200 Until then, I hope this has been informative for you, 214 00:11:15,200 --> 00:11:18,370 and I'd like to thank you for viewing. 215 00:11:18,370 --> 00:11:22,000