All right, it's time to now configure the same port channel with LACP.
I have gotten onto those interfaces, I have wiped the configurations, and I've
placed
them into a shutdown state.
We're going to configure them for LACP, and from there we'll look at a couple
of additional
configurations.
So on switch one here, I'm going to do a config T, interface range gig zero
slash zero through
three, and I'm just going to say channel group mode, whoops, for at the number.
This time we'll just say port channel 10 each time.
So channel group 10 mode, and then I see I can pick active and passive for LACP WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So channel group 10 mode, and then I see I can pick active and passive for LACP
.
So what I'm going to do is just set as I've got up here already active and
passive on
the diagram.
And we just need active on one side in real world networks.
Oftentimes we just use active everywhere, but we might as well go ahead and do
active
and passive make sure it comes up.
So I'm going to say mode active on switch one.
Same thing, it creates port channel 10's interface.
Now I'm going to come over to switch to interface range zero slash zero through WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Now I'm going to come over to switch to interface range zero slash zero through
three, and then
channel group 10 mode.
We said we do passive on this side.
Now while I'm here, I'm going to say no shut to shut down the or do no shut on
these interfaces.
And then I'll do a show ether channel summary as these interfaces come online.
We should see that this bundle comes up.
All right, very good.
So we see now that our port channel is listed with a protocol LACP. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So we see now that our port channel is listed with a protocol LACP.
We see that our four parts are all online with capital P's.
So that's a good thing.
If I go to switch to and do a show either channel summary, one of the most
common commands we
use with ether channel, ether channel support, we see that all four of these
ports are online
as well.
At this point, I know that there's no misconfiguration on the other side
because it wouldn't have
come up without LACP.
If I were to do a config T and get onto one of these interfaces, let's say gig
zero three WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
zero three
and do a no channel group 10 mode on.
Take a quick look at the configuration to make sure that worked.
Yeah.
All right.
So we don't have LACP configured anymore on that port.
So show ether channel summary tells me that I only have three ports.
So what's switch one going to say?
Well, it already said that LACP is not enabled show ether channel summary.
And we see that it's placed into a suspended state. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
And we see that it's placed into a suspended state.
So this is very important.
I could have just created a loop by accidentally not including the fourth port
ID, but because
it's LACP, switch one simply places it into a suspended state.
If I do a show interface gig zero slash three, we see that it's in this up down
state, which
doesn't happen very often, but we are told why in this case it has been
suspended and
it's referring to the ether channel suspension.
So let's go ahead and fix that. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So let's go ahead and fix that.
I'm going to get back onto int gig zero slash three channel group 10 mode.
Actually, on this side, we said it was passive.
There we go.
So what if it's passive on both sides?
Well, we could do that over here in range gig zero slash zero through three
channel group
10 mode passive.
Let's just go ahead and shut these ports down.
We'll do a no shot in the virtual world. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
We'll do a no shot in the virtual world.
Sometimes it helps to just give the interfaces of kicking the pants like that.
So show ether channel summary.
And we're going to see that they're all in the suspended state.
Because as these error messages just scroll down by, let's see if we can find
them there
they are.
They're all suspended because LACP is not enabled.
But we know LACP is enabled.
It's just also in the passive state.
So two passive ports aren't going to come up here.
We see the same errors on switch to where it says LACP is not enabled over WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
We see the same errors on switch to where it says LACP is not enabled over
there.
So that is where we need to make sure that we have active on at least one side.
So let's get back onto that range of interfaces.
I'll do a shutdown on it.
I'll change it to say channel group 10 mode active and then do a no shot.
And that should bring our ether channel back online.
So let's see here.
If I do a show ether channel summary now, we should see that it is back online WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
If I do a show ether channel summary now, we should see that it is back online
all four
ports here and show ether channel summary.
I will say this.
When you're running LACP, if it's up on one side, it's going to be up on the
other.
So LACP won't allow a port to be up on one side if it's not on the other.
So there's probably redundant to check this.
Okay.
So let's go ahead and see what happens when we want to use that hot standby
concept.
What we're going to do is we're going to use the concept of a max bundle.
The max bundle allows me to set a number, in our case, we're going to use two, WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
The max bundle allows me to set a number, in our case, we're going to use two,
to say
that this is the max number of ports that should be bundled together.
So we're going to do is we're going to create a situation where I've got two of
them bundled
together and the others are going to be known as hot standby.
So they're going to we're going to see an H here.
In fact, if we look just to the left, we see hot standby being a thing.
Notice LACP only.
So let's go ahead and do that.
We're just going to clean up a little bit there. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
We're just going to clean up a little bit there.
There we go.
So I'm going to use this max bundle command.
It goes right on the port channel interface.
So it can fig T interface port channel 10.
And then I can say LACP max bundle two.
There we go.
Switch one.
Let's do the same thing.
Interface port channel 10.
We need to make sure this goes on the LACP master.
And you know, at this point, we'll just put it on both just in case. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
And you know, at this point, we'll just put it on both just in case.
T max bundle and we'll say two.
All right.
So what we should see is that they negotiate which of these ports is going to
be excluded
from the bundle.
So let's go ahead and just do our show ether channel summary command.
And we see that two of these ports have been placed in the hot standby.
Now notice which ports were selected.
Like zero slash zero and zero slash one were placed into primary operation,
whereas zero WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
whereas zero
to zero three replaced in the hot standby.
This was not an accident.
This was very predictable because remember, we have the concept of port IDs and
port priorities.
And all the port priorities are the same.
So what breaks the tie?
The lower ports win.
Usually if it's a layer two protocol, in our case, LACPs, I know we can make
layer three
port channels, but usually at that point, the bundle is still considered layer
two, either
way layer two, usually the lower priority wins layer three, usually the higher
priority WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
priority
wins, something we can do to keep track.
So in our case, the lower priority or lower port ID in this case wins.
And therefore gig zero zero and gig zero one were placed into the bundle,
whereas gig
zero two and gig zero three were placed into hot standby.
So that's a pretty cool way to see that.
And if for any reason, let's just get onto an interface here and gig zero zero,
we'll
do a shut, we're going to quickly go to the other side as well into gig zero
zero and
shut because as a virtual environment, shutting one side doesn't immediately WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
shut because as a virtual environment, shutting one side doesn't immediately
shut the other
side.
So we want to shut both of these.
And now if I run that same command on switch one, or really either one of these
show ether
channel summary.
We will see that gig zero two, the next lowest port was placed into the bundle
because gig
zero zero is down.
So how about that gig zero zero comes back online.
This port will be placed back into the hot standby state and it keeps us cr
anking with
the number of the number of ports that we want in that bundle. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
the number of the number of ports that we want in that bundle.
So that is how we configure LACP.
I will say that, you know, as far as verification is concerned, show ether
channel summary is
going to be one of our best friends.
We're going to use this command an awful lot to see what's happening.
We can do a show ether channel without the summary and get some interesting
information.
You'd almost think that this is a shortened form up here of what we'd get
without the
summary.
Let me go ahead and wipe the drawing. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Let me go ahead and wipe the drawing.
There we go.
So, but it's really a bunch of different types of information.
So it's not a bad command to run.
And then we can also do a show interface port channel 10 and then tag on ether
channel
in the end.
And we'll get some information about port channel 10.
Tells us a little bit about the load on the individual interfaces, the amount
of time it's
been up, the protocol and so on and so forth.
So some good verification commands here that we can run.
But in the end, what we care about a lot, let's go back to that show spanning
tree VLAN WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
tree VLAN
one command.
Remember from a layer two perspective, we had all kinds of these gig zero zero
interfaces
up here.
I know this is a bunch of interfaces.
But notice gig zero zero through zero three doesn't show up in this list.
What does show up is now they are unified behind a single logical layer two
connection
and that port channel can be placed individually as a whole into forwarding and
blocking states
and so on and so forth.
So that's the value of ether channels and this is how we configure LACP WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So that's the value of ether channels and this is how we configure LACP
specifically.