Lab 7.2.6 Spanning-Tree Recalculation: Objective
Lab 7.2.6 Spanning-Tree Recalculation: Objective
Lab 7.2.6 Spanning-Tree Recalculation: Objective
6 Spanning-Tree Recalculation
Objective
• Create a basic switch configuration and verify it.
• Observe the behavior of spanning-tree algorithm in presence of switched network topology
changes.
Background/Preparation
Cable a network similar to one of the diagram. The configuration output used in this lab is produced
from a 2950 series switch. Any other switch used may produce different output. The following steps
are to be executed on each switch unless specifically instructed otherwise.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
1-6 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 7.2.6 Copyright 2003, Cisco Systems, Inc.
Step 3 Verify connectivity
a. To verify that the hosts and switches are correctly configured, ping the switches from the hosts.
b. Were the pings successful? __________________________________________________
c. If the answer is no, troubleshoot the hosts and switches configurations.
b. On Switch_B type show spanning-tree brief at the Privileged EXEC mode prompt as
follows:
2-6 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 7.2.6 Copyright 2003, Cisco Systems, Inc.
e. Record the states of the first 12 interfaces and ports of each switch.
b. On Switch_B type show spanning-tree brief at the Privileged EXEC mode prompt as
follows:
3-6 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 7.2.6 Copyright 2003, Cisco Systems, Inc.
Step 9 Look at the spanning-tree table on each switch
a. At the Privileged EXEC mode prompt, type the following on Switch_A:
Note: Type show spanning-tree brief if running version 12.0 of the IOS. If running
version 12.1 of the IOS, type just show spanning-tree. Different versions of IOS have
different options for this command.
b. On Switch_B type show spanning-tree brief at the Privileged EXEC mode prompt as
follows:
Once the steps are completed, log off by typing exit, and turn all the devices off. Then remove and
store the cables and adapter.
4-6 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 7.2.6 Copyright 2003, Cisco Systems, Inc.
Erasing and Reloading the Switch
For the majority of the labs in CCNA 3 and CCNA 4 it is necessary to start with an unconfigured
switch. Use of a switch with an existing configuration may produce unpredictable results. These
instructions allow preparation of the switch prior to performing the lab so previous configuration
options do not interfere. The following is the procedure for clearing out previous configurations and
starting with an unconfigured switch. Instructions are provided for the 2900, 2950, and 1900 Series
switches.
Switch>enable
Switch#delete flash:vlan.dat
Delete filename [vlan.dat]?[Enter]
Delete flash:vlan.dat? [confirm] [Enter]
Switch#erase startup-config
Erasing the nvram filesystem will remove all files! Continue? [confirm]
5-6 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 7.2.6 Copyright 2003, Cisco Systems, Inc.
Note: This step is not necessary if the switch was restarted using the power cycle method.
a. At the privileged EXEC mode enter the command reload.
Switch(config)#reload
After the switch has reloaded, the line prompt will be:
#delete vtp
This command resets the switch with VTP parameters set to factory
defaults.
All other parameters will be unchanged.
#delete nvram
This command resets the switch with factory defaults. All system parameters will revert to their
default factory settings. All static and dynamic addresses will be removed.
Reset system with factory defaults, [Y]es or [N]o?
Enter y and press Enter.
6-6 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 7.2.6 Copyright 2003, Cisco Systems, Inc.