[AUDIO LOGO]
So of course, one of the requirements
for PIM sparse mode is we do have
to have a rendezvous point.
Now, how we discover that rendezvous point--
well, there are several different methods.
Those different methods we will be exploring in a future skill.
For right now, in this skill, just to get PIM sparse mode up
and running, we're simply going to do a static RP, which
means we're simply going to program
each router with the address of the rendezvous point.
So this is going to be a fairly simple configuration.
So let's jump into our topology, take a look at where
we're going to put the RP.
And then we'll jump into the command line
and configure our devices so that they know where the RP is.
So once again, we are on Multicast Topology 1.
And this time, we're going to be focusing on configuring the RP.
For the RP, we're going to be configuring router 4 down here.
And more specifically, we're going
to be configuring a loopback interface on router 4.
In fact, we're just going to use the one that's already there
with the address 10.4.4.4.
So that's going to be the RP that we're going to configure
on all of the devices.
Now, in this case, we're going to want to start on router 4
because we also need multicast enabled on that loopback
interface.
And we actually didn't enable multicast on our loopbacks.
So let's go ahead and jump in and start our configuration
on router 4.
And then of course, we'll configure all the other routers
to point to router 4 as the RP.
So the first thing we want to do here on router 4
is enable multicast on the loopback interface
that we're going to be using for the RP.
So we want to go into multicast-routing again.
And if we want, we can actually go directly into the address
family right from here.
So we can say multicast-routing ipv4.
Notice this drops me right into the address family.
And then we can say for our loopback 0 interface
to enable multicast routing on that interface.
The next thing we want to do is go into router pim.
Under router pim, we again want to go into the address-family
for ipv4.
And we want to configure a static RP.
The way we do this is simply by saying our rp-address
and then entering the IP address.
In this case, it's router 4's loopback.
So is 10.4.4.4.
We'll commit those changes.
And we'll exit out of configuration mode.
Now, if it took this configuration correctly,
we should be able to say show pim rp map.
And it will show us here that for the PIM Group-to-RP
mappings for the entire multicast group range,
the 224.0.0.0/4, the RP is in fact 10.4.4.4.
Keep in mind, as we look through these show commands,
whenever they're displaying that question mark,
it's because it's trying to do a reverse DNS
and show us the friendly name for that device.
In this particular environment, I
don't have DNS set up or configured.
And I don't have IP host names configured on the routers.
So it can't resolve the DNS names.
So we're just going to see that it has question marks in here.
But just be aware that that's why they're in there.
We also see for the info source, it's
not listing anybody, because it's been
elected via the configuration--
in other words, statically configured.
Also, that means it's never going to expire,
because, well, it's statically configured.
Now, the other IOS XR routers are
going to need these same commands
with the exception of enabling multicast routing
on their loopback interfaces.
But that being the case, we can configure all of them together.
So let's just go head over here to router 1.
We'll paste the configuration in.
We'll do the same on router 2 and on router 3.
Now, of course, it's a little bit different on IOS XE.
Not a lot.
But let's jump over to router 5 and take a look at the command.
So on router 5, it's going to be ip pim rp-address and then
the address 10.4.4.4.
So it's just a single command.
And we can exit configuration.
Notice right away, we get this line
protocol on interface Tunnel0, state changed to up.
That is the PIM control tunnel coming up for the RP.
Now, that doesn't mean it's a complete actual tunnel.
But this is the tunnel we will use for PIM register
messages going towards the RP.
Let's go ahead and configure router 6 and 7.
We can again just paste that configuration in.
So there's router 6.
We should see that tunnel come up.
There it is.
And router 7.
And there's our tunnel.
We won't actually see these on the RP side,
because IOS XR doesn't display it the same way.
While we're wrapping up this section, since this is really
all there is to configuring the RP address,
let's take a look at some good verification
commands on both IOS XR and IOS XE
that we'll be using throughout the rest of this skill.
Now, they may not all show us something
right now since we don't have a ton going on.
But let's at least get introduced to the commands.
Let's jump over to IOS XR.
We'll just take a look at router 1.
Now, a couple of these we have already looked at.
But we have the show ip pim interface.
This, of course, is a great command
to see which interfaces are running
PIM, your neighbors, hello intervals, what the DR is
on that segment, and so on.
Show pim neighbor, of course, will show you
your neighborships on each of your interfaces.
So again, these two commands we've looked at previously.
There's another good command--
mrinfo for multicast routing information.
And we could ask for, say, one of our neighbors.
We'll say for 10.2.2.2.
And this will give us information
about that multicast router.
So it'll even tell us things like what version of code
that it's running, its interfaces, and so on.
There's also a command show pim topology.
This is sort of like show ip mroute,
if you're familiar with that on IOS XE.
We'll be looking at that command as well.
But this is probably the closest equivalent
of that command on IOS XR.
However, there is also a command show mfib
route, which also will show you the multicast routing table.
So we'll be using both of these as we
go through the rest of this skill and future skills
on multicast.
But again, good information to keep an eye on.
We can also check things like RPF checks.
So if we wanted to see our current RPF check,
say, towards the rendezvous point's address,
we could do this.
And we could see that currently from router 1's perspective,
to get to router 4's loopback, it would go out Gigabit
0/0/0/1.
And the RPF neighbor is actually router 5, 172.16.135.5.
A lot of these commands are very similar over on IOS XE.
Let's take a look at router 5.
Most of these are going to be the same, except we add IP
into them on IOS XE.
So for example, show ip pim interface.
Again, we've seen this before.
Show ip pim neighbor.
Again, we've looked at this one previously as well.
But notice they're the same commands, almost
the same output.
Formatting is slightly different, and so on.
However, we add the word ip to them.
Show ip pim rp will show us the currently used RP
for any active group.
And if we do the same command but we add map to it,
it'll show us which RP will be used for which group range.
Now, here we can see that same mapping that we had on IOS XR,
where it's saying the entire multicast group range
is currently configured statically to go to the RP
10.4.4.4, which also indicates that our configuration worked
properly.
There's also show ip rpf.
So again, for example, we could look at router 4's loopback.
So we know the RPF interface to get to the rendezvous point.
And we see what it's telling us here,
is that it's going to go out interface
Gigabit 2 towards the RPF neighbor of router 4.
It's going to be following the route 10.4.4.4/32.
And it learned that information from OSPF 1.
And of course, last but not least,
one of our most useful commands on IOS XE, show ip mroute.
This will show us the multicast routing table.
Now, of course, you may have noticed, in all of the outputs,
the only group currently active is 224.0.1.40.
That's actually a group used by auto-RP.
We will discuss this again in more detail in a future skill.
But for right now, just notice that that actually
is a default group that the Cisco routers are listening to.
So again, these show commands didn't necessarily
show us a whole lot right now.
But I did want to introduce each one of them,
as we're going to be using them a lot in future videos
and skills.
So in this video, we took a look at how
to configure static RP on both IOS XR and IOS XE.
And as we saw, it's a fairly simple process.
We simply statically configure the address
of the rendezvous point.
And everybody simply uses that.
We also took a look at some very useful show commands, which
may not be so useful just yet.
But we'll be using them as we go along.
Now, there's also a protocol, IGMP, or Internet Group
Management Protocol, running on the edge
to the client or receiver.
So we need to talk about that in a little more detail as well.
And that's exactly what we're going to do next.
Until then, I hope this has been informative for you,
and I'd like to thank you for viewing.