WEBVTT

0:00:08.340000 --> 0:00:12.140000
 In this lesson, I'd like to start by
 talking about one of the two ways

0:00:12.140000 --> 0:00:18.160000
 that you can incorporate switching into
 your GNS3 simulated network topology.

0:00:18.160000 --> 0:00:22.280000
 Because chances are, I'm guessing that
 if you're studying your CCNA, NP,

0:00:22.280000 --> 0:00:24.960000
 or anything else, you're going to need
 to be able to practice switching

0:00:24.960000 --> 0:00:26.100000
 along with that.

0:00:26.100000 --> 0:00:29.840000
 Now, as far as switching is concerned,
 there's two basic ways to do that.

0:00:29.840000 --> 0:00:33.720000
 There's several advanced ways using L2,
 IOU, and other stuff I'm not going

0:00:33.720000 --> 0:00:35.540000
 to get into in this series.

0:00:35.540000 --> 0:00:38.900000
 But there's two basic ways that you can
 do that if you're a new or intermediate

0:00:38.900000 --> 0:00:44.140000
 GNS3 user. One is to use what's called
 the built-in switch node, and the

0:00:44.140000 --> 0:00:48.600000
 other is to import in a router that
 acts like a switch called an ether

0:00:48.600000 --> 0:00:51.660000
 switch. So in this particular video,
 I'm going to be focusing in on the

0:00:51.660000 --> 0:00:53.780000
 first one, the built
-in switch node.

0:00:53.780000 --> 0:00:56.280000
 So let's talk a little
 bit about that.

0:00:56.280000 --> 0:00:59.880000
 So here is my GNS3 topology.

0:00:59.880000 --> 0:01:03.960000
 And in this particular case, it's already
 fully functioning and built.

0:01:03.960000 --> 0:01:07.220000
 And I've used a built
-in switch node.

0:01:07.220000 --> 0:01:10.180000
 So this is what the built
-in switch node looks like.

0:01:10.180000 --> 0:01:15.920000
 And where you would get that from is
 from right here in the device node

0:01:15.920000 --> 0:01:20.780000
 section. This section right here
 is where you find your switches.

0:01:20.780000 --> 0:01:22.860000
 So here's the various routers
 that are available to you.

0:01:22.860000 --> 0:01:27.440000
 And here's where you find your
 various layer two switches.

0:01:27.440000 --> 0:01:31.120000
 And the ethernet switch is the one we're
 going to be focusing in on today.

0:01:31.120000 --> 0:01:34.480000
 And you can just drag and drop
 that just like anything else.

0:01:34.480000 --> 0:01:37.300000
 Now the ethernet switch, if you choose
 to use that, one of the nice things

0:01:37.300000 --> 0:01:42.180000
 about that is, like I said, it's
 a built-in node built into GNS3.

0:01:42.180000 --> 0:01:45.000000
 So it doesn't require any iOS.

0:01:45.000000 --> 0:01:48.640000
 It actually is not even configured
 via a command line at all.

0:01:48.640000 --> 0:01:51.220000
 You just configure it
 via a very basic GUI.

0:01:51.220000 --> 0:01:56.340000
 Now this built-in switch node,
 like I said, very basic device.

0:01:56.340000 --> 0:01:59.680000
 Really, the only thing you're ever
 going to want to use it for is one

0:01:59.680000 --> 0:02:04.380000
 of two things, either segmenting your
 network into different VLANs or,

0:02:04.380000 --> 0:02:08.720000
 I guess it could be an and,
 using 802.1Q trunking.

0:02:08.720000 --> 0:02:10.440000
 So those are really
 the only two things.

0:02:10.440000 --> 0:02:12.540000
 This built-in switch node
 does not do anything else.

0:02:12.540000 --> 0:02:18.460000
 It does not do any of the Cisco stuff
 like DTP or VTP or CDP, none of

0:02:18.460000 --> 0:02:21.680000
 that. As a matter of fact, these switching
 nodes don't even do spanning

0:02:21.680000 --> 0:02:25.360000
 tree. So be very careful about that,
 because if you actually do put two

0:02:25.360000 --> 0:02:28.320000
 or more of them in your topology and
 you connect them together, you can

0:02:28.320000 --> 0:02:31.900000
 very quickly create a bridging loop
 because there's nothing to prevent

0:02:31.900000 --> 0:02:32.820000
 the bridging loop.

