I have two switches and two huawei switches connected in redundancy topology. vlan 331 is pruned on Gi0/19 ports in cisco switches. spanning tree is not putting any port on blocking. I am getting MAC flap between Gi0/19 and Gi0/23. Can any one help how to tune spanning tree work for vlan 331.
SW 1(Gi0/19)-----------------------(Gi13) Huawei switch1
SW2(Gi0/19)------------------------(Gi13)Huawei switch1
SW1 and SW2 are connected through Gi0/23 and Huawei switches are interconnected.
SW01#show spanning-tree vlan 331
VLAN0331
Spanning tree enabled protocol ieee
Root ID Priority 33099
Address 38ed.18e4.7c00
Cost 4
Port 21 (GigabitEthernet0/21)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 33099 (priority 32768 sys-id-ext 331)
Address 40f4.ecc3.8100
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi0/19 Desg FWD 4 128.19 P2p
Gi0/20 Desg FWD 4 128.20 P2p
Gi0/21 Root FWD 4 128.21 P2p
Gi0/23 Desg FWD 4 128.23 P2p
SW02#show spanning-tree vlan 123 331
VLAN0331
Spanning tree enabled protocol ieee
Root ID Priority 33099
Address 38ed.18e4.7c00
Cost 8
Port 23 (GigabitEthernet0/23)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 33099 (priority 32768 sys-id-ext 331)
Address 40f4.ec48.8980
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi0/19 Desg FWD 4 128.19 P2p
Gi0/20 Desg FWD 4 128.20 P2p
Gi0/21 Desg FWD 4 128.21 P2p
Gi0/23 Root FWD 4 128.23 P2p