In this video, we're going to take a look
at the more traditional way of configuring OSPF and the newer
way, with OSPF address families.
[MUSIC PLAYING]
And here's the topology that we're
going to be using for this set of videos.
We've got eight routers.
Everything up here in this area, all the interfaces,
are part of area 0, or will be, once it's all configured.
And this is area 1.
This is area 2.
And I'd like to share with you the more traditional way
of configuring OSPF for version 2 WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
of configuring OSPF for version 2
and also OSPF version 3, which is IPv6's flavor.
And then I'll show you the newer method with address families.
So we're going to use R1 for our little demonstration here.
Let me take you there right now.
So here on R1, let me just verify
we have no dynamic routing protocols running.
Show IP protocols.
No, not port bundles.
So close.
Show IP protocols.
And show IPv6 protocols.
So no dynamic routing protocols running.
Fantastic.
So the traditional way of configuring OSPF for IPv4
would be this.
We go into configuration mode. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
We go into configuration mode.
And then router-- spelled correct--
router ospf 1.
And then inside this routing process,
we'd do our network statements, like I
want to include everything.
That's a wildcard mask, everything matches.
And then put that in area 0.
And we could also do a passive interface command.
So passive interface.
And then we could say I want to go passive on gig 0/0.
And then do a do show IP ospf interface brief.
And there we have our interfaces. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
And there we have our interfaces.
So the gig 0/0, we're passive on it.
So that network is still inside of OSPF.
But we're not sending hellos on that interface.
And we also have the ability, with IPv4,
to go to an interface and actually add OSPF that way,
like interface.
And let's do gig 2/0.
It's already in OSPF, but as an example.
And here, it'd be ip ospf process ID 1.
And then we'd still say area, and that would also
add it in if the network statement had not gotten it in. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
add it in if the network statement had not gotten it in.
Great.
So to create a routing process for IPv6, what we could do
is just do a ipv6 router, ospf process ID number, press Enter.
And then in there, we could specify auto-cost reference
bandwidth.
But then we could actually go to the interfaces
to actually include those inside of OSPF
for IPv6, because there's no network statement function
in the IPv6 routing process.
So if we just went to the interfaces,
like interface gig--
let's go to gig 1/0.
And here we did ipv6, ospf, and process ID is 1, WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
And here we did ipv6, ospf, and process ID is 1,
and area is going to be 0.
That brings that interface into OSPF.
So if we do a do show ipv6 ospf interface brief, there we go.
We got gig 1/0, and we have a neighborship over good old R2,
is our neighbor over off that interface.
Fantastic.
That's the traditional way of doing it.
Now, let me go ahead and remove the OSPF for IPv4.
Oh, oh.
You know what?
Before I kill it, let's do this.
Let me do a show ip protocols. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Let me do a show ip protocols.
That'll show us the IPv4, and show IPv6 protocols.
It'll show us the IPv6.
And if we do a show ip ospf, or show ip v6 ospf and press
Enter, notice how it says ospf version 3.
And that's interesting, based on what you're about to see.
Because what we're about to do is I'm
going to remove these routing processes for IPv4 and IPv6.
And I'm going to show you a new or different way of doing it
with address families.
So let me clean up the work.
So I have removed both routing processes for IPv4 and IPv6. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So I have removed both routing processes for IPv4 and IPv6.
And let me go ahead and share with you
how you would do it with address families.
And to make this a little bit less of a typing exercise,
let me bring up this document I have,
and I'll make the font a little bit bigger too.
And here's the configuration for address families for OSPF.
We're going to go into router configuration mode,
but not for router OSPF, not for IPv6 router OSPF,
but rather for router OSPF v3, and then there's
our process number.
Now, this OSPF v3 is the address family version or flavor WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Now, this OSPF v3 is the address family version or flavor
of OSPF.
And-- this is the really important part--
it supports both IPv4 and IPv6, based
on their little compartments that they're referring
to as address families.
So when you hear the term of address families,
just think of it as a container or a compartment.
We're going to have address families
for many different things, including VRS.
But in this case, we're just taking a look
at the address families for IPv4 and IPv6
as part of the global routing table.
So once we're into router configuration mode for OSPF v3, WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So once we're into router configuration mode for OSPF v3,
process ID 1, we then move into this container or compartment
called address family for IPv4 unicast.
So this is also similar to how we'd move into a specific VRS
routing process.
So we specify IPv4 unicast, press Enter.
And then anything we do there-- like passive interfaces,
auto-cost reference bandwidth, and so forth--
that will apply to the address family called IPv4.
Then we can type in exit.
And then while still in router configuration mode
for OSPF version 3, we could then WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
for OSPF version 3, we could then
specify address family IPv6 unicast.
And boom, it moves us into the container, the address family,
regarding IPv6.
And then anything we do there, or that address family,
including things like a range command,
if we're doing summarization and ABR.
Or if we're doing a default information originate command
to bring in a default route or IPv6,
it would be done here as well.
But in both of these cases, there is no network statements.
IPv6 never had one.
And the IPv4 unicast address family doesn't have one.
So what we would then do is go to the actual interfaces WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So what we would then do is go to the actual interfaces
and simply say this.
OSPF version 3, process ID, which
we establish as 1, the area, the area number, and then
include IPv4 addresses or networks inside that area.
And that's what does it for IPv4.
And that's what does it for IPv6.
And then we'd simply go to the other interfaces
where we want OSPF support for both IPv4 addresses and IPv6,
and it'll enable it for us.
So what I'd like to do is go ahead
and apply these configuration commands to R1, WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
and apply these configuration commands to R1,
and then let me share with you a couple of brief show commands.
And then in the next video, what I'll do
is give you an opportunity in a hands-on lab
to actually implement OSPF version 3.
So I'll go ahead and highlight all that that I want to copy.
And right below it, by the way, is the config for R2,
and that goes on copy.
And if you want to do this when we go to lab in the next video,
if you want to do this manually by hand
and take your time, more power to you.
That's great.
That's what the lab is there for.
You get hands-on practice.
So when I click in the field here for R1,
right click to paste, and away we go. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
right click to paste, and away we go.
And the other routers, router 2, and 3, and 4, in my little demo
here, they are all good to go.
They're already set up.
So now if we do a show ipv6 routes,
we've learned all these routes, including
some OSPF learned routes.
But I want to share with you a few slight differences here.
If we do a show ip route, one of my favorite commands
of all times--
if we do a show ip route for ipv4, show ip route,
and we have some OSPF learned routes
as well, one of my favorite commands WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
as well, one of my favorite commands
has been show ip route and then the actual routing protocol
that you learn from, OSPF.
Look at that.
And that's because even though we're
running OSPF to support IPv4, we're
still running OSPF v3 with address family.
So the fix for that would be OSPF v3 learned routes.
And there's going to be our OSPF version 3 learned routes.
There's also a few other commands that
will be slightly different.
And actually, what I'll do is I'll
give you a chance in the next video to lab
this up, to go ahead and set it up and get WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
this up, to go ahead and set it up and get
hands-on practice with as many routers as you'd like to.
And then in the video following that,
I will share with you some of my favorite commands
and their equivalents if we're running OSPF version 3 proper
with address families.
And that way, you can have both the hands-on experience
and some practice with some show commands
to get better and better with it.
All right.
So I'll see you in the next video for some hands-on lab.
Meanwhile, I hope this has been informative for you.
And I'd like to thank you for viewing.