WEBVTT

0:00:08.460000 --> 0:00:12.700000
 So here we are in part four, which will
 be the last section of this CCNA

0:00:12.700000 --> 0:00:15.060000
 switching lab that we've built.

0:00:15.060000 --> 0:00:17.860000
 And now we're going to modify
 some spanning tree parameters.

0:00:17.860000 --> 0:00:21.680000
 Because as we talked about at the end
 of the last video, currently with

0:00:21.680000 --> 0:00:25.440000
 the way spanning tree is, is that everything
 being sent from router one

0:00:25.440000 --> 0:00:29.900000
 across these switches is going across
 our lowest numbered interfaces,

0:00:29.900000 --> 0:00:35.260000
 one slash nine. But the objective said
 that it should be taking this path.

0:00:35.260000 --> 0:00:37.940000
 So what are we going
 to do to fix that?

0:00:37.940000 --> 0:00:42.620000
 All right, well step number one is
 we have to identify who is the root

0:00:42.620000 --> 0:00:43.980000
 bridge in this particular case.

0:00:43.980000 --> 0:00:47.760000
 Well, just by looking at this, hopefully
 you can answer that question.

0:00:47.760000 --> 0:00:52.620000
 Only the root bridge would have all of
 his ports in the forwarding state.

0:00:52.620000 --> 0:00:54.140000
 Well, that's actually
 not technically true.

0:00:54.140000 --> 0:00:56.220000
 But in this particular
 case, that's the case.

0:00:56.220000 --> 0:00:57.620000
 How do we verify that?

0:00:57.620000 --> 0:01:04.280000
 Well, let's go on to ether
 switch router one.

0:01:04.280000 --> 0:01:08.920000
 And we can do the show spanning
 dash tree command.

0:01:08.920000 --> 0:01:10.720000
 Now this was a real switch.

0:01:10.720000 --> 0:01:14.760000
 You'd have to do show spanning dash
 tree and then type of VLAN number.

0:01:14.760000 --> 0:01:21.560000
 So let's go ahead and do that show
 spanning dash tree for VLAN four.

0:01:21.560000 --> 0:01:26.240000
 And right here it says we are
 the root of the spanning tree.

0:01:26.240000 --> 0:01:32.140000
 And if we do that for VLAN five,
 they'll be exactly the same.

0:01:32.140000 --> 0:01:35.140000
 We are the root of
 the spanning tree.

0:01:35.140000 --> 0:01:38.580000
 Now when it comes to VLAN load balancing,
 the first thing you should look

0:01:38.580000 --> 0:01:44.360000
 at is if I move my root bridge around,
 could I possibly get what I want

0:01:44.360000 --> 0:01:52.440000
 to get? In this particular case,
 that's not going to help us.

0:01:52.440000 --> 0:01:58.660000
 Because if I made the switch on the
 bottom, the root bridge, let's just

0:01:58.660000 --> 0:02:01.620000
 say theoretically I did that.

0:02:01.620000 --> 0:02:07.440000
 And let's say I did it for, now I think
 it said the lab objectives here

0:02:07.440000 --> 0:02:09.880000
 did not really specify which
 VLAN we're talking about.

0:02:09.880000 --> 0:02:12.380000
 So let's say I made him the
 root bridge for everything.

0:02:12.380000 --> 0:02:16.660000
 Well, all that would do is what we would
 see is that now all of his ports

0:02:16.660000 --> 0:02:20.700000
 would go forwarding because the root
 bridge every port is forwarding as

0:02:20.700000 --> 0:02:23.220000
 a designated port.

0:02:23.220000 --> 0:02:28.080000
 And then the switch on the top, he would
 end up saying, well, I'm going

0:02:28.080000 --> 0:02:31.580000
 to go ahead and go forwarding
 on my lowest numbered port.

0:02:31.580000 --> 0:02:33.940000
 And I'm going to go blocking
 on this port.

0:02:33.940000 --> 0:02:36.000000
 Not going to go into
 the details of why?

0:02:36.000000 --> 0:02:40.500000
 If you're not sure of how that happens,
 please look at my CCNA video series

0:02:40.500000 --> 0:02:44.120000
 on routing and switching where I go
 into gory details on spanning tree.

0:02:44.120000 --> 0:02:48.140000
 So moving the root bridge around,
 not going to help us.

0:02:48.140000 --> 0:02:49.700000
 So might as well get rid of that.

0:02:49.700000 --> 0:02:51.920000
 Let's go back to where we were.

0:02:51.920000 --> 0:02:56.240000
 All right, so ultimately,
 here's what we need to do.

0:02:56.240000 --> 0:03:00.280000
 We need to somehow trick
 Ether switch router to.

0:03:00.280000 --> 0:03:04.420000
 We need to make him believe that this
 interface here should be his root

0:03:04.420000 --> 0:03:10.560000
 port. We want him to select this as the
 root port so that he'll go forwarding.

