Имеется 2 коммутатора со следующими настройками:
DES-3200-26 A1 Firmware Version: Build 1.40.B006 (далее - коммутатор A1)
# STP
config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 6 fbpdu enable hellotime 2
config stp priority 32768 instance_id 0
config stp mst_config_id name 1C:BD:B9:59:E1:80 revision_level 0
config stp ports 1-24 externalCost auto edge auto p2p auto state disable
config stp mst_ports 1-26 instance_id 0 internalCost auto priority 128
config stp ports 1-24 fbpdu disable
config stp ports 1-24 restricted_role true
config stp ports 1-24 restricted_tcn true
config stp ports 25-26 externalCost auto edge auto p2p auto state enable
config stp ports 25-26 fbpdu enable
config stp ports 25-26 restricted_role false
config stp ports 25-26 restricted_tcn false
enable stp
DES-3200-28 C1 Firmware Version: Build 4.42.B010 (далее - коммутатор С1)
# STP
enable stp
config stp fbpdu enable
config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 6 hellotime 2
config stp nni_bpdu_addr dot1d
config stp tcn_trap_log both
config stp priority 32768 instance_id 0
config stp ports 1 externalCost auto edge auto p2p auto state enable restricted_role true restricted_tcn true
config stp mst_ports 1-28 instance_id 0 internalCost auto priority 128
config stp ports 1,25-28 fbpdu enable
config stp loop_guard ports 1-28 state disable
config stp ports 2-25 externalCost auto edge auto p2p auto state disable restricted_role true restricted_tcn true
config stp ports 2-24 fbpdu disable
config stp ports 26-28 externalCost auto edge auto p2p auto state enable restricted_role false restricted_tcn false
Соединяем коммутаторы: А1 порт 26 - C1 порт 1
Смотрим stp-статусы:
A1: #show stp ports 26
Port Index : 26 , Hello Time: 2 /2 , Port STP Enabled ,
Restricted role : False, Restricted TCN : False
External PathCost : Auto/200000 , Edge Port : Auto /No , P2P : Auto /Yes
Port Forward BPDU : Enabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/9094E4B4D5A0 200000 128 Forwarding Root
A1: #show stp instance
STP Instance Settings
---------------------------
Instance Type : CIST
Instance Status : Enabled
Instance Priority : 32768(Bridge Priority : 32768, sys ID ext : 0 )
STP Instance Operational Status
--------------------------------
Designated Root Bridge : 16384/1C-BD-B9-62-91-E0
External Root Cost : 220000
Regional Root Bridge : 32768/1C-BD-B9-59-E1-80
Internal Root Cost : 0
Designated Bridge : 32768/90-94-E4-B4-D5-A0
Root Port : 26
Max Age : 20
Forward Delay : 15
Last Topology Change : 871
Topology Changes Count : 1
C1: #show stp ports 1
Port Index : 1 , Hello Time: 2 /2 , Port STP : Enabled ,
External PathCost : Auto/200000 , Edge Port : Auto /No , P2P : Auto /Yes
Port RestrictedRole : True , Port RestrictedTCN : True
Port Forward BPDU : Enabled , Loop Guard : Disabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/9094E4B4D5A0 200000 128 Forwarding Designated
Все замечательно. Коммутатор A1 работает через С1. Дерево выстроено. Коммутатор доступен по сети.
Обновляем прошивку на А1 до 1.87.B010, перезагружаем коммутатор.
Повторяем все команды:
A1: #show stp ports 26
Port Index : 26 , Hello Time: 2 /2 , Port STP Enabled ,
Restricted role : False, Restricted TCN : False
External PathCost : Auto/200000 , Edge Port : Auto /Yes, P2P : Auto /Yes
Port Forward BPDU : Enabled , Loop Guard : Disabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/1CBDB959E180 200000 128 Forwarding Designated
A1: #show stp instance
STP Instance Settings
---------------------------
Instance Type : CIST
Instance Status : Enabled
Instance Priority : 32768(Bridge Priority : 32768, sys ID ext : 0 )
STP Instance Operational Status
--------------------------------
Designated Root Bridge : 32768/1C-BD-B9-59-E1-80
External Root Cost : 0
Regional Root Bridge : 32768/1C-BD-B9-59-E1-80
Internal Root Cost : 0
Designated Bridge : 32768/1C-BD-B9-59-E1-80
Root Port : None
Max Age : 20
Forward Delay : 15
Last Topology Change : 1400
Topology Changes Count : 0
C1: #show stp ports 1
Port Index : 1 , Hello Time: 2 /2 , Port STP : Enabled ,
External PathCost : Auto/200000 , Edge Port : Auto /No , P2P : Auto /Yes
Port RestrictedRole : True , Port RestrictedTCN : True
Port Forward BPDU : Enabled , Loop Guard : Disabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/9094E4B4D5A0 200000 128 Discarding Designated
Извлечение из логов С1:
853 2016-09-22 09:27:14 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Forwarding->Discarding
852 2016-09-22 09:27:14 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Learning->Forwarding
851 2016-09-22 09:27:14 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Discarding->Learning
849 2016-09-22 09:21:17 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Forwarding->Discarding
848 2016-09-22 09:21:17 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Learning->Forwarding
847 2016-09-22 09:21:17 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Discarding->Learning
845 2016-09-22 09:14:33 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Forwarding->Discarding
844 2016-09-22 09:14:29 NOTI(5) Topology changed (Instance:0, Port:1,MAC:90-94-E4-B4-D5-A0)
843 2016-09-22 09:14:25 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Learning->Forwarding
842 2016-09-22 09:14:25 NOTI(5) Spanning Tree port status changed (Instance:0, Port:1) Discarding->Learning
841 2016-09-22 09:14:23 INFO(6) Spanning Tree port role changed (Instance:0, Port:1) DisabledPort->DesignatedPort
840 2016-09-22 09:14:23 INFO(6) Port 1 link up, 100Mbps FULL duplex
Порт 1 на C1 меняет состояние
Forwarding->Discarding! Коммутатор A1 недоступен по сети. На слинкованных портах никаких MAC-адресов.
Конфигурация обоих коммутаторов не изменилась. При отключении STP на любом из слинкованных портов сеть поднимается.
Меняем коммутатор С1 на второй А1 (1.87.B010). Все работает при включенном STP!
Вопрос - можно ли "подружить" коммутаторы ревизий А1 и С1 на последних прошивках при включенном STP?