0:02:32.820000 --> 0:02:34.700000
 There is no spanning tree in here.


0:02:34.700000 --> 0:02:37.520000
 So that is something
 to be wary of.

0:02:37.520000 --> 0:02:41.340000
 So in this particular environment, I'll
 go ahead and get rid of it just

0:02:41.340000 --> 0:02:44.400000
 by just right clicking on it and then
 selecting delete, because I don't

0:02:44.400000 --> 0:02:48.480000
 need that one. In this particular case,
 all I'm doing is I've got four

0:02:48.480000 --> 0:02:53.420000
 PCs which are segmented into two different
 VLANs, a VLAN for payroll and

0:02:53.420000 --> 0:02:55.980000
 a VLAN for human resources.

0:02:55.980000 --> 0:02:59.500000
 And maybe what I want to do, maybe the
 objective of this lab was simply

0:02:59.500000 --> 0:03:01.820000
 to practice the router on a stick.


0:03:01.820000 --> 0:03:04.340000
 So I didn't really care about
 practicing the switch.

0:03:04.340000 --> 0:03:08.460000
 I just wanted to practice how to create
 a router on a stick for the router.

0:03:08.460000 --> 0:03:10.220000
 So maybe that was my objective.

0:03:10.220000 --> 0:03:13.140000
 Now in this particular case, all this
 is already up, the router has already

0:03:13.140000 --> 0:03:14.120000
 been pre-configured.

0:03:14.120000 --> 0:03:17.660000
 And what I want to do is show you
 how did I get to this point?

0:03:17.660000 --> 0:03:19.580000
 How did I get this switch in here?


0:03:19.580000 --> 0:03:24.320000
 And how did I configure it in such a
 way that two of its interfaces, these

0:03:24.320000 --> 0:03:28.700000
 two right here would be in
 one VLAN, like VLAN one.

0:03:28.700000 --> 0:03:31.980000
 And these two interfaces right here
 would be in a completely different

0:03:31.980000 --> 0:03:37.620000
 VLAN. And this interface
 right here was 802.1q.

0:03:37.620000 --> 0:03:42.220000
 Because that's what was necessary in
 order to make this topology work.

0:03:42.220000 --> 0:03:43.060000
 So how did I do it?

0:03:43.060000 --> 0:03:46.760000
 All right, so let's start, let's go back
 a little bit and start by getting

0:03:46.760000 --> 0:03:47.980000
 rid of the switch.

0:03:47.980000 --> 0:03:50.860000
 Right click it, select delete.

0:03:50.860000 --> 0:03:54.960000
 Yes. And when I delete it, all the
 links it had to various devices are

0:03:54.960000 --> 0:04:03.280000
 also deleted. OK, so let's go back
 into here and open up my switching

0:04:03.280000 --> 0:04:05.640000
 section. There we go.

0:04:05.640000 --> 0:04:09.980000
 And I'll drag and drop my Ethernet
 switch into the topology.

0:04:09.980000 --> 0:04:11.540000
 All right, so there it is.

0:04:11.540000 --> 0:04:16.180000
 And notice that as a built-in node, the
 moment you drag and drop it, notice

0:04:16.180000 --> 0:04:20.380000
 over here on the right
 how it's already green.

0:04:20.380000 --> 0:04:22.240000
 So it's already on, it's
 already activated.

0:04:22.240000 --> 0:04:24.640000
 There's no shutting down of
 this particular device.

0:04:24.640000 --> 0:04:27.360000
 It's just always there.

0:04:27.360000 --> 0:04:30.720000
 OK, so now if I right click on it, remember,
 this doesn't have any kind

0:04:30.720000 --> 0:04:31.620000
 of command line.

0:04:31.620000 --> 0:04:34.980000
 So the way you would actually configure
 its interfaces by selecting the

0:04:34.980000 --> 0:04:38.260000
 configure option, the
 very first option.

0:04:38.260000 --> 0:04:43.540000
 So as you can see, what it comes up with
 by default are eight interfaces,

0:04:43.540000 --> 0:04:48.320000
 all of which are static access ports,
 all of which are in VLAN 1.

0:04:48.320000 --> 0:04:51.960000
 If I want to add a new interface, you
 can see it's already set up and

0:04:51.960000 --> 0:04:56.120000
 ready to go. So if I click the add button,
 it will add interface number

