What is a SWITCH? // FREE CCNA // Day 1

NetworkChuck
13 Jul 202023:22

Summary

TLDRThis script kicks off a free CCNA course with a special thanks to Boson Software for sponsorship. It delves into the fundamentals of network switches, contrasting them with hubs and highlighting the switch's intelligence in managing data traffic efficiently. The video guides viewers through hands-on experience with Cisco Packet Tracer, exploring the concept of MAC addresses, the CAM table, and the basics of networking layers. It concludes with a quiz from Boson's renowned CCNA practice exam, emphasizing the importance of understanding switches for networking professionals.

Takeaways

  • πŸŽ“ The video is part of a free CCNA course sponsored by Boson Software, who provide CCNA and CCNP labs and practice exams.
  • πŸ” The course begins by exploring the function and importance of network switches, emphasizing their role in connecting devices and facilitating communication.
  • 🧩 Cisco Packet Tracer is introduced as a tool for analyzing network traffic and learning about the operation of switches and hubs.
  • πŸ“š The script explains the difference between switches and hubs, highlighting the intelligence of switches versus the broadcast nature of hubs.
  • πŸ’‘ It's revealed that switches operate at Layer 2 (data link layer) of the OSI model, utilizing MAC addresses to manage network traffic efficiently.
  • πŸ–₯️ The video demonstrates the use of Cisco CLI commands, starting with 'show mac address-table', to inspect a switch's content addressable memory (CAM) table.
  • πŸ”‘ MAC addresses, also known as Layer 2 addresses, are unique identifiers for network devices, used by switches to forward messages to the correct port.
  • πŸ“Ά The script touches on wireless access points, noting their similarity to hubs in terms of broadcasting signals to all devices, unlike the direct communication of switches.
  • πŸ›‘ The disadvantages of hubs, such as traffic jams and collisions, are contrasted with the efficiency and reduced collision domain of switches.
  • πŸ“š The video includes a quiz with questions from Boson XM, a renowned source for CCNA practice exams, to test understanding of switch operations and the CAM table.
  • πŸ”— The importance of preferring wired Ethernet connections over wireless for reliability and performance in network communication is emphasized.

Q & A

  • What is the main focus of the first day of the CCNA course?

    -The main focus of the first day of the CCNA course is to introduce the concept of a switch, how it works, and its importance in networking.

  • Who is the official sponsor of the CCNA course mentioned in the script?

    -Boson Software is the official sponsor of the CCNA course.

  • What tool is recommended for analyzing frames and packets going across the network?

    -Cisco Packet Tracer is the tool recommended for analyzing frames and packets going across the network.

  • What is the difference between a switch and a hub in terms of functionality?

    -A switch is a smart device that learns and forwards messages only to the intended recipient based on MAC addresses, whereas a hub is a dumb device that broadcasts messages to all connected devices.

  • What is the purpose of the Cisco CLI command 'show mac address-table'?

    -The 'show mac address-table' command is used to display the switch's CAM table, which shows the MAC address to switch port assignments.

  • Why are switches considered more secure than hubs in a network?

    -Switches are considered more secure than hubs because they only send messages to the intended recipient's port, preventing unauthorized access to the data being transmitted.

  • What does the acronym 'CCNA' stand for?

    -CCNA stands for Cisco Certified Network Associate.

  • What is the significance of a MAC address in the context of a switch?

    -A MAC address is a unique identifier for network devices. Switches use MAC addresses to learn which devices are connected to which ports and to forward frames to the correct destination.

  • How does the script describe the process of sending a message between two devices using a switch?

    -The script describes the process as sending a message (frame) from one device to the switch, which then forwards the message to the intended recipient based on the MAC address stored in its CAM table.

  • What is the difference between a frame and a packet in the context of networking layers?

    -In the context of networking layers, a frame is a unit of data specific to Layer 2 (the Data Link Layer), while a packet is a unit of data that includes Layer 3 (the Network Layer) information, such as IP addresses.

  • Why are wired connections often preferred over wireless connections in certain scenarios?

    -Wired connections are often preferred over wireless connections because they can provide a more secure and stable connection, avoiding the issues of broadcast to multiple devices and potential traffic jams or collisions that can occur in wireless networks.

  • How does the script introduce the concept of layers in the OSI model?

    -The script introduces the concept of layers in the OSI model by discussing Layer 1 (the Physical Layer), which deals with the physical aspects of networking like electrical signals and cables, and Layer 2 (the Data Link Layer), which involves MAC addresses and frame forwarding by switches.

Outlines

00:00

🌐 Introduction to CCNA and Networking Basics

The video begins with an introduction to a free CCNA course, sponsored by Boson Software. The speaker emphasizes the importance of switches in networking, explaining their function and the excitement of learning through hands-on labs using Cisco Packet Tracer. The concept of 'labbing' is introduced, and the audience is encouraged to explore the depths of networking, likening it to taking a red pill from the Matrix. The summary of a previous video on network components is provided, and the video promises a deeper dive into the subject matter.

05:04

πŸ”Œ Understanding Ethernet Cables and Switches

This paragraph delves into the physical aspects of networking, focusing on Ethernet cables and switches. It explains how switches enable computers to communicate using electrical signals through these cables. The speaker uses an analogy of sending a text to illustrate the concept of data transmission. Different switch sizes are introduced, with an 8-port and a 48-port switch being highlighted. The importance of understanding the inner workings of a switch is emphasized, and viewers are encouraged to download Cisco Packet Tracer for a practical demonstration.

