So now we move on to trunk ing configuration,
as you see in our diagram here in our apology on packet tracer
where I'm having my mouth right now.
So it's three and switch for So the top left switch ISS. Which one? The top of right switches switched. Three.
between these four switches switched to and the bottom right is switched for. It's kind of hard to see. Switch one and two. Since the links are covering
I'm going to configure trunk ing
on switch one Port one
and switched to Port one.
If I have her in my mouse over these
and again, it's kind of hard to see because it gets too cluttered.
switch one. Port one is connected to switch to port one
switch. One port to is connected to switch to port. To
switch. One. Port three is connected to switch. Three. Port three. This one's a little bit clearer as you see which 10 slash three is connected to switch to zeros. Last three. That would be fascinated and zero slash three
and switch one Port. Four. It's connected to switch three. Port four. So all four switches are connected to
another switch on port 1234
and not to make it too complicated, I am going to configure trunk ing on switch one, port one and the other end of the link, which is switched to port one.
So I'm going to go ahead and log in to switch one.
and we're inside of switch one.
And our switch has a name
because at the end of the day, I saved my configured. So when I restarted the lab, our work from yesterday is saved.
you go into config mode.
If you remember, this is where we do all our convicts from
next. I need to make changes to port one on switch one
because that's going to be a trunk.
Since it is connected to port one on switch to
so the rule and Cisco To make changes to a port, you have to first go inside of the port,
fast Internet zero slash one,
and you see that are prompt changed here to configure if
which means I am inside of interface Fascinating. At 01
we manually configure trunk ing
and there is a way to manually set trunk ing,
used dynamic Trucking Protocol
two. I don't negotiate trunk ing,
So if I do the command do show
you turn it zero slash one,
followed by the keyword
default? This port is in DTP dynamic auto mode.
So the switch we're using right now is a 35 60 switch. And if you remember, I said that all ports on switches that end with the number 60
have all the airports.
the number 60 as their model number is the last number. And this is a 35 60 switch. Have all their pores by default in dynamic auto mode.
So this side on switch one port one isn't dynamic auto.
The other side switched to port one. It's a similar switch. It is also a 35 60. That port is also in dynamic auto. So by default, if two sides are
talk trying to talk to each other and both sides are dynamic auto, the trunk will not automatically go up.
So if I do the command do Show,
interface, trunk. You will see that I don't see anything
now if you remember from our lecture on dynamic trucking Protocol, If one side is dynamic desirable and the other side is dynamic auto, the port will become will be turned into a trunk.
execute the question mark or the help feature,
you see the word dynamic. One of the options is access, the other option is dynamic and the third option is trunk. When we created access ports, ports that only carry one villain, we used this access option. We said switch po'd mod access. Now I'm going to use the dynamic act option.
So I say switch port mode dynamic.
And now I have two options. Auto or desirable.
This port port F zero slash one on switch one is by default in dynamic auto mode, The other side on switch to Port one is also in dynamic auto mode. So I need to turn this into a dynamic, desirable
port to bring up the trunk.
So I execute the command Swissport mode dynamic, desirable and hit. Enter
and you see some logging messages appear immediately on the switch and it says line total call on interface. Fast interface Faceted at 01 changed to up
and then went back down. But then it went back up. It sometimes does that, uh, the poor bounces back and forth a few times before it steady steadies itself.
Now let's see if you have a trunk new show
port f zero slash one Say's status. Trunk ing
the mood say's auto. Actually, this should say desirable. This is an error inside of packet tracer. So whoever programmed the simulator made an error and the mood still say's Otto, Although it should say desirable,
the encapsulation types A's
The n stands for negotiated. So DTP was used between switch one Port one and switched to Port one to negotiate a trunk ing protocol. Remember, we have to trucking protocols. One is interest, which link, which is
Cisco proprietary and the other one, the open standard, is IEEE it 2.1 cube.
So switch one and switch to negotiated and picked it. 2.1 Q as their trunk ing protocol.
The N stands for negotiated.
The status is strong King and the native land by default is villain. One.
If you remember, the native villain off a 0.1 Q trunk is the villain that grows across the trunk.
So this is the villain that the switch does not add a tag or an identifier to
the villains that are allowed on the trunk by default?
Well, this, which can have a total of 1000 and five villains. So by default, all villains are allowed over the trump. That could be a test question
Once again. By default, all villains are allowed on the trunk.
Now let's go look at switch to
and see if we have a trunk up on that side to which we should.
So I'm gonna go ahead and log in to switch to
go. Do config mood by executing configure terminal
and say, Do show interface truck
that fast Lieutenant 01 on switch to as mode by default set to auto, and this is correct.
Then calculation was negotiated to go to that one. Q. And the status is trunk ing
the native villain once again is villain one and all the lands are allowed on the trunk by default.
Gonna hop back to switch one.
You see the problem change to switch one from switch to.
Now. The next thing I'm going to do is I'm going to modify the villains allowed list.
You don't want to leave
all your villains open like this allowed over the trunk because it is a security risk.
I'm gonna execute the command, which poor
villain. And now I can create a list of allowed villains
Now, by default be on Lee.
We only had veal and one on the switch to start off with. And then we created the land 1 50
So I'm gonna allow villain one
And let's just say we had veal on 200 through
So I'm gonna allow villains 200 through to 20 also over the trunk.
I'm doing this. Just assure you that you have the option of allowing single bee lands with separated by a comma or a range of villains
separated by a hyphen.
So the villains allowed over the trunk.
Now we'll be villain one villain 1 52 100 to 2 20
Let's see if that list has changed when we look at our
trunk again. So I will execute the command. Do show interface trunk one more time, and you see that the villains allowed on the trunk list
has been modified to villain 11 52 100 to 2 20
Next, I'm going to change the native villain on the trunk to Villain 1 50
So I'm going to say switch port
Since I've changed the native villain from 1 to 1 50 now well, at 1 50 will be the villain that goes over the trunk. Untapped. So which one will never add? Attack to villain 1 50
when it transfers. Is the trunk link as long as villain 1 50 is native?
Let's see if we actually this change took effect.
And if you see my native villain has changed from real and 1 52 villain
from villain one too real and 1 50
now, if we wait a little bit, we will see that the switch will start complaining that there is a native land mismatch, so I'm gonna leave switch. Here we go. I thought I would have to wait longer, but here we go.
So CDP is a protocol that runs between
Cisco Devices by default automatically. We haven't covered CDP yet, but this protocol seedy P is reporting that the native villain on the other end of the link, which is switched to Port One, is still real. And one in the native villain on this end of the link is villain 1 50
So to stop the switch from complaining every now and then,
we have to go to switch to restore what to switch to if you notice
and switch to is also complaining that the other end is Villain 1 50 I'm Bill and one as my native villain. So we're going to switch over. Need a villain to be land 1 50 on this end.
So first I go into the interface
fast. It's a net zero slash one,
and then I say same commands. Which poor trunk
Well, screw sport Trunk Native
Let's check to make sure
the villain has changed over. The native villain has switched over to 1 50 yes, it has
it is always a good idea to keep commands consistent on both ends off a trump's link.
on Switch one, we had modified the villains allowed on trunk list. Let's modify it on sweets to also.
So I'm going to say Switch Port
allowed villain 11 50
than 200 through to 20 to keep it consistent with the other end.
Now let's look at our trunk again.
New show interface trunk
and I'm shortening interface to I NT, which works just fine.
And our villains allowed on trunk list has been modified.
So let's pop back into Switch one.
And we are going to look at a little bit more detail for Port one on Switch one
there is no mistake. Fassi Tenement Fascinating and zero slash one shows that is it. It is in dynamic, desirable mode. If we check on the other side, you will see that
switch to Port One is in dynamic auto mood, and I'm going to do that in just a minute.
You also see that the native villain for the 0.1 Q trunk has changed to villain 1 50
and the villains enabled, Or the trunk or the villains allowed over the trunk of the land. 111 52 100 through to 20.
Let's go check the other end,
and I say, Do show I nt short for interface
fast Internet. I'm just going to use the letter f zero slash one
and S W for switchboard so I can shorten the command. This is the same command it actually says. Do show interface fast, Lieutenant. 01 switchboard
and I'm going to hit, Enter
and you see that switched to port run shows as dynamic auto.
The native villain of the trunk. Once again matches switch one, which is 1 50 the villains allowed over the trunk list also matches Switch one, which is 11 52 102 20.
the dynamic Otto and the dynamic desirable mode between switch one and switch to
what about the last mode?
DPS last more than it can run in is mode on,
so I'm going to switch over to mode DTP mode on and unconditionally set switch one pork 1 to 2 trunk ing,
so I execute the command switchboard
Now let's look at the trunk. Do show interface
Now the mood stays on. This is DTP mode on
before it says it, said Dynamic should have said Dynamic, Desirable. It said Mode Auto, that was a mistake and packet tracer. But now it stays mode on.
and choose mode on on Switched to also. So I'm going to do the same command over Swissport mode
this command was rejected at this end
because the encapsulation type or the DTP mode on this end is set to auto, and the switch is basically telling me that if
if the mood is set to auto,
then you need to manually pick what type of trucking protocol you're going to use over this link. If you don't want to negotiate, you want to just unconditionally set this side to mode DTP mode on.
Then you better pick the trunk ing protocol. Also, either i sl or 0.1 cube.
So let's go ahead and pick 0.1 cube.
and if I say space question mark and execute the help feature.
The only option we have is 0.1 Q.
Nowadays on switches, you don't even get the option of running. I sl
and I sl encapsulates the original frame in a 26 bite header
and a four bite footer that's 30 extra bites
0.1. Q. Simply insert a four bite tag into the original frame, so that's less overhead.
Now it is. Actually, this command won't even be available on the switch is because the switch will automatically picked that one. Q.
The reason this command exists in packet trace or still is because
this command is part off the CCN a course,
so pack it trace. They're supposed to be a learning to. Hence this command still exist in Packet Tracer.
So I'm going to say, Switch for trunk and cast relation
and hit Enter. Now let's look at our trunk again.
So do show interface trunk. I'm simply scrolling through my command history, using the up and down arrow keys so I don't have to type them over again.
Actually, this should have changed over this end. Should have disappeared let me go ahead and manually said the encapsulation type on switch one. Also
for sport trunk encapsulation Got one. Q.
And now look at our trunk Do show interface trunk,
and you see that the encapsulation tight now
does not have it in front of it.
That is because now you're not negotiating the encapsulation, you are simply manually setting the encapsulation. 2.1 Q.
This should have changed over on switch to also. Now
let's bounce the port by shutting it down
and bringing it back up. So I simply executed the shut command and no shutdown Command to bring it back up.
And now let's look at our trunk.
The instilled has not disappeared on this end, and it really should so
That's manually set the trunk ing, too.
Just manually. Set the trunk into trunk, said the port to trunk
And now, look, let's look at our trunk again,
Okay, that seemed to have worked.
for the trunk ing is on,
and the encapsulation is 0.1 Q. Without an end in front off it. That means you are not negotiating this trunk ing at this point any more.
Now I'm gonna ask myself a question and answer it.
Since we're not negotiating trunk ing,
we're not negotiating our trucking per call. I'm not asking the other end. Hey, what protocol between I sl and dot want to? Would you like to use? I have manually said it too
0.1 cue with the command
switchboard trunk encapsulation 0.1 Q. I have manually set the trunk ing encapsulation,
so I'm not negotiating that
I'm not negotiating whether I want to be a trunk or not.
I have simply set the mood to DTP on
or unconditionally set this support to trunk ing.
Do I really need DTP at this point,
or am I still running DTP? At this point?
fast Internet zero slash one
my administrative trunk encapsulation is 0.1 cube,
my operational modus trunk.
My administrative mode is trunk.
if I look at negotiation of trunk ing, it's still on, which means I'm still sending DTP frames back and forth between switch one port one and switch to port one.
That should not be the case because I'm using a bandwidth sending frames that I have no need for at this point.
So let's turn off DTP at this point
on. Switch to I'm going to do the command switch Port
So I don't want to negotiate trunk ing with the other end at this point.
Also on switch one, I'm going to go execute the same command switch port.
Now let's check on both sides. So let's go to switch to first and see if I have turned off DTP.
And now if I look at negotiation of trunk ing, it stays off
because I don't need to send DTP frames across the link anyways, So I'm just wasting bandwith if I'm sending frames that I don't need. So I turned negotiation off
Let's check on switch one. Also
gonna flip to switch one.
Do show interface Fascinating, as you know, slash one
and also on this side. I see that negotiation of trunk ing is off.
Let's look at our show run or show running config.
Remember that is stored in ram and this is
our current configuration. The current changes that we have made, we haven't saved these yet, so let's look at them. Do show
running dash or hyphen Config
and scroll down to port one. And you see all the commands that we did our here.
Now, are these saved to our start up and sing?
Let's look at our startup Infect Do show
If I look at my startup config You don't see anything under port one
because we haven't saved These can fix yet,
Remember, our safe command is copy
which is our source file too.
Startup config, which is our destination file.
and it's asking me Are you sure you want to do this?
And I had enter again and it stays building configuration. Now let's look at our startup configure game.
all our config sitting here and we do
the trunk ing configuration part of the lecture.
I am going to take a moment
since it will be redundant for you to sit here and watch me do all for these switches. But switch 123 and four. Port
123 and four. I'm going to execute the same commands that we just did on Switch one and switch to over and over again. Okay, folks, I have gone ahead and configured
Port 123 and four on each switch
into a trunk. So I just want to show you that they have been configured Show
And, as you see, Port one, too.
Three and four are all in mode on,
which is DTP mode on which is unconditionally set. Decide to trunk ing
and the trunk type. Is it? 2.1 cue status. Its trunk ing and the native villain has been changed for all ports to 1 50
That is switched one. Let's look at switch to
once again, you see port 123 and four are trunks. Let's check switch three.
and we have four trunks on switch three. Moving on to switch for
And that said, Always check your work and verify that the changes you have made have applied before. Moving on to your next job
and once again on switch for we have poured 1 to 2 and four that are trunk ing