I configured root guard on 2900XL switch, which is currently the root of vlan 23. On the other side of the 2900XL switch there is a 2950 switch, which is connected to the 2900XL via two trunk lines. I was testing the root guard by forcing the 2950 switch to become the root for vlan 23. However, instead of the 2900XL switch blocking that request I believe it was allowed and now I have two root switches on vlan 23. Why? Below is the output from the "sh spanning-tree vlan 23" from both switches.
Thank You
2900 XL Switch
SW1#sh spanning-tree vlan 23
Spanning tree 23 is executing the IEEE compatible Spanning Tree protocol
Bridge Identifier has priority 32768, address 0030.f2fd.4741
Configured hello time 2, max age 20, forward delay 15
We are the root of the spanning tree
Topology change flag not set, detected flag not set, changes 5
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 1, topology change 0, notification 0
Interface Fa0/12 (port 1) in Spanning tree 23 is ROOT-INCONSISTENT
Port path cost 12, Port priority 128
Designated root has priority 32768, address 0030.f2fd.4741
Designated bridge has priority 32768, address 0030.f2fd.4741
Designated port is 1, path cost 0
Timers: message age 1, forward delay 0, hold 0
BPDU: sent 451, received 104
Root guard is enabled
2950 Switch
SW2#sh spanning-tree vlan 23
VLAN0023
Spanning tree enabled protocol ieee
Root ID Priority 24599
Address 0008.a3f7.0a00
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 24599 (priority 24576 sys-id-ext 23)
Address 0008.a3f7.0a00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Po1 Desg FWD 12 128.65 P2p
Thank You
2900 XL Switch
SW1#sh spanning-tree vlan 23
Spanning tree 23 is executing the IEEE compatible Spanning Tree protocol
Bridge Identifier has priority 32768, address 0030.f2fd.4741
Configured hello time 2, max age 20, forward delay 15
We are the root of the spanning tree
Topology change flag not set, detected flag not set, changes 5
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 1, topology change 0, notification 0
Interface Fa0/12 (port 1) in Spanning tree 23 is ROOT-INCONSISTENT
Port path cost 12, Port priority 128
Designated root has priority 32768, address 0030.f2fd.4741
Designated bridge has priority 32768, address 0030.f2fd.4741
Designated port is 1, path cost 0
Timers: message age 1, forward delay 0, hold 0
BPDU: sent 451, received 104
Root guard is enabled
2950 Switch
SW2#sh spanning-tree vlan 23
VLAN0023
Spanning tree enabled protocol ieee
Root ID Priority 24599
Address 0008.a3f7.0a00
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 24599 (priority 24576 sys-id-ext 23)
Address 0008.a3f7.0a00
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Po1 Desg FWD 12 128.65 P2p