10:04

πŸ“‘ Transition from Hubs to Switches in Networking

The speaker contrasts the functionality of hubs and switches, describing hubs as the predecessor to switches. Hubs are characterized as 'dumb' and less efficient, broadcasting signals to all connected devices regardless of the intended recipient. The audience is invited to experience the limitations of hubs firsthand using Cisco Packet Tracer. The video then demonstrates the superior intelligence of switches, which can direct data to specific devices, improving efficiency and security.

15:06

πŸ“± MAC Addresses and Layer 2 Communication

This section introduces the concept of MAC addresses, also known as Layer 2 addresses, which are unique identifiers for devices connected to a network. The speaker explains that switches use MAC addresses to learn and remember the location of devices, storing this information in a CAM table. The difference between Layer 1 (physical layer) and Layer 2 (data link layer) is discussed, with Layer 2 being where MAC addresses play a crucial role in communication.

20:06

πŸ“Ά Comparing Wired and Wireless Networking

The video touches on wireless access points, comparing their behavior to that of hubs rather than switches. Wireless access points are shown to broadcast signals to all devices, similar to hubs, which can lead to traffic jams and collisions. The speaker advises preferring wired connections for their reliability and efficiency. The limitations of wireless networking are acknowledged, and the benefits of Ethernet cables are highlighted.

πŸ“ Quiz and Conclusion of CCNA Day One

The video concludes with a quiz based on the material covered, sourced from Boson's renowned CCNA practice exams. The questions focus on understanding how switches use MAC addresses to populate their CAM tables and make forwarding decisions. The speaker reviews the correct answers and provides explanations to reinforce the learning. The video wraps up with a summary of the topics covered on 'CCNA Day One' and a teaser for upcoming videos on routers and the OSI model.

Mindmap

Keywords

πŸ’‘CCNA

CCNA stands for Cisco Certified Network Associate, which is an entry-level certification program for network engineers offered by Cisco Systems. In the video's context, it is the main subject of the course being introduced, with the goal of teaching viewers the fundamentals of networking. The script mentions it as the course's title and discusses the importance of understanding its concepts, such as switches and networking devices.

πŸ’‘Boson Software

Boson Software is highlighted in the script as the official sponsor of the CCNA course. They are recognized for providing CCNA and CCNP labs and practice exams. The script encourages viewers to check out Boson Software, indicating their support as a key reason the course can be offered for free.

πŸ’‘Switch

A switch is a networking device that connects devices together on a computer network, allowing them to send and receive data. In the video, the switch is described as 'amazing' and is the central topic of the first day's lesson. The script explains how a switch operates, its differences from a hub, and its importance in modern networking.

πŸ’‘Cisco Packet Tracer

Cisco Packet Tracer is a network simulation tool used to create and analyze network scenarios. The script introduces it as a tool that viewers will use to analyze frames and packets going across the network, emphasizing its role in providing hands-on experience with networking concepts.

πŸ’‘Ethernet Cable

An Ethernet cable is a type of cable used to connect devices to a local area network. The script mentions it as the physical medium through which computers communicate with each other via electrical signals, highlighting its fundamental role in networking.

πŸ’‘MAC Address

A MAC (Media Access Control) address is a unique identifier assigned to network interfaces for communications on the physical network segment. The script explains that switches use MAC addresses to learn and forward messages to the correct devices, emphasizing its importance in the functioning of switches.

πŸ’‘Layer 2

Layer 2, also known as the Data Link Layer, is part of the OSI model and is responsible for node-to-node data transfer. The script discusses Layer 2 in the context of switches and MAC addresses, explaining how it operates within the networking framework.

πŸ’‘Hub

A hub is a simple networking device that connects multiple devices together but does not manage the traffic between them. The script contrasts the 'dumb' nature of hubs with the 'smart' functionality of switches, illustrating the evolution from hubs to switches in networking technology.

πŸ’‘Wireless Access Point

A wireless access point is a device that allows wireless devices to connect to a wired network using Wi-Fi. The script mentions access points in the context of wireless networking, noting their similarity to hubs in terms of broadcasting signals to all devices.

πŸ’‘Packet

A packet is a unit of data sent across an network. The script uses the term 'packet' to describe the data being sent between devices, particularly when discussing Layer 3 communication, and distinguishes it from 'frames' used in Layer 2 communication.

πŸ’‘CLI Command

A CLI (Command Line Interface) command is a directive given to a computer program through a command line interface. The script introduces the first CLI command 'show mac address-table' used to view the switch's CAM table, demonstrating an interactive way to learn about network devices.

Highlights

Introduction to a free CCNA course sponsored by Boson Software, offering the best CCNA and CCNP labs and practice exams.

Explanation of what a switch is and its fundamental role in connecting devices within a network.

The importance of Cisco Packet Tracer as a tool for analyzing network traffic and understanding how switches operate.

The concept of 'labbing' and its significance in the learning process of networking.

The introduction of the Cisco CLI command and its role in interacting with network devices.

A comparison between switches and hubs, highlighting the intelligence and efficiency of switches.

The demonstration of how a switch works using Cisco Packet Tracer to show the flow of data packets.

The difference between a hub's broadcast behavior and a switch's intelligent forwarding of data.