0:04:56.120000 --> 0:05:01.180000
 9 or port number 9, it'll be an access
 port and it'll be in VLAN 1.

0:05:01.180000 --> 0:05:04.900000
 So there we go. Now if I want to add
 another interface, interface number

0:05:04.900000 --> 0:05:07.740000
 10, maybe I want that to be in a different
 VLANs, you can just change

0:05:07.740000 --> 0:05:11.200000
 that, hit add, there you go again.


0:05:11.200000 --> 0:05:13.880000
 Maybe I want to add a new interface,
 interface 11 and I want it to be

0:05:13.880000 --> 0:05:18.620000
 802.1q. So you can see your options
 here from the drop down menu.

0:05:18.620000 --> 0:05:24.320000
 Now when I make this as an 802.1q port,
 the VLAN referenced here is going

0:05:24.320000 --> 0:05:25.860000
 to be the native VLAN.

0:05:25.860000 --> 0:05:30.820000
 So I might not want VLAN 5 as the
 native VLAN from my 802.1q trunk.

0:05:30.820000 --> 0:05:33.400000
 So I'll set that back down to 1.

0:05:33.400000 --> 0:05:36.440000
 And you can see here how
 it's been created.

0:05:36.440000 --> 0:05:38.960000
 So adding new interfaces
 pretty easy.

0:05:38.960000 --> 0:05:43.280000
 I've actually read that this switch
 can support like up to 10,000 VLAN,

0:05:43.280000 --> 0:05:44.860000
 some crazy number.

0:05:44.860000 --> 0:05:49.680000
 Now what if you want to
 modify an existing port?

0:05:49.680000 --> 0:05:51.160000
 That you cannot do.

0:05:51.160000 --> 0:05:54.260000
 So for example, first of all, you have
 to double click on a port to select

0:05:54.260000 --> 0:05:57.200000
 it, double click, double click.

0:05:57.200000 --> 0:06:01.620000
 And if I wanted to change port number
 1 to be an access port in VLAN 2,

0:06:01.620000 --> 0:06:07.180000
 you might think, OK, we'll just
 change that and then hit apply.

0:06:07.180000 --> 0:06:10.280000
 But look, nothing happened.

0:06:10.280000 --> 0:06:12.540000
 It's still an access
 port in VLAN 1.

0:06:12.540000 --> 0:06:13.800000
 It didn't change anything.

0:06:13.800000 --> 0:06:17.280000
 Similarly, if I want to change one
 of these existing ports into an 802

0:06:17.280000 --> 0:06:20.280000
.1q trunk, that wouldn't work.

0:06:20.280000 --> 0:06:21.720000
 So what's the moral of this story?


0:06:21.720000 --> 0:06:27.760000
 Well, if you want to take an existing
 port and change its characteristics,

0:06:27.760000 --> 0:06:29.980000
 you have to delete it first.

0:06:29.980000 --> 0:06:31.180000
 So I'm just going to
 delete everything.

0:06:31.180000 --> 0:06:34.460000
 I'm going to start with port number
 1 and delete everything that's in

0:06:34.460000 --> 0:06:37.980000
 there. OK, all the ports are gone.


0:06:37.980000 --> 0:06:42.500000
 And now for the purposes of my topology,
 what I'm going to do is I'm going

0:06:42.500000 --> 0:06:47.500000
 to have ports 1 and 2 leading
 to these two PCs in VLAN 1.

0:06:47.500000 --> 0:06:52.080000
 I'll have ports 3 and 4 leading
 to these PCs in VLAN 2.

0:06:52.080000 --> 0:06:56.320000
 And then I'll have port number
 5 as an 802.1q trunk.

0:06:56.320000 --> 0:07:00.820000
 So once again, right click
 and select configure.

0:07:00.820000 --> 0:07:04.660000
 So port number 1 is already by default
 going to be an access port in VLAN

0:07:04.660000 --> 0:07:06.400000
 1. So I'll just hit add.

0:07:06.400000 --> 0:07:07.900000
 Port number 2, I'll just add that.


0:07:07.900000 --> 0:07:11.880000
 That's OK. Now port number 3, before
 I create it, that's the key.

0:07:11.880000 --> 0:07:16.000000
 Before you create it, I'm going
 to change the VLAN to 2, add it.

0:07:16.000000 --> 0:07:19.120000
 Port number 4, I also
 want to be in VLAN 2.

0:07:19.120000 --> 0:07:21.520000
 So add it. And by the way, you can
 also see right here that you could

