we're done with access ports.
The two steps to create an access port.
Our creative Ellen, Step one and Step two is assigning that villain to a port.
that port becomes part of that one villain,
it becomes an access port, especially the command switch. Port Mod Access unconditionally sets that port to access mode. And then the camp command, transport, access villain and the villain I d in this case, it being 1 50 So switch port access. Villain 1 50 puts that port in Villain 1 50
So that was the first type of link
that can exist on a switch, Which is your access ling.
off link that can exist on a switch is your trunk link. A trunk link can carry more than one villain at a time. Why would that be needed? Oh, go to our little box diagram. Again, this is switch one on the link between them on this is switch
Both of these are connected to each other on faster than a zero slash 24
report 24. And let's say
So I'm gonna shorten the land to be l 10 in pc to on switch to in villain 10 then PC three on switch one in Villain 20 and P. C. Four on switch to and villain 20 if this link between switch one and switch to
If we were to put that in
then on Lee PC one, which is in Bill, and 10 NPC to which is in Bill and 10 can talk to each other. Remember I said that villains can transfer switches well,
at this point, we are only transfers England 10 across this link, connecting the two switches
pc three and P C. Four, and they can't talk to each other.
If I were to put this link
then BC three NBC four would be able to talk to each other. But
BC one and two. No, there wouldn't be able to talk to each other.
I have another option.
I could create another link between these two devices
as zero slash 23 abs, you know slash 23 on both ends
and have one carry villain 10 and the other one carry villain 20.
But then again, that's a waste of ports. What if you have 10 villains purse, which you're gonna use up 10 ports on each switch just to carry the villain across?
So Cisco came up with a better idea.
How about we have one link between the switches? Let's keep it AB zero slash 24 0 slash 24
and allow it to carry both villain 10
And now you're not wasting ports
because or one port you carrying multiple villains more than one villain in the trunk Link is a link that carries more than one villain at a time.
But how does this happen
when PC one tries to talk to PC TO and PC three tries to talk to P C. Four at the same time? Remember, this is full duplex. The sending switch sends all its frames on for 24 out tour. Switch to
how will switch to know which frame belongs to rich villain. How will switch to differentiate between frames coming from PC one, which is in Bill and 10 and frames coming from PC three, which is in the land? 20.
switch. One will actually
put an identify on the frame
the frame that, Okay, you're part of Dilantin.
And another frame from PC three, for example, will have a tag put in it, saying that you're this frame is from villain 20.
So each frame coming from Bill PC one or PC three when the switch sends it out towards which one sends it out to our switch to,
well, haven't identify inside off it identifying
the villain that the frame belongs to.
So when sweets to receives a frame coming from PC one, the frame will have an idea that says, this friend belongs to be lon 10. So that way, switch to will know to Ford this frame out to PC to
ah, frame from PC three. Switch one bill at a tag to it, saying this friend belongs to be land 20.
So when switch to receives the frame from PC three, which one would have already tagged it within villain, I d off 20 so switch to will know this frame goes to be land 20 or in this case, P. C four.
Now, how is this done? This frame tagging
is done using one of two protocols,
So this is a subheading frame tagging or trunk ing protocols. The 1st 1
is Inter Switch Link. Now what interest Wish Link does
and interest rates. Linkous, Cisco proprietary So you cannot run interest. Which link are the short
on a non Cisco device? I s Ellis Cisco. Proprietary.
Now what I SL does is it takes the original frame, for example, frame coming from Bill and 10
and it encapsulate. Or it surrounds the original frame in a new header. Or, in a new frame.
A new 26 bite frame with the 26 bite header and a four bite footer. So a total of 30 bites.
So I SL puts a new frame around the original frame, and this new friend has a field in it that identifies the villain the frame belongs to.
So you take the frame.
Think of the frame original frame as a as a letter,
and you put it in a new envelope or you put the on look in another bigger on bullet.
That new frame, the isil frame has a field inside off it.
That says villain I D. Is 10 or villain ideas? 20. So
the isil frame as an identifying field for the villains that's being carried inside.
The other one is the open standard, which is I Triple E 802.1 q. By open standard, I mean, all networking devices are all switches can use this. It is not Siskel proprietary.
is insert a four bite field.
Justin takes a four bite feel that inserts it in the original frame, and that four bite field is a tag identifying what the land this frame belongs to.
So if the frame belongs to be land 10. Attagirl, save the land. 10. It's just inserted into the original frame.
Keep in mind, though, that the maximum transmission unit for Ethernet is 1500 bytes.
When you add four bites
you get a frame that is 15 04 bites.
This little tidbit of information come in will come in handy when you get to your CCN piece.
For now, it's a relevant kind of for CNN, but do remember it also,
the 802.1 Q Drinking Protocol
has a feature called the Native Villain. Feature
is the villain that is not tagged or the trump.
So let's say I have ill and 10 2030 40 and 50
Real antennas getting tagged real and 20 is getting tagged. So as soon as the frames from Bill and 10
transfers the trunk, a tag of tennis at it or not, one Q tag of 10 is added
to those frames for villain 20 attacker twenties added for Villa and 30 attacker Thirties added, Let's say Vienna and 40 I make it the native villain off my trunk.
There's not going to be a tag that is going to be added to reel and 40.
So the native villain off a 0.1 q trunk is the villain. That trance verses the trunk without being tagged,
and you will see this happen on our lab.
So between I sl and 0.1 Q. Which one's better?
The answer being the one with less overhead
I S O or interest rates links as a 26 bite header.
That's a lot of overhead that's a lot of that. That's a lot more work a switch has to do to process that frame. Ah, four bite field, a little tied four by tag inserted into the original frame is much easier to process. So the sending device as the tag
and identifies the frame
with the villain it belongs to, and the receiving switch reads The tag Say is okay. This frame belongs to be Land 10 for example, and then removes the tag and forwards the frame out to be land 10 before we get to the configuration part off the trunk ing. Take note that you can manually configure trunks
and eventually we're gonna end up manually configuring trunks.
But there is a protocol called dynamic Trunk ING Protocol, which is my next topic. So Pro Call call dynamic drunk ING or D T P For short, dynamic trucking, Torre call performs automatic trunk negotiation between switches that are connected on ports
so ifs, which is connected to
switch be on Port 24. Dynamic trucking protocol under certain circumstances will automatically bring up a trunk on those ports,
so dynamic trucking protocol can run in one of three modes. The first mode is dynamic desirable. The switch port.
If it isn't dynamic, desirable mode,
and it will respond to DTP frames.
So every boat send and respond to DTP frames from the other end of the link,
as the name say's, a trunk is desirable.
So if the other side is sending me dynamic drinking protocol frames, I will respond to them. If the other side is quiet, I'm going to send it. DTP frames, basically the poor on the local side and the port on the remote side are trying their best to bring up the trunk, so they're negotiating with each other,
talking DTP with each other,
trying to bring up a trunk
when it's in dynamic, desirable mode.
that switch models in the Cisco genre of the Cisco World
switch models that end with the number
50. So, for example, a switch model 35 50 which I have at home we'll have by default all its ports in dynamic, desirable mode. If two switches that are both 35 fifties
are connected back to back with each other with the cable
across over cable. If you remember to similar devices use a crossover cable. So if I just connect to 35 50 switches to each other,
a trunk is automatically going to come up
because they're gonna talk. DTP and both sides are gonna be in dynamic, desirable mode. Both sides are going to send DTP frames and respond to frames from the other side, and the trunk will automatically come up.
The second mode is your dynamic Otto mood In dynamic auto mode,
will respond to DTP frames from the other end from the remote side,
but it will not send.
It will not send DTP friends so n dynamic, desirable mode. The port initiates trunk ing.
It wants to create a truck and it starts sending DTP frames and also responding to DTP frames from the other side. But basically the port initiates the trunk.
In dynamic autumn owed, a port will not initiate trunk ing.
Yes, it will respond to DTP frames from the other end.
So if the other end is dynamic desirable,
it will respond to DTB frames from the other side and the trunk will come up.
But it will in itself not initiate trunk ing by sending DTP frames
that end in the number 60
like the switch model 35 60 automatically have all their ports in dynamic auto mode, by default have all the airports in dynamic auto mode.
So if you connect to 35 60 switches back to back with each other with a crossover cable with a trunk, come up.
because both sides will sit there and wait for the other side to initiate trunk ing
in Dynamic Otto, you respond to DTB Frames. You don't send them, so both sides will sit there and there's basically no trunk will come up.
So for our labs, did I pick the type of switches where a trunk will come up automatically? Or did that pick one where you will have to configure a trunk? Well, of course, I picked 35 sixties because I don't want my trunks to come up automatic me because I want us to do the work.
The third mood is simply mode on.
I don't care what the other side is.
I want to consent my side unconditionally to a trunk,
so sets the local port
to trunk ing unconditionally.
and respond to DTP frames. You'll set your side
and then if the other side
sends you DTB frames, you will respond to him, and you all will also send GT three frames to the other side.
So if you have two sides and both of whom are desirable, desirable yes, trunk comes on desirable auto
drunk comes on desirable on trunk comes on auto, and on Trump comes on. The only time the trunk doesn't come up automatically
is when you have both sides as auto. So if you have out on one side and out on the other side, you won't automatically get a truck,
which is ideal, actually.
So we're done with the charity part of this lecture. Let's get on the lab, and I will show you the commands to configure trunks.