Understanding the function of the CAM table in a switch and its role in remembering device locations.

The distinction between MAC addresses and IP addresses in the context of layer 2 and layer 3 networking.

The process of how a switch learns and updates its CAM table with MAC addresses.

The difference in behavior between wired switches and wireless access points in terms of data transmission.

The impact of wireless networking on security and efficiency compared to wired connections.

The importance of Ethernet cables and the preference for wired connections over wireless for network reliability.

A quiz based on the material covered in the video, sourced from Boson's renowned CCNA practice exams.

The significance of the 'show mac address-table' command in understanding the switch's memory of device locations.

A summary of the key concepts covered in the video, including switches, MAC addresses, and the OSI model layers.

An invitation to follow for upcoming videos on routers and further exploration of the OSI model.

Acknowledgment of Boson Software's sponsorship and promotion of their lab and practice exam software.

Transcripts

play00:00

this is day one of my free

play00:03

ccna course and a huge shout out to

play00:06

boson software the official sponsor of

play00:08

the ccna course

play00:09

they are the reason this can be made

play00:11

available for free so i highly encourage

play00:13

you to go check them out

play00:14

they have the absolute best ccna ccnp

play00:18

labs and practice exams day one we're

play00:22

not wasting any time

play00:23

we're getting right into what is this

play00:25

it's a switch how does it work

play00:27

why is it amazing because it is amazing

play00:29

and we'll even get a chance to lab what

play00:31

does labing mean well you'll find out

play00:32

we're going to use cisco packet tracer

play00:33

to analyze frames and packets going

play00:35

across the network and you're going to

play00:36

get a chance to enter your first

play00:38

cisco cli command let's get started

play00:47

[Music]

play00:50

in my last video we talked about what a

play00:52

network is and we followed a call of

play00:54

duty bullet when i shot it from my

play00:55

computer

play00:55

how it goes through my home network to

play00:57

my brother's network and shoots his

play00:59

character and we went high level like

play01:00

router switch firewall access point what

play01:02

are those things

play01:04

but we didn't go too deep but now are

play01:07

you ready we're gonna go just a little

play01:08

bit deeper it's just like one of those

play01:09

red pill blue pill situations from the

play01:11

matrix

play01:12

after this there is no turning back you

play01:14

take the red pill

play01:15

you stay in wonderland and i show you

play01:18

how deep the rabbit hole goes

play01:20

you take this pill there's no going back

play01:23

we're going deep into the networking

play01:24

rabbit hole

play01:25

you're going to fall in love and never

play01:26

look back okay i warned you you're still

play01:28

watching this that means you want to

play01:29

keep going

play01:30

let's do this okay let's talk about

play01:32

switches first what are they and what

play01:34

are they doing and

play01:35

here's one right now this is a switch

play01:37

it's beautiful isn't it look at this

play01:39

oh love it now if you watched our last

play01:41

video you have a high level view of what

play01:42

a switch is for

play01:43

what's it doing well it's helping our

play01:44

computers to connect to each other and

play01:46

talk and hang out and chat

play01:47

send data we connect using these

play01:48

ethernet cables and we plug them into

play01:50

our ports

play01:51

oh love that sound here listen to this

play01:54

up close

play01:54

asmr version uh one of my favorite

play01:57

sounds

play01:58

so we connect one computer connects

play02:00

another computer and assuming we have

play02:01

computers on the other ends of these

play02:03

they're talking they're having fun

play02:04

they're playing games but what's really

play02:06

going on inside of here

play02:07

let's pop the hood let's take a look oh

play02:09

by the way switches can come in many

play02:10

different sizes like this is an 8 port

play02:12

and this big boy

play02:13

is a 48 port he's beautiful

play02:15

[Music]

play02:16

why do you need 48 ports well so you can

play02:18

connect 48 different devices to each

play02:20

other that's why now let's first look at

play02:22

this guy the ethernet cable

play02:23

all it is is a bunch of metal wires like

play02:25

check it out

play02:27

your computer communicates with the

play02:28

other computers via electrical signals

play02:30

and these electrical signals go down

play02:32

these wires through the cable to the

play02:34

switch and then it goes to the other

play02:35

computer it's amazing it's just

play02:37

electrical signals going in and out of

play02:39

these ports it's

play02:40

isn't that cool now switches are amazing

play02:43

but for you to really appreciate how

play02:44

amazing they are you need to look at

play02:46

their predecessor the one that came

play02:48

before them the hub

play02:50

he's disgusting he's dumb he doesn't

play02:52

have any smarts

play02:53

the switch is smart the hub is not but

play02:55

before we had switches

play02:57

hubs are all we had and here's what they

play02:58

did and why they're dumb now i want you

play03:00

to actually see how dumb this is and

play03:01

experience it for yourself so right now

play03:03

what i want you to do is go download

play03:04

cisco packet tracer i've got a link

play03:05

below

play03:06

sign up for a free account through

play03:07

netacad and you'll be able to download

play03:08

it what is this

play03:10

it's a tool that lets you build and play

play03:12

with networks and

play03:13

so much more it's amazing so go download

play03:15

and install that it's on windows

play03:17

mac linux and once you install packet

play03:19

tracer i've got another link below for a

play03:20

pack a tracer file which is a lab i

play03:22

built that we can play with right now so

play03:24

go ahead and download that

play03:25

and launch it do not get overwhelmed

play03:27

with all the buttons and options here

