Here is my network diagram
Vlan 240 is for network administration.
I would like root port to be spfplus1 and alternate port bonding.
Sfpplus interface on both routers won't become root port.
Switch configuration:
TL-SG3424X_MASTER#sh spanning-tree active
Spanning tree is enabled
Spanning-tree's mode: RSTP (802.1w Rapid Spanning Tree Protocol)
Latest topology change time: 2022-10-13 11:14:54
Root Bridge
Priority : 0
Address : 14-eb-b6-9e-cc-97
Local bridge is the root bridge
Designated Bridge
Priority : 0
Address : 14-eb-b6-9e-cc-97
Local Bridge
Priority : 0
Address : 14-eb-b6-9e-cc-97
Interface State Prio Ext-Cost Int-Cost Edge P2p Mode Role Status LAG
--------- ------- ---- -------- -------- ---- --------- ----- ----- ------ ----
Gi1/0/1 Enable 128 20000 20000 No Yes(auto) Rstp Desg Fwd N/A
Gi1/0/2 Enable 128 20000 20000 No Yes(auto) Rstp Desg Fwd N/A
Gi1/0/3 Enable 128 20000 20000 No Yes(auto) Rstp Desg Fwd N/A
Gi1/0/9 Enable 128 20000 20000 No Yes(auto) Rstp Desg Fwd N/A
Gi1/0/10 Enable 128 20000 20000 Yes Yes(auto) Rstp Desg Fwd N/A
Gi1/0/11 Enable 128 20000 20000 No Yes(auto) Rstp Desg Fwd N/A
Te1/0/25 Enable 128 2000 2000 No Yes(auto) Rstp Desg Fwd N/A
Te1/0/26 Enable 128 2000 2000 No Yes(auto) Rstp Desg Fwd N/A
Te1/0/27 Enable 128 2000 2000 No Yes(auto) Rstp Desg Fwd N/A
Te1/0/28 Enable 128 2000 2000 No Yes(auto) Rstp Desg Fwd N/A
Po1 Enable 128 10000 10000 No Yes(auto) Rstp Desg Fwd N/A
Po5 Enable 128 10000 10000 No Yes(auto) Rstp Desg Fwd N/A
TL-SG3424X_BACKUP#sh spanning-tree active
Spanning tree is enabled
Spanning-tree's mode: RSTP (802.1w Rapid Spanning Tree Protocol)
Latest topology change time: 2022-10-13 11:13:50
Root Bridge
Priority : 0
Address : 14-eb-b6-9e-cc-97
External Cost : 2000
Root Port : Te1/0/28
Designated Bridge
Priority : 0
Address : 14-eb-b6-9e-cc-97
Local Bridge
Priority : 4096
Address : b0-a7-b9-a7-dc-09
Interface State Prio Ext-Cost Int-Cost Edge P2p Mode Role Status LAG
--------- ------- ---- -------- -------- ---- --------- ----- ----- ------ ----
Gi1/0/1 Enable 128 200000 200000 No Yes(auto) Rstp Desg Fwd N/A
Gi1/0/3 Enable 128 200000 200000 No Yes(auto) Rstp Desg Fwd N/A
Te1/0/28 Enable 128 2000 2000 No Yes(auto) Rstp Root Fwd N/A
Po1 Enable 128 10000 10000 No Yes(auto) Rstp Desg Fwd N/A
There is no Po3 and Po4 on TL-SG3424X_BACKUP, because i had to turn of ports (bonding/LACP) on routers or the is a storm and everything is unavailable.
Just to be able to connect back to routers i had to plug off switch TL-SG3424X_BACKUP, and then port role becomes disabled for bonding and designated for sfpplus.
When sfpplus and bonding are connected, on switch TL-SG3424X_MASTER i saw that Te1/0/28 is disabled by RSTP.
I restarted both routers and switches, but no change.
I experienced storm every time I enabled bonding/one port on router.
I tried to remove bonding/LACP but then root port is sfp port, not sfpplus port.
I tried to change values for bridge port priority, cost, internal cost, no matter what values I put, root ports on router are always sfp ports, not sfpplus ports.
I disabled edge port on both interfaces, but no change.
RB4011iGS+5HacQ2HnD
/interface bridge
add frame-types=admit-only-vlan-tagged name=bridge_trunk pvid=240 vlan-filtering=yes
/interface bridge port
add bridge=bridge_trunk frame-types=admit-only-vlan-tagged interface=sfp-sfpplus1 internal-path-cost=2000 path-cost=2000 priority=0x10 pvid=240
add bridge=bridge_trunk frame-types=admit-only-vlan-tagged interface=bonding_ether_7_8 internal-path-cost=10000 path-cost=10000 pvid=240
CCR1016-12S-1S+
/interface bridge
add frame-types=admit-only-vlan-tagged name=bridge_trunk pvid=240 vlan-filtering=yes
/interface bridge port
add bridge=bridge_trunk frame-types=admit-only-vlan-tagged interface=sfpplus1 internal-path-cost=2000 path-cost=2000 priority=0x10 pvid=240
add bridge=bridge_trunk frame-types=admit-only-vlan-tagged interface=bonding_ether_9_10 internal-path-cost=10000 path-cost=10000 pvid=240
These are only one of values i tried to enter
I read one post where sindy - Forum Guru wrote: "To make a bridge a root one within the network, you have to set its priority parameter to the lowest one among all the other bridges in the system, i.e. 4096 (0x1000). Google up why it is 4096 rather than 0 or 1.", but i didn't find why.
I changed CIST Priority on TL-SG3424X_MASTER to 4096 and on TL-SG3424X_BACKUP to 8192, but same result, root ports on router are always sfp ports, not sfpplus ports.
I am not sure if there is some connection between vrrp and rstp so just to mention, on both routers the are vlans and vrrp configured
/interface vlan
add interface=bridge_trunk name=vlan_232 vlan-id=232
add interface=bridge_trunk name=vlan_233 vlan-id=233
add interface=bridge_trunk name=vlan_234 vlan-id=234
add interface=bridge_trunk name=vlan_235 vlan-id=235
add interface=bridge_trunk name=vlan_236 vlan-id=236
add interface=bridge_trunk name=vlan_237 vlan-id=237
add interface=bridge_trunk name=vlan_238 vlan-id=238
add interface=bridge_trunk name=vlan_239 vlan-id=239
add interface=bridge_trunk name=vlan_240 vlan-id=240
add interface=bridge_trunk name=vlan_241 vlan-id=241
add interface=bridge_trunk name=vlan_242 vlan-id=242
add interface=bridge_trunk name=vlan_243 vlan-id=243
add interface=bridge_trunk name=vlan_244 vlan-id=244
add interface=bridge_trunk name=vlan_245 vlan-id=245
add interface=bridge_trunk name=vlan_246 vlan-id=246
add interface=bridge_trunk name=vlan_247 vlan-id=247
/interface vrrp
add interface=sfp1 name=vrrp_sfp1 priority=200 vrid=199
add interface=vlan_232 name=vrrp_vlan_232 priority=200 vrid=232
add interface=vlan_233 name=vrrp_vlan_233 priority=200 vrid=233
add interface=vlan_234 name=vrrp_vlan_234 priority=200 vrid=234
add interface=vlan_235 name=vrrp_vlan_235 priority=200 vrid=235
add interface=vlan_236 name=vrrp_vlan_236 priority=200 vrid=236
add interface=vlan_237 name=vrrp_vlan_237 priority=200 vrid=237
add interface=vlan_238 name=vrrp_vlan_238 priority=200 vrid=238
add interface=vlan_239 name=vrrp_vlan_239 priority=200 vrid=239
add disabled=yes interface=vlan_240 name=vrrp_vlan_240 preemption-mode=no priority=200 vrid=240
add interface=vlan_241 name=vrrp_vlan_241 priority=200 vrid=241
add interface=vlan_242 name=vrrp_vlan_242 priority=200 vrid=242
add interface=vlan_243 name=vrrp_vlan_243 priority=200 vrid=243
add interface=vlan_244 name=vrrp_vlan_244 priority=200 vrid=244
add interface=vlan_245 name=vrrp_vlan_245 priority=200 vrid=245
add interface=vlan_246 name=vrrp_vlan_246 priority=200 vrid=246
add interface=vlan_247 name=vrrp_vlan_247 priority=200 vrid=247
Please help!!
My PC is connected to switch TL-SG3424X_MASTER which is on Po5.