0:03:10.560000 --> 0:03:12.360000
 So how do we make
 him believe that?

0:03:12.360000 --> 0:03:18.260000
 Well, we actually have two
 ways that we can do it.

0:03:18.260000 --> 0:03:23.580000
 Number one, remember that spanning tree
 ultimately relies on cost to figure

0:03:23.580000 --> 0:03:25.680000
 out the best path
 through a network.

0:03:25.680000 --> 0:03:29.840000
 So one thing we could do is we could
 go onto his interface and tell him,

0:03:29.840000 --> 0:03:35.220000
 hey, the spanning tree cost of this
 interface is less than the spanning

0:03:35.220000 --> 0:03:37.560000
 tree cost of 1 slash 9.

0:03:37.560000 --> 0:03:40.180000
 That's one thing we could do.

0:03:40.180000 --> 0:03:43.620000
 Alternatively, we could leave the cost
 alone because right now they're

0:03:43.620000 --> 0:03:47.840000
 exactly identical because when the
 cost is identical, what ultimately

0:03:47.840000 --> 0:03:54.760000
 ended up causing this scenario was the
 port priority, the port priority.

0:03:54.760000 --> 0:04:03.740000
 You see in this particular case, when
 BPDUs came downstream this way,

0:04:03.740000 --> 0:04:08.140000
 both those BPDUs had the same bridge
 ID because they both came from the

0:04:08.140000 --> 0:04:13.240000
 same bridge. They both had the same
 cost, which was 0 because they were

0:04:13.240000 --> 0:04:15.300000
 coming from the root bridge.

0:04:15.300000 --> 0:04:19.060000
 The only thing that was different about
 them was that the port IDs were

0:04:19.060000 --> 0:04:22.600000
 different. Now remember, port ID and
 spanning tree is a two part field.

0:04:22.600000 --> 0:04:27.800000
 You have a port priority and
 a port ID, a port identifier.

0:04:27.800000 --> 0:04:31.340000
 Well, by default, the port
 priority is the same.

0:04:31.340000 --> 0:04:32.560000
 It doesn't matter.

0:04:32.560000 --> 0:04:33.920000
 It's always the same.

0:04:33.920000 --> 0:04:37.100000
 So if the port priority is the same,
 the only thing that made these unique

0:04:37.100000 --> 0:04:42.980000
 were the port numbers and 1 slash 9
 as a lower number than 1 slash 15

0:04:42.980000 --> 0:04:48.040000
 was preferred. Now you can't change
 the port number, but you can change

0:04:48.040000 --> 0:04:50.100000
 the port priority.

0:04:50.100000 --> 0:04:51.040000
 So let's do both.

0:04:51.040000 --> 0:04:54.620000
 Let's go ahead and modify the cost and
 then we'll set it back to default

0:04:54.620000 --> 0:04:56.300000
 and then we'll modify
 the port priority.

0:04:56.300000 --> 0:04:59.260000
 So if I want to modify the cost, I'm
 going to want to modify the cost

0:04:59.260000 --> 0:05:04.000000
 on this port right here, 1
 slash 15 on Ether switch 2.

0:05:04.000000 --> 0:05:11.600000
 All right, so let's get
 out of Ether switch 1.

0:05:11.600000 --> 0:05:14.320000
 Over here to Ether switch 2.

0:05:14.320000 --> 0:05:19.500000
 Let's go into interface fast
 ethernet 1 slash 15.

0:05:19.500000 --> 0:05:23.520000
 Spanning dash tree VLAN 4.

0:05:23.520000 --> 0:05:26.100000
 And now we're going
 to want to say cost.

0:05:26.100000 --> 0:05:30.380000
 And well, what's the
 cost right now?

0:05:30.380000 --> 0:05:34.800000
 Well, you should know for the CCNA,
 the cost of a fast ethernet link is

0:05:34.800000 --> 0:05:41.640000
 always 19. If you're using regular 802
.1d, that's the default port cost.

0:05:41.640000 --> 0:05:49.960000
 So let's do spanning dash tree
 VLAN 4 cost, how about 18?

0:05:49.960000 --> 0:05:58.400000
 And let's do that same thing
 for VLAN 5 as well.

0:05:58.400000 --> 0:06:06.640000
 And now when we do show spanning tree
 for VLAN 4, remember, who are we

0:06:06.640000 --> 0:06:09.540000
 on right now? We're on the
 bottom switch right here.

0:06:09.540000 --> 0:06:11.380000
 And what did it look
 like previously?

0:06:11.380000 --> 0:06:14.660000
 Previously 1 slash 15 was
 in the blocking state.

0:06:14.660000 --> 0:06:19.320000
 But now what we've done is we've said,
 okay, your cost to get to the root

0:06:19.320000 --> 0:06:23.620000
 bridge on 1 slash 9 is 19 because
 it's fast ethernet.