play03:28

i'll walk you through every step

play03:30

right now if you zoom in right here i've

play03:31

got two networks i got this one here

play03:32

which is a switch

play03:34

and my laptops if i scroll over i've got

play03:36

another network and it's

play03:37

not nearly as smart because i'm rocking

play03:39

a hub now a hub and a switch

play03:41

physically kind of look the same they

play03:43

look like this they have ports where you

play03:44

can plug ethernet cables into

play03:46

but they're so so different actually we

play03:47

can look at a hub right now let me click

play03:49

on the physical button up here

play03:50

i can click on my home city my corporate

play03:53

office and then

play03:54

jump into my wirelink wiring closet and

play03:56

there it is so you can see switch it's

play03:58

got ports hubs got ports okay

play04:00

but why are they different how would you

play04:01

like this if when you sent a text to

play04:03

your friend

play04:04

it didn't just go to your one friend it

play04:06

went to all your friends

play04:08

and then when your friend responded back

play04:09

to you it only went to you but it went

play04:11

to all your friends as well

play04:13

that's stupid right like that i would

play04:15

never use that texting platform that's

play04:16

what a hub does

play04:18

check this out and i want you to do this

play04:19

with me so click on simulation down here

play04:22

at the bottom right

play04:22

this is what makes packet tracer so cool

play04:24

we can analyze the network traffic

play04:26

slowly as it goes through

play04:28

the electrical wires it's oh it's

play04:29

powerful anyways so don't touch that

play04:32

leave it there i want you to click on

play04:33

harry potter up here laptop harry

play04:35

then click on desktop and then click on

play04:37

command prompt this is very similar to a

play04:39

windows command prompt it kind of is a

play04:41

windows command prompt

play04:42

and what we're going to do is we're

play04:42

going to have mr harry here talk to ron

play04:45

over here

play04:46

through the hub we're going to send a

play04:47

message that we use in networking all

play04:49

the time called

play04:50

a ping message what is that for we use

play04:52

it to see if other computers or servers

play04:53

are up

play04:54

and can be reached kind of like this

play04:59

ping reply

play05:03

now you may have noticed i've got a

play05:04

couple things right here layer two

play05:06

address and layer three address now

play05:08

what's an address

play05:08

well if i wanted to send you a message i

play05:10

might send it to your email address if i

play05:12

want to send you a letter i might send

play05:13

that to your

play05:14

mailing address it's something unique to

play05:16

you that allows me to send something to

play05:17

you

play05:17

data whatever and in the networking

play05:19

world it's the same thing now what does

play05:21

layer 2 and layer 3 mean

play05:22

we'll cover that here in a bit but just

play05:24

know that when i'm going to send a ping

play05:25

message to ron i'm going to be looking

play05:27

at his

play05:27

layer 3 address that might look familiar

play05:29

to you what is that

play05:30

well that's an ip address you're

play05:32

probably familiar with that right

play05:33

harry knows that when he wants to talk

play05:35

to ron that's his address that's his

play05:36

phone number that's his mailing address

play05:38

that's how he gets information to ron

play05:39

his ip address so here we go we're about

play05:41

to ping ron now please make sure you

play05:42

have the simulation button checked not

play05:44

real time you want simulation

play05:46

here we go get your command prompt open

play05:47

we're going to ping ron so i'll type in

play05:49

ping and the ron's ip address 10.1.2

play05:53

now watch what happens when i hit enter

play05:55

boom

play05:56

a little envelope popped up a little

play05:58

message we're going to send to ron and

play05:59

then notice over here we have a little

play06:01

event timeline where that message is

play06:02

popped up

play06:03

we can see the play-by-play here as we

play06:04

get more advanced and go deeper and

play06:06

deeper into what's happening which

play06:07

actually happen in the next video we can

play06:09

click on these

play06:10

and look at some hairy details like

play06:13

what's happening

play06:14

don't worry about that yet we'll get

play06:16

into it but it's amazing so harry wrote

play06:18

his letter he's ready to send it

play06:20

and if we click on this little advanced

play06:21

button right here it'll take a step

play06:23

forward in time let's go ahead and do

play06:24

that

play06:25

click advanced boom let's do it one more

play06:27

time

play06:28

boom there it goes it's going across the

play06:31

network electrical signals firing

play06:33

so now the hub has the message in an

play06:35

ideal world in a perfect world the hub's

play06:37

like okay well this message is for ron

play06:39

i'm going to send it to ron

play06:40

but the hub's an idiot he's dumb watch

play06:42

what happens

play06:43

watch what happens click next and

play06:47

why did you do that mr hob you sent the

play06:49

message to everyone

play06:51

harry's just trying to talk to his buddy

play06:52

ron and now hermione knows and and

play06:54

malfoy knows that's

play06:55

that's bad right now watch what happens

play06:56

next remember in a ping situation

play06:58

harry's gonna send a ping

play06:59

hey you there ron iran's gonna go yes

play07:01

i'm here but watch this click next

play07:03

ron does reply perfect but then watch

play07:05

what the hub does the dummy hub

play07:07

he since ron's replied out to everyone

play07:10

why hub why well again the hub has no

play07:12

smarts he's got no brain

play07:13

his job is just to repeat that

play07:15

electrical signal whenever your computer

play07:17

sends down this wire

play07:18

the hub is going to go and send out to

play07:20

everyone this is how we did things for a

