1 hour 26 minutes
Hello. My name is Dustin and today will be continuing our beginner network infrastructure. Course
with switches. Let's get started.
So what is a switch?
Switches typically operate at layer to the OS I model, but they can also work on Layer three as well, meaning they support any packet protocol
on Layer two. Switches make decisions based on hard addresses, which we mentioned before are known as MAC addresses.
When a switch is working on Layer three, it makes decisions based on I P addresses or layer three addresses.
Switches can be both managed and unmanaged. Um, unmanaged switches are typically referred to his dumb switches, and they operate in similar fashion to ah, hub.
Most switches are considered managed, just meaning that they can be configured with a variety of different options, including villain set up packet filtering and Mac address Filtering.
The switches make decisions based on the information that is received by each port.
Any network diagram or map. A switch is represented as a single small three D box with four arrows to pointing left and two pointing right.
The switch label typically gives you information about the switch, the location of its speeds and what connections that may have
in the real world. Switches can have ah, large range of network ports. Um,
from your small on Manus, which, like this, links us in the middle. This God does a five ports
Teoh some of the bigger
Cisco or network enterprise level switches, which contained anywhere from 8 12 16 or 28 ports.
Cisco and many other switch brands are typically typically number their ports. Um, from the top left will be one and then below that B two,
34 like we've got on the diagram here
and you can see there's a little arrow pointing to, which will indicate that traffic is going to that switch port.
So quick. Question. How does a switch differ from a hub?
How how is it similar?
So there's a lot of similarities and differences between hubs and switches. First, they do look very similar. They can be small boxes, net reports in the front, power on the back, and both can operate at Layer one of the OS I model. But only switches can operate at layer two and above. Most hubs are unmanaged,
while most switches air typically managed, although they can be unmanaged as well.
So setting up networks, which is can be very simple up to pretty complicated. It really depends on what your goal is for that switch.
Setting up an unmanaged switch is a simple setting up a hub plug in the Ethernet cables, then plug in the power. Most switches will have a power button. May be on the
the front laugher on the back.
Flip that on
and you're good to go.
If you've got a manage switch, it will operate typically right out of the box. You don't mean to apply a configuration to it. But if you need to set anything up specific like trunk ing villains loop protection, you will need to configure that.
And let's go ahead. And I'm gonna hop in our lab here, and we're gonna apply just a riel basic configuration to a switch.
Okay, so but my Cisco packet tracer up. If you're not familiar with it, um, it is pretty easy to use. Like I mentioned when you get it, they do offer the introductory course that'll show you how to use all the functions. But down here, all of our network devices, you can see this one is our switches and they've got a variety of different switches
to use. We're just going to use this generic one here
and then if you click it,
this will show you the actual physical view of the device on the logical view as well. Here you can see the configuration. It looks like it's still booting up
and it's already done. But so let's go ahead and give this switch just a really basic configuration. So, as you can see here, press return to get started so we will press, enter
and you can see we're just at our regular switch command line.
If we want to go into our privilege mode, which will allow us to do more
commands, we will take enable
and you can see it goes from the arrow to the pound sign. And that shows us that we are in the enable mode.
So one of the most common things you'll do on a switches, you'll need to apply some sort of hosting for it.
In order to do that, we can dio configure, terminal or, uh, come 50
and that's the nice thing with Cisco. IOS is you don't have to type out the full commands, like for enable You can just type in e n and press enter. And it brought us into enable mode calm 50 which is our configure terminal.
And in order to set a host name, you just type in the hosting.
if you hit enter, it tells you that's the in complete command. So if you're not sure what to type, sure,
you can take the question mark. And so this wants hosting and then a word. The systems network name. So we want to name this switch. One.
You can just type switch one, and now you can see instead of just switch. Our terminal actually shows switch one here.
And if you want to take out of commands to see you enter the wrong thing, you just need to remove that K man. You can just type the word no. And then the command that you want to remove. So say we don't want to mean this switcheroo, and we don't want to rename it. Now. We just want to go back to the initial
name. Just do no hosting.
And as you can see, a switch back to our regular host name
so there's a lot of different commands that you can do, and it will really depend on how you want to configure your switch. Um, well, another common command is, as you saw when we went into our enable mode or privilege mode to enter more commands, there was no password of very insecure. So you may want to,
at a password
to your switch or a log in password. And that's all stuff you can do with the IOS command line.
Um, another command that is actually really
useful. It's exit out of this. We go back here, we can do a show run,
and that shows us the current configuration of the switch. So if you set up any certain ports to be closed or do Mac address filtering RV lands, this will show you
the full running configuration, and you can just hit enter to go through all that can fix, and you could see it looks like none of the ports are configured to do anything else.
No. I P address for villain one line Council zero. No commands there just a regular longing commands
nothing. This is a pretty un configured switch, but like a said It will work right out of the box. So let's go ahead and
let's just click at computer here.
And if you click the little Lightning, that is our connections and we're just gonna do the auto connections. It's really easy. We're gonna plug our computer
into our switch.
Let's open our switch here and you can see that the line protocol on interface Fast Ethernet. No one has changed up,
and it's thinking, and both of these lights will go green, indicating a connection, and data is being transferred.
So that is as easy as it is to configure switches. Um, like, said, it really depends on what you want to dio. We will get into
more detailed configurations once we go through this course.
So again, sending Ipswich Super Easy plug in the Internet cables, plug in the power and configure to the requirements that you have.
In today's video, we discussed what switches are, what they look like both physically
and on a network diagram or map. And we also win over how to set up a managed and unmanaged switch and just a couple real basic commands like the E N, or enable command to go into our privilege mode,
com 50 or configure terminal to go into the actual configuration, and we learned about the no command, which will gate commands that were previously taped in.