Switches

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Time
1 hour 26 minutes
Difficulty
Beginner
CEU/CPE
2
Video Transcription
00:01
Hello. My name is Dustin and today will be continuing our beginner network infrastructure. Course
00:07
with switches. Let's get started.
00:12
So what is a switch?
00:14
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
00:23
on Layer two. Switches make decisions based on hard addresses, which we mentioned before are known as MAC addresses.
00:31
When a switch is working on Layer three, it makes decisions based on I P addresses or layer three addresses.
00:39
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.
00:51
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.
01:03
The switches make decisions based on the information that is received by each port.
01:11
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.
01:21
The switch label typically gives you information about the switch, the location of its speeds and what connections that may have
01:27
in the real world. Switches can have ah, large range of network ports. Um,
01:34
from your small on Manus, which, like this, links us in the middle. This God does a five ports
01:38
Teoh some of the bigger
01:42
Cisco or network enterprise level switches, which contained anywhere from 8 12 16 or 28 ports.
01:51
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,
02:00
34 like we've got on the diagram here
02:06
and you can see there's a little arrow pointing to, which will indicate that traffic is going to that switch port.
02:15
So quick. Question. How does a switch differ from a hub?
02:19
How how is it similar?
02:24
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,
02:44
while most switches air typically managed, although they can be unmanaged as well.
02:53
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.
03:01
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
03:12
the front laugher on the back.
03:15
Flip that on
03:15
and you're good to go.
03:16
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.
03:35
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.
03:44
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
04:01
to use. We're just going to use this generic one here
04:06
and then if you click it,
04:09
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
04:19
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
04:32
and you can see we're just at our regular switch command line.
04:36
If we want to go into our privilege mode, which will allow us to do more
04:43
commands, we will take enable
04:46
and you can see it goes from the arrow to the pound sign. And that shows us that we are in the enable mode.
04:53
So one of the most common things you'll do on a switches, you'll need to apply some sort of hosting for it.
04:59
In order to do that, we can dio configure, terminal or, uh, come 50
05:08
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.
05:19
And in order to set a host name, you just type in the hosting.
05:26
And
05:27
if you hit enter, it tells you that's the in complete command. So if you're not sure what to type, sure,
05:34
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.
05:45
You can just type switch one, and now you can see instead of just switch. Our terminal actually shows switch one here.
05:55
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
06:11
name. Just do no hosting.
06:13
And as you can see, a switch back to our regular host name
06:18
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,
06:39
um,
06:40
at a password
06:41
to your switch or a log in password. And that's all stuff you can do with the IOS command line.
06:49
Um, another command that is actually really
06:53
useful. It's exit out of this. We go back here, we can do a show run,
07:00
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
07:11
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.
07:20
No. I P address for villain one line Council zero. No commands there just a regular longing commands
07:28
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
07:36
let's just click at computer here.
07:39
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
07:46
into our switch.
07:48
Let's open our switch here and you can see that the line protocol on interface Fast Ethernet. No one has changed up,
07:58
and it's thinking, and both of these lights will go green, indicating a connection, and data is being transferred.
08:09
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
08:20
more detailed configurations once we go through this course.
08:26
So again, sending Ipswich Super Easy plug in the Internet cables, plug in the power and configure to the requirements that you have.
08:35
In today's video, we discussed what switches are, what they look like both physically
08:39
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,
08:54
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.
Up Next
Network Fundamentals

This course will go over fundamental concepts of installing and configuring various network devices and the skills needed to recognize and understand network topologies and give the student the knowledge to provide feedback on network requirements.

Instructed By