play07:22

long time

play07:22

now notice that over here harry potter's

play07:24

got a green check mark going yes yes yes

play07:26

that message is for me yes yes yes

play07:28

but then down here malfoy and hermione

play07:30

have this x

play07:31

which means that most the time in a hub

play07:33

environment if a computer got a message

play07:35

that wasn't

play07:35

meant for them it would just ignore it

play07:38

but

play07:39

you know that's if you're a good person

play07:42

if you're a hacker like i'm learning

play07:43

hacking right now if you get a message

play07:45

like that if you're

play07:46

able to see everyone's traffic you're

play07:48

like yes yes give me more i'm gonna hack

play07:50

all you guys

play07:51

not a very safe and secure environment

play07:52

you don't want to text your buddy

play07:53

something secret and all of a sudden all

play07:55

your friends know the secret

play07:56

but now let's look at the switch he

play07:58

fixes everything go ahead and click on

play08:00

reset simulation

play08:01

you can close out harry potter there and

play08:02

let's scroll on over to the better

play08:04

environment

play08:04

the switch environment now here the

play08:06

switch has the same

play08:08

goal as the hub just to connect these

play08:09

computers together so they can talk so

play08:11

they're doing the same job

play08:12

just one's really really good at it so

play08:14

over here let's walk through the same

play08:15

situation johnny right here is gonna

play08:16

ping

play08:17

mark oh hi mark and we'll see what

play08:19

happens and i'll explain how it happens

play08:20

here in a moment so go ahead and click

play08:22

on johnny click on the desktop tab and

play08:23

then jump into your command prompt we're

play08:25

going to type

play08:26

in ping and then mark's ip address right

play08:28

here is 10.1.1.2

play08:31

we're going to hit enter and bam

play08:33

johnny's got a message ready for mark

play08:34

let's click on next and see what happens

play08:36

next

play08:38

next okay there it goes the switch has

play08:40

it what's it gonna do

play08:41

boom so much better only mark got it and

play08:45

then when mark responds

play08:46

it only goes to johnny that's how it's

play08:48

supposed to work thank you mr switch

play08:50

and if you look back at our command

play08:51

prompt you can see that we sent a ping

play08:53

message

play08:54

and then we got a reply from mark from

play08:56

the ip address

play08:57

everything's good mark's alive he's like

play08:59

hey yeah yeah johnny i'm here and if we

play09:00

click on real time it'll just complete

play09:02

it like it normally should

play09:04

bam bam bam really fast because these

play09:06

electrical signals are going really

play09:07

really fast down

play09:08

these wires but that's what's cool about

play09:09

this packet tracer we can slow down time

play09:11

bullet time and watch it happen

play09:12

okay we're about to go deeper we're

play09:13

about to learn more about how this guy

play09:15

does things

play09:15

are you ready let's take a deeper look

play09:17

the switch can do all this magic because

play09:19

it has a brain

play09:20

a brain that can remember things like

play09:21

hey on my port fa02

play09:24

that's where johnny lives and on my port

play09:26

fa01 that's where mark lives

play09:28

and the same thing goes for denny and

play09:30

lisa and anyone else who connects to the

play09:32

switch

play09:32

he'll remember where they are so when

play09:34

you send a message he'll go oh well i

play09:35

know exactly where johnny is he's over

play09:37

here

play09:38

port fa02 he stores that information in

play09:40

something called

play09:41

the cam table which stands for content

play09:43

addressable memory

play09:44

don't worry about that too much right

play09:45

now we'll cover a lot of that later now

play09:47

the switch doesn't know

play09:48

johnny as johnny the switch knows johnny

play09:51

as

play09:54

00d097528936

play09:55

that's how the switch knows johnny has a

play09:56

layer 2 address that's how the switch

play09:58

knows mark he doesn't know mark's name

play10:00

but he doesn't know zero zero e0b0590897

play10:04

love that guy what are these things

play10:06

that's called a mac address

play10:07

often referred to as a layer two address

play10:09

every single device that you connect to

play10:11

the internet

play10:12

has a mac address every one of them like

play10:14

go ahead and look get your laptop out

play10:15

look for it like on this phone here that

play10:16

i would connect to the switch

play10:18

look right here there's my phone's mac

play10:21

address right there

play10:22

it's often referred to as the burned in

play10:24

address because this address

play10:25

should never change that's how your

play10:27

device is identified it's unique

play10:29

identifier so when i connect my

play10:31

phone to this switch and my phone tries

play10:33

to talk to somebody

play10:34

boom the switch learns hey that phone

play10:36

which

play10:38

that phone's name is 9c57803844a

play10:43

he lives on port 1. so if anybody wants

play10:45

to talk to him it's gonna be part one

play10:46

now we'll cover more about layers here

play10:48

in a moment i'm kind of building up to

play10:49

that

play10:50

but this right here doing this and that

play10:52

wonderful beautiful sound

play10:54

yes that's this is layer one anything

play10:58

physical

play10:58

the the electrical wires the metal wire

play11:00

that send electrical signals down into

play11:02

the switch that's layer one

play11:03

so layer one electrical signals firing

play11:06

at light speed down ethernet cable

play11:08

physical

play11:08

and then we get to our switch and now

play11:09

we're thinking about layer two

play11:11

that's where our layer two address comes

play11:13

in that's where the mac address comes in

play11:15

layer two is often referred to as the

