Let's start with the access switches.
Switch three and switch four are not going to do into VLAN routing.
These are going to be configured as a layer two switches.
So I should change the symbol of these switches to be simple ethernet switches.
They are simply going to be layer two switches that provide connectivity to the rest of the network.
So change the symbol.
Of both these switches.
They will have one IP address configured and that IP address is only used for management purposes.
So the IP address configured on the switches is only to allow Telnet or SSH to the switches for management
purposes.
They're not going to do any kind of routing.
User devices shouldn't typically be able to ping talent or SSH to the access switches.
So on switch three confetti interface.
VLAN one.
This is known as a switched virtual interface or SVI.
If I type do show IP interface, brief on the switch and scroll down.
You can see that the SVI has been created, but it was shut down previously when I did the command show
IP interface brief, the SVI interface was not created.
So by using the command interface VLAN one, I've created this switch virtual interface.
So IP address ten .1. 100.3 subnet mask is going to be a slash 24 and I need to know shut the SVI because
by default it's administratively down.
Top end ping.
Before I do a ping show IP interface, brief notice the interface is now up so I should be able to ping
myself ten one 103 and I can.
So I'll save that config and then I'll go to switch for once again show IP interface brief.
No sfai currently exists only the physical interfaces interface.
VLAN one IP address.
In this example, it will be 10.1 104.
So IP address 10.1 and 104 slash 24 mosque.
No, shut it.
Save the config interface.
VLAN one has come up, as you can see over there.
Ping 10.1 at 100.3.
Ping succeeds.
The first ping failed because the switch had to do a NOP for the mac address of switch three.
But notice switch four is now able to ping switch three.
And by the same token, switch three is now able to ping switch four.
So that's a good sign because it means our links are up.
In a moment, I'll discuss CDP and LDAP or Cisco Discovery Protocol and Link Discovery Protocol and
show you how to check the connections between switches on switch one and switch two.
We need to configure multiple IP addresses one per VLAN because these switches will be doing inter VLAN
routing.
So on switch one.
Show IP interface brief at the moment no service are configured so interface VLAN one IP address 10.1
100 12552450.
No shut interface vlan.
Ten.
IP address 10.1 10.1.
Slash 24.
No shut interface VLAN 20 or interface VLAN 20 rather IP address 10.1 or 20.1 slash 24.
No shut control Z or control z.
Show.
IP Interface Brief.
At the moment.
Only VLAN one is up VLAN ten and VLAN 20 are down and that's because we don't have any interfaces configured
in a VLAN ten or VLAN 20.
I'm going to show you in a moment how to explicitly configure these ports as trunk ports, and then
we should see that those services come up.
Now switch to.
Show IP interface brief no service interface v interface VLAN one IP Address ten .1. 100.2 slash 24
no shut interface VLAN ten IP address 10.1 ten two slash 24 No shut interface VLAN 20 IP address ten
.1. 22 Slash 24.
No shut end show.
IP Interface Brief.
Once again, villain one is up.
VLAN ten and VLAN 20 are down.
And that's once again because when we use the command show interface gigabit zero zero switch port as
an example.
You'll notice that the port is configured for VLAN one but no other vlans have been explicitly configured
across this port.
The access VLAN is VLAN one by default if DHCP or dynamic trunk protocol doesn't negotiate with the
other side to form a trunk trunking.
A native VLAN is VLAN one by default.
So we only have interface vlan one up, the other interfaces are down.
But as that time management VLAN, we are okay to use that for testing.
So can switch to ping switch one.
Yes, it can.
Should be able to ping itself, which it can.
What about switch three?
Which it can.
And what about switch for?
Yes, it can.
So we have IP connectivity in our network.
The switches can ping each other.
Let's do another test on switch one.
Can it ping itself?
Yes, it can.
Can its ping switch to.
Yes, it can switch three.
Yes it can switch for.
Yes, it can.
And I'll save the config.
So we've configured IP addresses on the switches.
Can the switches ping router three, which is in the management vlan.
So on switch one once again paying ten one 125 three or 253 rather.
Yes, it can.
So switch one can ping the IP address of router three.
Now these routers acting as PCs are going to be put into separate VLANs.
So we'll do the pinging when we configure those devices in a separate VLAN.
At the moment we haven't got VLAN ten configured properly in the network, so we can't test connectivity
between our PCs and the switches.