0:06:23.620000 --> 0:06:27.320000
 But your cost to get to the
 root bridge over here is 18.

0:06:27.320000 --> 0:06:31.260000
 We lowered it. So now ultimately
 we should see these two swap.

0:06:31.260000 --> 0:06:35.400000
 We should see 1 slash 9 go into the
 blocking state and we should see 1

0:06:35.400000 --> 0:06:39.000000
 slash 15 go into the
 forwarding state.

0:06:39.000000 --> 0:06:45.260000
 And there we go.

0:06:45.260000 --> 0:06:50.300000
 1 slash 9 for VLAN 4 is blocking 1
 slash 15 for VLAN 4 is forwarding.

0:06:50.300000 --> 0:06:54.000000
 And we'll see the exact same output
 for VLAN 5 because we modified the

0:06:54.000000 --> 0:06:57.140000
 cost for VLAN 5 as well.

0:06:57.140000 --> 0:06:59.540000
 1 slash 9 is blocking.

0:06:59.540000 --> 0:07:01.980000
 1 slash 15 is forwarding.

0:07:01.980000 --> 0:07:12.980000
 So if I scroll down here, you'll see that
 on 1 slash 9 we didn't do anything.

0:07:12.980000 --> 0:07:14.680000
 We left it to its defaults.

0:07:14.680000 --> 0:07:19.600000
 But on the interface going upstream
 to the root bridge, we modified the

0:07:19.600000 --> 0:07:21.920000
 cost on 1 slash 15.

0:07:21.920000 --> 0:07:25.380000
 So that was one way that you could
 accomplish this objective.

0:07:25.380000 --> 0:07:29.760000
 The other way was to
 leave cost alone.

0:07:29.760000 --> 0:07:33.100000
 So let's go ahead
 and take this out.

0:07:33.100000 --> 0:07:41.800000
 The other way was to go to the upstream
 switch that's sending you the

0:07:41.800000 --> 0:07:49.800000
 BPDUs. And modify
 his port priority.

0:07:49.800000 --> 0:07:52.800000
 So let's go to ether switch 1.

0:07:52.800000 --> 0:07:56.960000
 Interface fast ethernet 0 slash.

0:07:56.960000 --> 0:08:06.940000
 Actually before we go there, show
 spanning dash tree VLAN 4.

0:08:06.940000 --> 0:08:11.960000
 And we can see here that they both have
 the exact same port priority of

0:08:11.960000 --> 0:08:15.340000
 128. That's our default
 port priority.

0:08:15.340000 --> 0:08:17.760000
 So now what we're going to do is we're
 going to lower his port priority

0:08:17.760000 --> 0:08:23.100000
 to 127, which will make the guy downstream
 from him, which is ethernet

0:08:23.100000 --> 0:08:29.500000
 ether switch 2, prefer fast
 ethernet 1 slash 15.

0:08:29.500000 --> 0:08:32.400000
 Spanning dash tree.

0:08:32.400000 --> 0:08:36.280000
 And I'll just do it
 for everything.

0:08:36.280000 --> 0:08:38.520000
 I'm not going to specify
 any particular VLAN.

0:08:38.520000 --> 0:08:42.660000
 Although I could port
 priority 127.

0:08:42.660000 --> 0:08:46.080000
 Ah, but we have to do
 it in increments of 8.

0:08:46.080000 --> 0:08:51.460000
 So we'll do 120.

0:08:51.460000 --> 0:08:58.240000
 So now what's happening is we're back
 to this, where we're on the bottom

0:08:58.240000 --> 0:09:01.440000
 switch we have 19, 19.

0:09:01.440000 --> 0:09:05.280000
 But the BPDUs are coming
 down from ether switch 1.

0:09:05.280000 --> 0:09:08.660000
 This one has a port
 priority of 128.

0:09:08.660000 --> 0:09:10.720000
 This one has a port
 priority of 127.

0:09:10.720000 --> 0:09:15.300000
 And remember in spanning tree
 lower is always better.

0:09:15.300000 --> 0:09:20.040000
 And so now that will cause ether switch
 2 to swap out these numbers.

0:09:20.040000 --> 0:09:25.660000
 And now this will go blocking
 and this will go forwarding.

0:09:25.660000 --> 0:09:26.640000
 So let's verify that.

0:09:26.640000 --> 0:09:30.500000
 Let's go back to ether switch 2 and
 make sure that 1 slash 15 is now in

0:09:30.500000 --> 0:09:41.420000
 the forwarding stage.

0:09:41.420000 --> 0:09:45.640000
 And there we can see the lower
 number port is now blocking.

0:09:45.640000 --> 0:09:49.920000
 The higher number port
 is now forwarding.

0:09:49.920000 --> 0:09:54.640000
 And that concludes this CCNA
 level switching lab.