0:07:21.520000 --> 0:07:24.700000
 change the name of the
 switch if you wish.

0:07:24.700000 --> 0:07:29.160000
 And then port number 5, I'm going
 to have that as an 802.1q port.

0:07:29.160000 --> 0:07:32.700000
 And I'm going to have
 the native VLAN as 1.

0:07:32.700000 --> 0:07:34.540000
 And then hit apply.

0:07:34.540000 --> 0:07:38.040000
 And then OK. So now it's ready.

0:07:38.040000 --> 0:07:41.600000
 Another way that you can verify if
 you're taking a look at an Ethernet

0:07:41.600000 --> 0:07:43.800000
 switch and you wonder how it's configured,
 all you have to do is hover

0:07:43.800000 --> 0:07:46.720000
 over it. Let's put your mouse over
 it, hover there, and then I'll tell

0:07:46.720000 --> 0:07:52.280000
 you. Now in this particular case, it's
 saying the ports are empty because

0:07:52.280000 --> 0:07:54.000000
 it's not connected
 to anything yet.

0:07:54.000000 --> 0:07:57.760000
 So once I actually connect those ports
 to something and then I hover over

0:07:57.760000 --> 0:07:59.940000
 it, I'll actually see
 a lot more stuff.

0:07:59.940000 --> 0:08:03.580000
 I'll see if it's trunking, I'll see if
 it's in a VLAN, I'll see all that.

0:08:03.580000 --> 0:08:05.520000
 So let's do that next.

0:08:05.520000 --> 0:08:10.480000
 So now I'm going to go to my
 connect or add a link tool.

0:08:10.480000 --> 0:08:11.820000
 Just click that.

0:08:11.820000 --> 0:08:13.960000
 All right. So I'll select
 port number 1.

0:08:13.960000 --> 0:08:15.380000
 I'll just click on port 1.

0:08:15.380000 --> 0:08:19.420000
 And then I'll go over here to my
 first PC and select his Ethernet.

0:08:19.420000 --> 0:08:21.580000
 Select port number 2.

0:08:21.580000 --> 0:08:29.440000
 Put on my second PC and I'll just keep
 doing that for the remaining PCs.

0:08:29.440000 --> 0:08:33.320000
 And those in this particular lab, I'm
 using another built-in node, the

0:08:33.320000 --> 0:08:35.400000
 virtual PC simulator.

0:08:35.400000 --> 0:08:37.540000
 Not going to talk about that
 in great detail right now.

0:08:37.540000 --> 0:08:40.280000
 We'll get into that in
 a subsequent video.

0:08:40.280000 --> 0:08:42.520000
 And then lastly, we'll take port number
 5, which has already been pre

0:08:42.520000 --> 0:08:47.420000
-configured as a trunk, and connect it
 to fast Ethernet 0.01 on my switch,

0:08:47.420000 --> 0:08:49.860000
 on my router, that is.

0:08:49.860000 --> 0:08:52.520000
 Deselect the link tool because I
 don't want to add any more links.

0:08:52.520000 --> 0:08:55.580000
 Some of this stuff looks kind of messy,
 but it's nice as I can drag this

0:08:55.580000 --> 0:09:00.940000
 stuff around to make it a little
 bit more easily visible.

0:09:00.940000 --> 0:09:05.220000
 So for some reason, I want to take a
 screenshot of this, or just for my

0:09:05.220000 --> 0:09:08.920000
 own benefit, I can actually
 read it a little bit easier.

0:09:08.920000 --> 0:09:13.220000
 And let's just move the name
 of the switch down here.

0:09:13.220000 --> 0:09:18.700000
 And now we should be good to go.

0:09:18.700000 --> 0:09:24.600000
 And now if I hover over the switch at
 this point, and zoom in there, now

0:09:24.600000 --> 0:09:28.120000
 you can see, for example, port
 1 is access mode in VLAN 1.

0:09:28.120000 --> 0:09:33.720000
 Port 3 is in access mode VLAN 2, and
 port 5 is .1Q with a native VLAN

0:09:33.720000 --> 0:09:36.400000
 of 1. And it tells you
 what's connected to.

0:09:36.400000 --> 0:09:40.220000
 So that's sort of a nice way to get
 a status update on the device.

0:09:40.220000 --> 0:09:44.540000
 Everything is green right now, so let
 me go into one of my virtual PCs

