Here's the scenario:
2 switches - 2950-24
2 trunks - both running 802.1q/dynamic/desirable on ports FA0/1 and 0/2 respectively
2 VLANs - obviously VLAN1 and VLAN100 that I created.
2 Ports - Fa0/3 on both switches was set to VLAN100 to test ping connectivity between hosts on each side of the topology.
Switch1 - VTP domain CCNA /VTP mode SERVER /STP - PVST /Root bridge of VLAN1
Switch2 - VTP domain CCNA /VTP mode CLIENT /STP - PVST
Status - VTP appears to be working fine, VLAN100 is showing up with show vlan brief on both switches. The configuration registrations are incrementing like they should. However, show spanning-tree vlan 100 on both switches shows that both switches believe they are the Root bridge for VLAN100. I went to Switch1 and set it as the root. Switch2 still believes it's the root bridge as well as does Switch1 most assuredly after hard setting it. I hard set Switch2 priority to the highest value possible as well. All ports for VLAN100 show in the FWD DESG state after running show spanning-tree vlan 100. VLAN1 is behaving as it should in regards to STP. Referenced by the show output below.
Switch 1 - Show spanning-tree vlan 100
Switch 2 - Show spanning-tree vlan 100
Switch1 - show spanning-tree vlan1
Switch2 - show spanning-tree vlan1
Question - How in the world can VLAN100 have all ports in FWD state and a loop not exist? I'm sure this is going to be a /facepalm moment when someone tells me what I've done wrong but I think I'm going to go insane if I don't know why. Or perhaps there's a simple concept that's just not registering for me.
Side notes - After adding a host device off the FA0/3 port of Switch1 and Switch2, I was unable to ping across the switches after setting the ports with:
- switchport mode access
- switchport access vlan 100
I then turned on debug ip packet on the host device connected to switch1( i was using a router for the host) and pinged the other router on switch2 and got an encapsulation error. Then I ran it again and the pings started to go through all of a sudden.
2 switches - 2950-24
2 trunks - both running 802.1q/dynamic/desirable on ports FA0/1 and 0/2 respectively
2 VLANs - obviously VLAN1 and VLAN100 that I created.
2 Ports - Fa0/3 on both switches was set to VLAN100 to test ping connectivity between hosts on each side of the topology.
Switch1 - VTP domain CCNA /VTP mode SERVER /STP - PVST /Root bridge of VLAN1
Switch2 - VTP domain CCNA /VTP mode CLIENT /STP - PVST
Status - VTP appears to be working fine, VLAN100 is showing up with show vlan brief on both switches. The configuration registrations are incrementing like they should. However, show spanning-tree vlan 100 on both switches shows that both switches believe they are the Root bridge for VLAN100. I went to Switch1 and set it as the root. Switch2 still believes it's the root bridge as well as does Switch1 most assuredly after hard setting it. I hard set Switch2 priority to the highest value possible as well. All ports for VLAN100 show in the FWD DESG state after running show spanning-tree vlan 100. VLAN1 is behaving as it should in regards to STP. Referenced by the show output below.
Switch 1 - Show spanning-tree vlan 100
Code:
Switch#show spanning-tree vlan 100
VLAN0100
Spanning tree enabled protocol ieee
Root ID Priority 16484
Address 0001.9767.B8E5
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 16484 (priority 16384 sys-id-ext 100)
Address 0001.9767.B8E5
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 19 128.1 P2p
Fa0/2 Desg FWD 19 128.2 P2p
Fa0/3 Desg FWD 19 128.3 P2p
Switch 2 - Show spanning-tree vlan 100
Code:
Switch#show spanning-tree vlan 100
VLAN0100
Spanning tree enabled protocol ieee
Root ID Priority 61540
Address 00E0.B04E.84D8
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 61540 (priority 61440 sys-id-ext 100)
Address 00E0.B04E.84D8
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/2 Desg FWD 19 128.2 P2p
Fa0/3 Desg FWD 19 128.3 P2p
Fa0/1 Desg FWD 19 128.1 P2p
Switch1 - show spanning-tree vlan1
Code:
Switch#show spanning-tree vlan 1
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0001.9767.B8E5
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0001.9767.B8E5
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 19 128.1 P2p
Fa0/2 Desg FWD 19 128.2 P2p
Switch2 - show spanning-tree vlan1
Code:
Switch#show spanning-tree vlan 1
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 16484
Address 0001.9767.B8E5
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00E0.B04E.84D8
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root FWD 19 128.1 P2p
Fa0/2 Altn BLK 19 128.2 P2p
Question - How in the world can VLAN100 have all ports in FWD state and a loop not exist? I'm sure this is going to be a /facepalm moment when someone tells me what I've done wrong but I think I'm going to go insane if I don't know why. Or perhaps there's a simple concept that's just not registering for me.
Side notes - After adding a host device off the FA0/3 port of Switch1 and Switch2, I was unable to ping across the switches after setting the ports with:
- switchport mode access
- switchport access vlan 100
I then turned on debug ip packet on the host device connected to switch1( i was using a router for the host) and pinged the other router on switch2 and got an encapsulation error. Then I ran it again and the pings started to go through all of a sudden.