play11:16

data link layer but we won't cover too

play11:18

much on that right now

play11:19

i have to stop i don't wanna give you

play11:21

too much right now now you may be

play11:23

wondering why isn't the switch just

play11:24

using the

play11:25

layer three address like what we used

play11:27

when we pinged 10.1.1.2

play11:30

why isn't the switch no marked by that

play11:32

number well the simple answer is that

play11:33

the switch can't even see that number it

play11:34

has no idea what it is

play11:36

you see the switch is a layer 2 device

play11:38

and doesn't know anything about layer 3

play11:40

or ip addresses or anything that's why

play11:42

we're dealing with mac addresses right

play11:43

now now watch this let's get back to our

play11:44

packet tracer we're going to do a couple

play11:45

things here real quick let's click on

play11:47

simulation mode once more

play11:48

and let's open up mark we'll go to his

play11:50

desktop go to his command prompt

play11:52

and we're going to ping lisa down here

play11:54

so we'll do ping

play11:56

10.1.1.5 and hit

play11:58

enter the message was built now go and

play12:00

click the forward message real quick

play12:02

and i want you to click on this this

play12:03

message right here we have click on it

play12:05

now as you can see we have seven layers

play12:07

we're going to be talking about here

play12:08

very soon but don't don't think about

play12:10

anything above layer three right now

play12:12

don't think about that but notice

play12:13

this message we're sending to the switch

play12:15

notice what's not there

play12:16

layer three is missing it's just layer

play12:19

two

play12:19

because that's all the switch

play12:20

understands and also notice the two and

play12:22

from so right here we have the from

play12:24

which is the mac address of

play12:26

mark over here and then the two is to

play12:29

lisa's mac address down here and if we

play12:31

go ahead and step forward in time

play12:32

boom the switch receives it if we click

play12:34

on that message again we see that switch

play12:36

receives it

play12:36

and he knows exactly where to send it

play12:38

because he remembers where lisa is

play12:41

and then if we click on that button bam

play12:42

it goes to lisa now i'm not sure if i

play12:44

want to show you this yet

play12:46

yeah let's go ahead and do it so click

play12:48

on that envelope right there the message

play12:49

that just arrived to lisa

play12:51

you can see here that instead of just

play12:52

having layer one and layer two we now

play12:53

have layer three

play12:54

involved because that's a layer that

play12:56

mark and lisa are talking on layer three

play12:57

you see we

play12:58

pinged from mark's ip address 10.1.1.2

play13:01

to lisa's ip address of 10.1.1.5

play13:04

and then lisa is sending out a message

play13:06

see out

play13:07

to mark at 10.1.1.2 from herself

play13:10

10.1.1.5 and then we step forward in

play13:12

time once more

play13:13

boom we see this message go to the

play13:15

switch but then if we open that message

play13:16

oh layer three is gone again it's just

play13:18

layer two because that's all the switch

play13:19

cares about is layer two

play13:21

and that's how he knows where things are

play13:22

that's where devices are based on their

play13:24

mac address now go and click on real

play13:26

time let that finish out and we're gonna

play13:27

jump into the switch's command line

play13:28

interface and this might be your first

play13:30

cisco command kind of exciting so let's

play13:33

let's open it up

play13:34

what we're going to do is we're going to

play13:35

look inside the switch's brain so go and

play13:37

click on him

play13:38

and jump to the cli tab this is a whole

play13:42

new world for you yes okay

play13:43

now hit enter then type in enable and

play13:45

hit enter

play13:46

now you should have a hashtag sign right

play13:48

there next to your switch here's a

play13:50

command i want you to enter

play13:51

show mac dash address dash

play13:55

table we're looking inside the switch's

play13:57

brain and looking at his cam table where

play13:59

he keeps the mac addresses and how they

play14:01

are assigned to the ports

play14:02

because mark and lisa just talked the

play14:04

switch knows that mark

play14:06

which is referred to as blah blah blah

play14:07

mac address lives fa01 and then lisa

play14:10

lives at fa03 and then if we go to denny

play14:13

over here

play14:13

and we go to desktop and command prompt

play14:17

and we try to ping johnny 10.1.1.3

play14:20

it's going to go through it's being

play14:21

successful awesome if we jump back into

play14:23

the switch and hit the up arrow to enter

play14:25

the same command

play14:26

hit enter well now the switch knows

play14:28

where everyone is he knows where johnny

play14:29

is where denny is or mark and lisa

play14:31

he learned it stored it in his brain and

play14:33

now whenever someone sends a message he

play14:34

goes

play14:34

i know exactly where they are boom right

play14:37

there the hub just doesn't do that and

play14:39

that's the job of the switch

play14:40

he learns where everyone is by learning

play14:42

their mac address they're burned in

play14:44

address

play14:44

and stores that in his brain is cam

play14:46

table and marks where they are so

play14:47

whenever he receives a message

play14:49

he can forward those messages to the

play14:51

appropriate people

play14:52

and not to anyone else that shouldn't

play14:53

hear about it now when we're talking

play14:55

about layer two

play14:56

this message right here is referred to

play14:58

as a frame all the messages going

play15:00

through this switch right here are

play15:01

frames

play15:02

boom boom boom frames just going around

play15:04

like crazy because it's layer two when

play15:05

you think layer two think switch think

play15:07

frames

play15:08

switch frames layer two switch frames

play15:10

