Настроено кольцо из 3 коммутаторов, в нем помимо CIST есть MSTI-1 с единственным VLAN-ом.
Проблема в том, что в MSTI-1 не происходит выбор root-коммутатора (каждый коммутатор полагает себя root-ом), и, соотвественно, не строится дерево согласно выставленным приоритетам.
Вот схема Cist, она работает как ожидается:
Вот схема MSTI-1, согласно ожиданям (хочу, чтобы G2 был root и блокировался линк G2-G6):
На самом деле выходит так (блокируется линк G6-G1, Root не выбирается):
Вот как коммутаторы отображают свой MSTI-1:
G2:
Код:
Command: show stp instance 1
STP Instance Settings
---------------------------
Instance Type : MSTI(1)
Instance Status : Enabled
Instance Priority : 16385(Bridge Priority : 16384, SYS ID Ext : 1 )
STP Instance Operational Status
--------------------------------
Regional Root Bridge : 16385/00-1E-58-58-D5-00
Internal Root Cost : 0
Designated Bridge : 16385/00-1E-58-58-D5-00
Root Port : None
Remaining Hops : 20
Last Topology Change : 54292
Topology Changes Count : 5
G6:
Код:
Command: show stp instance 1
STP Instance Settings
---------------------------
Instance Type : MSTI(1)
Instance Status : Enabled
Instance Priority : 32769(Bridge Priority : 32768, SYS ID Ext : 1 )
STP Instance Operational Status
--------------------------------
Regional Root Bridge : 32769/00-1C-F0-1D-17-C0
Internal Root Cost : 0
Designated Bridge : 32769/00-1C-F0-1D-17-C0
Root Port : None
Remaining Hops : 20
Last Topology Change : 61781
Topology Changes Count : 33
G1:
Код:
Command: show stp instance_id 1
STP Instance Settings
---------------------------
Instance Type : MSTI(1)
Instance Status : Enabled
Instance Priority : 32769(bridge priority : 32768, sys ID ext : 1 )
STP Instance Operational Status
--------------------------------
Regional Root Bridge : 32769/00-15-E9-94-CA-00
Internal Root Cost : 0
Designated Bridge : 32769/00-15-E9-94-CA-00
Root Port : None
Remaining Hops : 20
Last Topology Change : 54176
Topology Changes Count : 13
Вот куски конфигов STP на этих коммутаторах:
G2:
Код:
# STP
config stp version mstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 3 fbpdu enable lbd enable lbd_recover_timer 60
config stp priority 16384 instance_id 0
create stp instance_id 1
config stp instance_id 1 add_vlan 55
config stp priority 16384 instance_id 1
config stp mst_config_id name Sprint revision_level 0
enable stp
config stp ports 1-9,11-19,21-27 externalCost auto edge true p2p auto state enable lbd enable
config stp ports 1-27 hellotime 2
config stp mst_ports 1-27 instance_id 0 internalCost auto priority 128
config stp ports 1-27 fbpdu enable
config stp ports 10,20 externalCost auto edge false p2p auto state enable lbd enable
config stp mst_ports 1-9,11-27 instance_id 1 internalCost auto priority 128
config stp mst_ports 10 instance_id 1 internalCost auto priority 192
G6:
Код:
# STP
config stp version mstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 3 fbpdu disable lbd enable lbd_recover_timer 60
config stp priority 32768 instance_id 0
create stp instance_id 1
config stp instance_id 1 add_vlan 55
config stp priority 32768 instance_id 1
config stp mst_config_id name Sprint revision_level 0
enable stp
config stp ports 1-21 externalCost auto edge true p2p auto state enable lbd enable
config stp ports 1-27 hellotime 5
config stp mst_ports 1-22,24-27 instance_id 0 internalCost auto priority 128
config stp ports 1-27 fbpdu enable
config stp ports 22-27 externalCost auto edge false p2p auto state enable lbd enable
config stp mst_ports 23 instance_id 0 internalCost auto priority 192
config stp mst_ports 1-23,25-27 instance_id 1 internalCost auto priority 128
config stp mst_ports 24 instance_id 1 internalCost auto priority 192
G1:
Код:
# STP
config stp version mstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 3 fbpdu enable
config stp priority 32768 instance_id 0
create stp instance_id 1
config stp instance_id 1 add_vlan 55
config stp priority 32768 instance_id 1
config stp mst_config_id name Sprint revision_level 0
enable stp
config stp ports 1:1-1:19,1:21-1:23,1:25-1:26 externalCost auto edge true p2p auto state enable
config stp ports 1:1-1:26 hellotime 2
config stp mst_ports 1:1-1:19,1:21-1:26 instance_id 0 internalCost auto priority 128
config stp ports 1:20,1:24 externalCost auto edge false p2p auto state enable
config stp mst_ports 1:20 instance_id 0 internalCost auto priority 192
config stp mst_ports 1:1-1:26 instance_id 1 internalCost auto priority 128