0:09:44.540000 --> 0:09:49.020000
 and make sure it's
 got an IP address.

0:09:49.020000 --> 0:09:56.660000
 And it does. Let's see if he can ping
 his counterpart PC2, who's also

0:09:56.660000 --> 0:09:59.540000
 in the payroll department.

0:09:59.540000 --> 0:10:08.480000
 Not reachable. Okay,
 so let's check PC2.

0:10:08.480000 --> 0:10:17.860000
 Show IP. All right, so he does
 have the correct IP address.

0:10:17.860000 --> 0:10:22.520000
 Actually I have seen this before, where
 everything is set up correctly,

0:10:22.520000 --> 0:10:24.680000
 but they're not pingable.

0:10:24.680000 --> 0:10:29.440000
 And what I've had to do in this particular
 situation actually is, actually

0:10:29.440000 --> 0:10:37.460000
 before I disconnect, I want to save
 my configuration on the PCs.

0:10:37.460000 --> 0:10:41.880000
 Close this. And what I've seen, I have
 to do to make this work is basically

0:10:41.880000 --> 0:10:48.140000
 to shut everything down, so click the
 Stop All Devices button up here.

0:10:48.140000 --> 0:10:54.440000
 And you can see that stops
 everything but the switch.

0:10:54.440000 --> 0:10:57.660000
 And now turn everything
 back on again.

0:10:57.660000 --> 0:11:02.500000
 Let's go back into my PC.

0:11:02.500000 --> 0:11:07.880000
 Show IP. He still has
 his IP address.

0:11:07.880000 --> 0:11:11.180000
 Now let's see if he can ping the
 other PC in the same VLAN.

0:11:11.180000 --> 0:11:16.080000
 And it works. Not sure why I have to
 take that extra step, but in this

0:11:16.080000 --> 0:11:20.820000
 particular case it was necessary
 to stop and restart everything.

0:11:20.820000 --> 0:11:24.180000
 And so that's the basics
 of the Ethernet switch.

0:11:24.180000 --> 0:11:28.720000
 Real simple. And you can see once again,
 just right click it, hit Configure,

0:11:28.720000 --> 0:11:32.440000
 and then you can modify
 the various ports.

0:11:32.440000 --> 0:11:35.700000
 Now, as you can see, there's a few
 other options available to you here

0:11:35.700000 --> 0:11:39.260000
 when you right click, such as change
 the host name, which is something

0:11:39.260000 --> 0:11:42.500000
 we're actually able
 to do in that GUI.

0:11:42.500000 --> 0:11:43.940000
 Change the symbol.

0:11:43.940000 --> 0:11:46.660000
 If you want to change it from this switch
 to one of the other switch types,

0:11:46.660000 --> 0:11:48.780000
 you can. Capture.

0:11:48.780000 --> 0:11:52.500000
 If I selected this, I could actually
 do in a wire shark capture.

0:11:52.500000 --> 0:11:56.320000
 And it would first prompt me for what
 interface I want to capture on.

0:11:56.320000 --> 0:11:59.600000
 And then once it started, every packet
 going in and out would be displayed

0:11:59.600000 --> 0:12:02.420000
 in wire shark. And I'll go ahead and
 do that in a subsequent video where

0:12:02.420000 --> 0:12:07.660000
 I focus exclusively on wire
 shark interaction with this.

0:12:07.660000 --> 0:12:10.600000
 And raising and lowering one layer,
 we've already talked about that when

0:12:10.600000 --> 0:12:15.400000
 I talked about adding circles or adding
 squares into your topology.

0:12:15.400000 --> 0:12:17.880000
 And then of course,
 there is delete.

0:12:17.880000 --> 0:12:21.880000
 So that concludes this particular section
 on the built-in switch node.

0:12:21.880000 --> 0:12:25.700000
 In the next section, we're going to look
 at actually dragging and dropping

0:12:25.700000 --> 0:12:30.260000
 a router that has a special module in
 it called the Ether switch module.

0:12:30.260000 --> 0:12:32.740000
 And that's going to be useful for you
 if you actually want to practice

0:12:32.740000 --> 0:12:38.380000
 iOS switching commands like spanning
 tree, trunking, port fast, and a

0:12:38.380000 --> 0:12:39.540000
 range of other stuff.

0:12:39.540000 --> 0:12:40.940000
 So we'll see that
 in the next video.

