Spanning Tree Protocol Lab
Spanning Tree Protocol Lab
Topology
(Note: The MAC addresses seen within the topology above will not match the MAC addresses
of your topology. Therefore, we will begin with a practice exercise, analyzing the STP
topology shown.)
Solution
SW1>enable
SW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
Cost 4
Port 3 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW2>enable
SW2#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
Cost 4
Port 3 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW3>enable
SW3#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
Cost 4
Port 3 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW2#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
Cost 4
Port 3 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW3#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
Cost 4
Port 3 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW2#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
Cost 4
Port 3 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW3#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
Cost 4
Port 3 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW2#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
Cost 4
Port 3 (GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
SW3#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 5254.0002.96d2
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
(We challenge you to create your own topology, using the Initial Configuration Commands
that follow, and go through the calculations and verifications yourself. Below is a topology
that you can reference for your topology.)
SW1:
enable
conf t
no ip domain-lookup
line con 0
logging synchronous
exec-timeout 0 0
hostname SW1
int gig 0/0
shutdown
int gig 0/3
shutdown
end
copy run star
SW2:
enable
conf t
no ip domain-lookup
line con 0
logging synchronous
exec-timeout 0 0
hostname SW2
int gig 0/0
shutdown
end
copy run star
SW3:
enable
conf t
no ip domain-lookup
line con 0
logging synchronous
exec-timeout 0 0
hostname SW3
int gig 0/0
shutdown
end
copy run star