To set up communication between switch one and switch to the sport needs to be configured as a trunk
port.
I'm also going to configure these ports as trunk ports so that we can capture traffic and see the encapsulated
frames between the switches starting with each one.
The first thing I'm going to do is make everything static.
So switch port mode access on gigabit 00 and then switch port no negotiated to disable DTP.
Do something similar on gigabit is 0 1 switch port mode access switch port No negotiate.
Do show run.
So this port 0 0 is configured as an access Port Vila in one DTP is disabled gigabit is 0 1 is configured
as an access port and be lent to DGP disabled.
So we now need to configure ports 2 and 3 is trunk ports and disable DTP interface gigabit zero to switch
port mode trunk and it's going to fail.
As you can see there because we have to top switch port trunk you kept isolation.
And in this example we'll use that one key and then switch port mode trunk to make it a trunk port a
trunk port allows multiple villains to traverse that port switch port No negotiate.
Let's do something similar.
On port three setting capitulation to dot one key set the mode to trunk disable DTP and then all know
shut those two ports.
So show interface give it a zero to switch port the command shows us that gigabit is 0 or 2 is enabled
as a layer to interface.
It's being administratively configured as a trunk and it's operating as a trunk encapsulation used is
dot one.
Q That's how it was configured and that's how it's operating.
DTP has been disabled.
The native Villano and tagged villain on this link is a villain one all the lands are allowed across
the trunk.
Now we can also use the command to show interfaces trunk that shows us a nice summary of information
support to and Port three have been manually configured for trunking using editor one key.
They are currently trunking the native villanelles villain one villans one to 4000 and 94 are permitted
on those ports.
The villains are allowed and active in the management domain of Elayne's one to two villans in the spending
tree fording state and.
0 zero to 1 and 2 and 3 is to.
So we've configured switch one with these ports being access ports currently the PC isn't violent to
and the PC is in villaine one now can rot a one ping Ratatouille and wrote a three and can rodded to
ping any of those routers so you can write a one ton of debugging here ping 10 1 1 3.
Yes it can kind of ping 10 1 1 4.
Yes it can.
This port allows VLAN 1 to traverse it using the untagged villaine.
So the frame goes across this link as an untacked frame goes across the Slinky's and untagged frame
and then goes across these two links as untagged switch to hasn't been configured for villans it using
a default config.
So show LAN brief on the switch shows that only Villon one exists on switch too.
So let's put PC 4 into villaine 2 and let's see if PC 4 and PC 2 can ping each other sort of debugging
on route to acting as our PC show Arpey interface brief.
This PC has an IP address of ten at one to two to two.
So give this one an IP address of 10 that won the 2.4 it's currently configured with this IP address
so let's change that.
Tended one or two to four
ping ten that wanted to talk to what you'll notice is the pings file wrote a tune for cannot ping each
other.
And the question is why.
Why can they not ping one another.
Well the first problem is we haven't configured the land to on the switch switch to and we haven't put
the port into villaine to switch to.
I'm going to set it to VTB mode transparent so that we have to manually forget everything.
Going to create relend to but notice please.
Even though you create to the villain no ports are put into that villain by default.
So show interface gigabit is 0 1 switch port that's the SID to face here.
Shows me that that port is in Villon one.
So what I need to do is go onto that port switchboard mode access to ensure that it's an access port
that is the default switch port access.
Learned to switch port No negotiate.
Return of owner or to negotiations so that we have to manually configure everything and then explain
how it works.
So show interface gigabit 0 1 switch port.
This port gigabit is one is enabled with using static access and Minister of moët and it's operating
as a static access port.
It's in Vigeland too at the moment.
So all PC to be able to ping PC for.
Let's do the ping again.
Ping fails from router 4 or 2.
And it also fails in the reverse direction.
These two are not able to ping each other.
Let's disable this port and force the traffic to go through the hub and then do a wide shot capture
to see what's going on.