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.

Basic STP<br />

Objective:<br />

To learn how to construct and understand Spanning Tree Protocol (STP) connections, to<br />

view and understand spanning tree states with a protocol inspector, and to construct and<br />

configure redundant backbones between switches.<br />

Tools and Materials:<br />

Three (3) cross-over cables<br />

Three <strong>CISCO</strong> switches (1900 series)<br />

Two (2) straight-through cables<br />

Two Windows PC workstations with Hyperterminal and Ethereal installed<br />

Lab Diagram:<br />

1 bx ax bx ax bx ax 1<br />

st xo xo st<br />

NIC<br />

xo<br />

workstation “A”<br />

workstation “B”<br />

Background:<br />

The main function of the Spanning-Tree Protocol (STP) is to allow us to set up<br />

redundant back up lines in case of emergency between switches. When a main line<br />

between two of the switches becomes dysfunctional the switch, through its STP states<br />

(Blocking, Listening, <strong>Learning</strong>, Forwarding, Disabled), implements the Spanning Tree<br />

Algorithm (STA) when a “link down” is detected. By default the switch checks the<br />

condition of its ports every 30 seconds. In other words, when a main line goes down, the<br />

redundant backbone should come up within 30 seconds (although sometimes it takes up<br />

to about 60 seconds with default settings). STP is implemented on switches, <strong>by</strong> default,<br />

for VLANs 1-64. This means all you have to do is plug in your redundant backbone (a<br />

cross over cable) into any available port between switches because all switches in their<br />

default state have all ports assigned to VLAN 1.<br />

The switch uses priorities to determine which lines are the main lines and which<br />

are the redundant backbones. The values can be 0 through 255. The lower number has<br />

the higher priority (the main lines). By default each 10BaseT port is assigned a priority<br />

of 128 and each 100BaseT port is assigned a priority of 10. On our 1900 series switches<br />

this means that the Ax and Bx ports will be selected as main backup lines before ones<br />

using the numbered (1-12 or 1-24) ports. In practice, we use the Ax and Bx lines to set<br />

our “Trunks” or backbone lines. Since the Ax and Bx lines are typically used for high<br />

speed this works best. In the next lab you will be configuring the backbone lines <strong>by</strong><br />

changing the settings (cost, priority, etc) on each port to determine statically which will<br />

be the main backbones and which will be the redundant backbones.<br />

252

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

Saved successfully!

Ooh no, something went wrong!