layer two is it working is it going in

play15:11

there but then when the message goes to

play15:13

lisa and we're talking about ip

play15:16

addresses in layer three

play15:17

do you know what it becomes this message

play15:19

is now a packet

play15:20

now just so you know when you're talking

play15:21

to network engineers and other folks

play15:23

they might refer to layer two messages

play15:25

the frames they might call those packets

play15:26

as well

play15:27

we just get in the habit of it if it's

play15:29

going across the network and it's going

play15:30

to people and it's a message

play15:32

we often just refer to it as packet it

play15:33

just happens but technically

play15:36

it's frames layer 2 frames switch layer

play15:38

2 frames switch

play15:39

okay now we're gonna talk a little bit

play15:40

about wireless um here's a

play15:42

wireless access point little baby cisco

play15:44

one here's a bigger

play15:45

cisco one the reason i wanna talk about

play15:47

them now along with switches is because

play15:49

they're basically doing the same job as

play15:50

a switch

play15:51

but what's funny what's funny is they're

play15:54

more like a hub

play15:55

than a switch they're kind of dumb i

play15:58

mean they're amazing but they're kind of

play15:59

dumb like a hub let me show you

play16:00

looking back at packet tracer if i

play16:02

scroll down just a little bit you can

play16:03

see i have a little wireless network

play16:05

here let me add the uh

play16:06

ip addresses here real quick now what i

play16:08

want you to do real quick is down here

play16:09

at the bottom

play16:10

click on the lightning bolt or harry

play16:12

potter esque and then click on the

play16:13

lightning bolt again this is a

play16:15

connection it's like plugging an

play16:16

ethernet cable and we're going to plug

play16:17

it into the

play16:18

access point here and then plug it into

play16:20

our switch we talked a little bit about

play16:21

wireless in the first video but it's

play16:23

just an extension of the switch so it

play16:24

connects to the switch with an ethernet

play16:26

cable and then it connects all the other

play16:27

devices via

play16:28

wireless which we know to be airwaves or

play16:31

radio waves

play16:32

so most of our devices like our phones

play16:33

and everything else connect to this

play16:35

access point

play16:36

which is connected to a switch now even

play16:38

though this access point is connected to

play16:40

a switch

play16:40

he's actually more like a hub and it's

play16:43

all about these connections right here

play16:44

let me show you real quick

play16:45

i'm gonna have mr denny here i'm gonna

play16:47

click on denny and launch his laptop

play16:49

we're going to go into his desktop and

play16:51

go to his command prompt

play16:52

and we're going to ping let's say the

play16:55

first tablet down here 10.1.1.11 so i'll

play16:58

do ping

play16:59

10.1.1.11. oh and i forgot to go into

play17:01

simulation mode let's go to simulation

play17:02

mode down here

play17:04

bring denny back up and boom

play17:07

so as you can see denny's got his packet

play17:08

ready and he sends

play17:10

this frame to the switch now if we open

play17:13

up that frame

play17:13

what do we see well we see that the

play17:15

source is indeed

play17:17

denny over here based on his mac address

play17:19

and then the destination

play17:21

well what is that matching let me scroll

play17:22

down here we can see yeah it does match

play17:25

the first tablet here so the switch

play17:26

knows that he lives on this port

play17:27

connected to the access point but it's

play17:29

what the access point does with it

play17:30

that's so

play17:31

stupid but it's just how wireless is

play17:33

right now let's skip forward in time

play17:35

the access point has it now but now

play17:37

let's see what happens

play17:38

click next boom and once more

play17:41

boom

play17:45

the message was sent to everyone like a

play17:47

hub now we'll cover

play17:48

wireless in more detail here later in

play17:50

this course but just know for now

play17:51

that's why people tell you plug into an

play17:53

ethernet cable at all cost if you can

play17:55

because a wireless

play17:56

connection is more like a hub and the

play17:58

fact that all the messages are going to

play18:00

each device isn't the worst part with

play18:02

hubs it's just a traffic jam collisions

play18:04

all the time

play18:05

which is why switches are great and

play18:06

we'll cover more on that later but yeah

play18:08

always prefer ethernet cable a hardline

play18:10

connection to a wireless connection if

play18:12

you can

play18:12

now later versions of wi-fi like wi-fi 6

play18:15

do help out with this i actually made a

play18:16

video on wi-fi sticks that you can check

play18:18

out up there

play18:18

and then as we step forward a time when

play18:20

the first tablet sends here's a reply

play18:21

back

play18:22

the access point will then send it to

play18:23

the switch and then the switch like it's

play18:25

supposed to we'll just send that to

play18:26

denny

play18:27

but then we had the same process happen

play18:28

again when denny does send another ping

play18:30

hey

play18:31

hey first tablet are you there the

play18:33

access point will still broadcast that

play18:34

doubt out to everyone

play18:35

all right hope you have your coffee

play18:37

ready time for a quiz time to test your

play18:39

knowledge and what we just

play18:40

covered in this video the questions i'm

play18:42

about to ask you are not easy

play18:43

i pulled them from boson xm the best

play18:46

ccna

play18:47

practice exam you can find they are

play18:49

world renowned and they are sponsoring

play18:51

this video so check out the link below

play18:52

for that exam

play18:54

anyways let's see what you know question

play18:56

number one

play18:57

which of the following addresses will a

play18:58

switch use to populate

play19:00

the cam table select the best answer

