28.06.2014 Views

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

For each port, there are five parameters that may be changed for each port. Each of these<br />

affects which port connections are utilized as the main backbones and which are the<br />

redundant backbones:<br />

1. State—Blocking, Listening, <strong>Learning</strong>, Forwarding, Disabled<br />

2. Forward Transitions—number of times STP changing forwarding states. This<br />

number increases when STP detects network loops<br />

3. Path Cost—inversely proportional to LAN speed; path costs range from 1 to<br />

65,535—lower number means higher speed connection; default is 100.<br />

4. Priority—ranges from 0 to 255 (used in basic lab); 10BaseT priority is 128;<br />

100Bast T priority is 10<br />

5. Port Fast Mode—using this will accelerate the time it takes to bring a port into the<br />

forwarding state from blocking; Use Port Fast-Mode enabling on ports only for<br />

end station attachments; default for 10BaseT is enabled; default for 100BaseT is<br />

disabled; <strong>by</strong> default STP discovery is 30 seconds (don’t confuse this with BPDU’s<br />

every 2 seconds)<br />

With all switches reset to their factory defaults how do you think one backbone takes<br />

priority over the others if we use all 100BaseT connections? If all costs are equal, then<br />

the switch uses the MAC addresses to determine which ones will be the main and which<br />

ones will be the backup (redundant) lines.<br />

There are three steps involved in the Spanning Tree process: (1) Electing a root<br />

bridge, (2) electing root ports, and (3) electing designated ports.<br />

The root bridge is the bridge from which all other paths are decided. Only one<br />

switch can be the root bridge. The selection process uses the lowest bridge priority<br />

number first and then uses the lowest bridge ID number (the MAC address). The<br />

switches use the BPDU’s to elect a root bridge. When a switch first powers up, it will<br />

assume the role of root bridge until it is told otherwise. The default setting for <strong>CISCO</strong><br />

1900 series switches is 32768.<br />

Next the switches will search for any redundant paths or loops using BPDU’s. An<br />

election of main and backup paths is made using costs. By default, port cost is usually<br />

based upon bandwidth (as we saw in the basic lab). The port with the lowest root path<br />

cost will be elected as the root port/path. Any time a switch has a direct connection to the<br />

root switch it will serve as the root port, regardless of path cost.<br />

The designated port is the port that is advertising the lowest costs to the root<br />

bridge. When all three steps are complete the Spanning Tree is finished being set up.<br />

For this lab we will use private IP addressing with one subnet. You can use<br />

mixed subnet addresses but only <strong>by</strong> activating more complicated settings on the switches<br />

and/or using routers. Using different subnets will not allow you to ping with this<br />

topology.<br />

Step-By-Step Instructions:<br />

You should set each switch back to its factory default settings. The power should be<br />

turned off when you are finished re-setting.<br />

Calculate and identify root bridge and main and redundant backbones:<br />

1. Now then…this is a bit different than our three-switch configuration in the last lab.<br />

In that lab no matter which line was disconnected, each line still had a direct<br />

258

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!