play19:11

if your answer was b source ip address

play19:14

you are wrong because the answer is in

play19:16

fact

play19:16

d source mac address remember switches

play19:19

layer 2 mac address switches layer 2 mac

play19:22

address

play19:23

let's select our answer and get the deep

play19:25

down dive from boson

play19:26

so right off the bat because we know

play19:27

we're talking about a switch in the cam

play19:29

table we can mark out

play19:30

a and b because those are talking about

play19:32

ip addresses and the switch doesn't know

play19:33

anything about ip addresses but what

play19:35

we're talking about now is mac addresses

play19:36

now it could have been source or

play19:37

destination

play19:38

a switch will learn a mac address and

play19:40

add it to its cam table

play19:42

when a device sends a frame

play19:45

to that port and in that frame the

play19:47

source mac address will be

play19:48

this guy's mac address so that makes

play19:50

sense destination would be

play19:52

who he's sending that frame to which

play19:53

might be a person over here and you

play19:55

wouldn't want to add this guy's mac

play19:56

address to

play19:57

this guy's port confusion it wouldn't

play19:59

work if you got that right that's

play20:00

amazing

play20:01

you're just a little bit closer to

play20:02

passing your ccna next question

play20:04

which of the following addresses will a

play20:06

switch use to make forwarding

play20:07

decisions select the best answer

play20:10

[Music]

play20:18

if your answer was destination mac

play20:21

address then you are absolutely

play20:22

correct let's select the answer and see

play20:25

if boson

play20:26

thinks i'm right here is boson's

play20:28

wonderful explanation i encourage you to

play20:29

pause the video and read that but

play20:31

looking at the question it's talking

play20:32

about

play20:33

a switch making forwarding decisions

play20:35

well we can automatically say you know

play20:36

what

play20:37

source ip addresses out destination ip

play20:39

address is out because again switches

play20:40

don't know anything about ip addresses

play20:42

now when a switch

play20:43

receives a frame from a device this

play20:45

frame will have a source mac

play20:47

address let's just say zero zero zero

play20:49

one and a destination

play20:50

zero zero zero two the source is coming

play20:52

from this guy

play20:53

that's his mac address he's trying to

play20:55

send it to the destination mac address

play20:57

this guy who is probably over here and

play20:58

this question explanation is perfect

play21:00

because it piggybacks off the previous

play21:02

question

play21:02

the switch will not use a source mac

play21:04

address to make forwarding decisions

play21:05

however it will use it to

play21:07

populate the cam table again if you got

play21:09

that right congrats you are even closer

play21:11

to getting your ccna and if you didn't

play21:12

it's fine

play21:13

go back and watch the video learning is

play21:14

a process it's a day by day thing

play21:16

adding to your knowledge you'll get

play21:18

there trust me didn't i tell you

play21:20

switches are amazing and we i know i

play21:23

keep saying this

play21:24

have just scratched the surface and in

play21:26

this video we covered some ground on how

play21:28

switches work

play21:28

you even got to work in packet tracer

play21:30

and watch packets and frames

play21:32

go across the network you may have even

play21:33

issued your first cisco

play21:35

cli command which is amazing write that

play21:38

down today was your first command

play21:39

show mac address table you looked inside

play21:42

the switch's brain inside his cam table

play21:44

to see the mac address to

play21:45

switch port assignment that's huge and

play21:48

guys that's about it we just covered day

play21:50

one switches

play21:51

in the coming videos we'll be talking

play21:52

about routers and we'll be talking about

play21:54

the other layers

play21:55

of the osi model which we kind of talked

play21:56

about layers one two and three today

play21:58

we'll cover the rest soon and you're

play22:00

gonna love it trust me if you like this

play22:02

stuff you will

play22:02

love love that stuff and again huge

play22:05

massive shout out to bozon software for

play22:06

sponsoring

play22:07

this ccna series they're making it free

play22:09

so i encourage you go check them out

play22:11

they have

play22:11

amazing labbing software so what i

play22:13

showed you today was cisco packet tracer

play22:15

it's great for demonstrating to you how

play22:17

a network works

play22:18

boson netsim is a great lab software

play22:21

that will

play22:22

allow you to go through labs and once we

play22:23

get deeper into like cisco command line

play22:26

stuff

play22:26

where it gets pretty pretty

play22:27

sophisticated pretty complex

play22:29

they have fantastic labs that walk you

play22:31

through things they'll grade you on how

play22:33

you do

play22:34

and they'll even explain everything it's

play22:36

it's awesome and then of course the

play22:37

practice exam questions i showed you

play22:38

today

play22:40

that's from their practice exam and ask

play22:41

around their exams are

play22:43

golden if you can pass their exams uh

play22:45

you can probably pass the ccna many

play22:47

people say

play22:48

bosons is actually harder than the real

play22:50

ccna

play22:51

so links below for that again they have

play22:53

their summer sale it's 25

play22:54

off if you have any questions or

play22:55

comments please let me know below and if

play22:56

you like this video

play22:57

like it hit that subscribe button and

play22:59

hit that bell notification

play23:00

icon to be notified when i post stuff

play23:03

this was ccna

play23:04

day one see you on day two

play23:10

[Music]

play23:21

you

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
CCNA CourseNetworking BasicsCisco Packet TracerBoson SoftwareLayer 2Layer 3MAC AddressSwitchesHubsNetwork Simulation