Аналогичная проблема.
Стенд. Т.е. ничего "левого" в сети не бродит. Кольцо
(1)[23] <=> (2)[25] (2)[26] <=> (3)[25] (3)[26] <=> (1) [24]
Где (1) = DGS-3627G прошивка 2.40-B55,
(2) и (3) = DES-3028 (из одной серии) прошивка 1.03-B16.
Были различные варианты конфигурации - STP, MSTP, в данный момент приведу конфиги для RSTP, хотя ситуация аналогична для всех вариантов.
Конфиг DGS-3627G (1):
Код:
disable pvid auto_assign
config vlan default delete 1-27
config vlan default add untagged 1-27
config vlan default advertisement enable
create vlan ADMIN tag 5
config vlan ADMIN add tagged 23-24
config vlan ADMIN add untagged 21 advertisement disable
create vlan vlan101 tag 101
config vlan vlan101 add tagged 23-24 advertisement disable
create vlan vlan102 tag 102
config vlan vlan102 add tagged 23-24 advertisement disable
disable gvrp
config gvrp 1-20,22-27 state disable ingress_checking enable acceptable_frame admit_all pvid 1
config gvrp 21 state disable ingress_checking enable acceptable_frame admit_all pvid 5
config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 3 fbpdu enable hellotime 2 lbd enable lbd_recover_timer 60
config stp priority 4096 instance_id 0
config stp mst_config_id name 00:1C:F0:20:62:00 revision_level 0
enable stp
config stp ports 1-20,22-27 externalCost auto edge false p2p auto state enable lbd disable
config stp mst_ports 1-27 instance_id 0 internalCost auto priority 128
config stp ports 1-20,22-27 fbpdu enable
config stp ports 21 externalCost auto edge true p2p auto state disable lbd disable
config stp ports 21 fbpdu disable
21-й порт сконфигурирован как клиентский, к нему подключен PC с которого осуществляется управление и мониторинг.
Конфиг DES-3028 (2) :
Код:
config vlan default delete 1-28
config vlan default advertisement enable
create vlan ADMIN tag 5
config vlan ADMIN add tagged 25-26
create vlan vlan101 tag 101
config vlan vlan101 add tagged 25-28
config vlan vlan101 add untagged 1-24
create vlan vlan102 tag 102
config vlan vlan102 add tagged 25-28
disable gvrp
config gvrp 1 state disable ingress_checking enable acceptable_frame admit_all pvid 101
[... с порта 1 по порт 24 конфигурация идентична ...]
config gvrp 24 state disable ingress_checking enable acceptable_frame admit_all pvid 101
config gvrp 25 state disable ingress_checking enable acceptable_frame admit_all pvid 1
[... с порта 25 по порт 28 конфигурация идентична ...]
config gvrp 28 state disable ingress_checking enable acceptable_frame admit_all pvid 1
enable stp
config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 3 fbpdu enable hellotime 2 lbd enable lbd_recover_timer 60
config stp priority 32768 instance_id 0
config stp ports 1 externalCost auto edge true p2p auto state disable lbd enable
config stp mst_ports 1 instance_id 0 internalCost auto priority 128
config stp ports 1 fbpdu disable
config stp ports 1 restricted_role true
config stp ports 1 restricted_tcn true
[... с порта 1 по порт 24 конфигурация идентична ...]
config stp ports 24 externalCost auto edge true p2p auto state disable lbd enable
config stp mst_ports 24 instance_id 0 internalCost auto priority 128
config stp ports 24 fbpdu disable
config stp ports 24 restricted_role true
config stp ports 24 restricted_tcn true
config stp ports 25 externalCost 100 edge false p2p auto state enable lbd disable
config stp mst_ports 25 instance_id 0 internalCost auto priority 128
config stp ports 25 fbpdu enable
config stp ports 25 restricted_role false
config stp ports 25 restricted_tcn false
config stp ports 26 externalCost 500 edge false p2p auto state enable lbd disable
config stp mst_ports 26 instance_id 0 internalCost auto priority 128
config stp ports 26 fbpdu enable
config stp ports 26 restricted_role false
config stp ports 26 restricted_tcn false
config stp ports 27 externalCost auto edge false p2p auto state enable lbd disable
config stp mst_ports 27 instance_id 0 internalCost auto priority 128
config stp ports 27 fbpdu enable
config stp ports 27 restricted_role false
config stp ports 27 restricted_tcn false
config stp ports 28 externalCost auto edge false p2p auto state enable lbd disable
config stp mst_ports 28 instance_id 0 internalCost auto priority 128
config stp ports 28 fbpdu enable
config stp ports 28 restricted_role false
config stp ports 28 restricted_tcn false
config stp mst_config_id name 00:1C:F0:CF:6E:ED revision_level 0
Конфиг DES-3028 (3) :
Код:
config vlan default delete 1-28
config vlan default advertisement enable
create vlan ADMIN tag 5
config vlan ADMIN add tagged 25-26
create vlan vlan101 tag 101
config vlan vlan101 add tagged 25-28
create vlan vlan102 tag 102
config vlan vlan102 add tagged 25-28
config vlan vlan102 add untagged 1-24
disable gvrp
config gvrp 1 state disable ingress_checking enable acceptable_frame admit_all pvid 102
[... с порта 1 по порт 24 конфигурация идентична ...]
config gvrp 24 state disable ingress_checking enable acceptable_frame admit_all pvid 102
config gvrp 25 state disable ingress_checking enable acceptable_frame admit_all pvid 1
[... с порта 25 по порт 28 конфигурация идентична ...]
config gvrp 28 state disable ingress_checking enable acceptable_frame admit_all pvid 1
enable stp
config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 3 fbpdu enable hellotime 2 lbd enable lbd_recover_timer 60
config stp priority 32768 instance_id 0
config stp ports 1 externalCost auto edge true p2p auto state disable lbd enable
config stp mst_ports 1 instance_id 0 internalCost auto priority 128
config stp ports 1 fbpdu disable
config stp ports 1 restricted_role true
config stp ports 1 restricted_tcn true
[... с порта 1 по порт 24 конфигурация идентична ...]
config stp ports 24 externalCost auto edge true p2p auto state disable lbd enable
config stp mst_ports 24 instance_id 0 internalCost auto priority 128
config stp ports 24 fbpdu disable
config stp ports 24 restricted_role true
config stp ports 24 restricted_tcn true
config stp ports 25 externalCost 500 edge false p2p auto state enable lbd disable
config stp mst_ports 25 instance_id 0 internalCost auto priority 128
config stp ports 25 fbpdu enable
config stp ports 25 restricted_role false
config stp ports 25 restricted_tcn false
config stp ports 26 externalCost 100 edge false p2p auto state enable lbd disable
config stp mst_ports 26 instance_id 0 internalCost auto priority 128
config stp ports 26 fbpdu enable
config stp ports 26 restricted_role false
config stp ports 26 restricted_tcn false
config stp ports 27 externalCost auto edge false p2p auto state enable lbd disable
config stp mst_ports 27 instance_id 0 internalCost auto priority 128
config stp ports 27 fbpdu enable
config stp ports 27 restricted_role false
config stp ports 27 restricted_tcn false
config stp ports 28 externalCost auto edge false p2p auto state enable lbd disable
config stp mst_ports 28 instance_id 0 internalCost auto priority 128
config stp ports 28 fbpdu enable
config stp ports 28 restricted_role false
config stp ports 28 restricted_tcn false
config stp mst_config_id name 00:1C:F0:CF:6E:D0 revision_level 0
=====================
При данной конфигурации, равно как и с вариантами STP, MSTP возникает следующая ситуация:
На (1) наблюдаем вполне стабильную картинку:
Код:
DGS-3627G:5#sh stp ins
Command: show stp instance
STP Instance Settings
---------------------------
Instance Type : CIST
Instance Status : Enabled
Instance Priority : 4096 (Bridge Priority : 4096 , SYS ID Ext : 0 )
STP Instance Operational Status
--------------------------------
Designated Root Bridge : 4096 /00-1C-F0-20-62-00
External Root Cost : 0
Regional Root Bridge : 4096 /00-1C-F0-20-62-00
Internal Root Cost : 0
Designated Bridge : 4096 /00-1C-F0-20-62-00
Root Port : None
Max Age : 20
Forward Delay : 15
Last Topology Change : 2698
Topology Changes Count : 3
т.е. все, как и задумано: он - Root. Порты, подключенные к (2) и (3) соответственно:
Код:
DGS-3627G:5#sh stp port 23
Command: show stp ports 23
MSTP Port Information
----------------------
Port Index : 23 , Hello Time: 2 /2 , Port STP : Enabled , LBD : No
External PathCost : Auto/20000 , Edge Port : No /No , P2P : Auto /Yes
Port Forward BPDU : Enabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 1000/001CF0206200 20000 128 Forwarding Designated
DGS-3627G:5#sh stp port 24
Command: show stp ports 24
MSTP Port Information
----------------------
Port Index : 24 , Hello Time: 2 /2 , Port STP : Enabled , LBD : No
External PathCost : Auto/20000 , Edge Port : No /No , P2P : Auto /Yes
Port Forward BPDU : Enabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 1000/001CF0206200 20000 128 Forwarding Designated
Все красиво. Идем далее. На (2):
Код:
DES-3028:4#sh stp ins
Command: 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/00-1C-F0-CF-6E-D0
External Root Cost : 0
Regional Root Bridge : 32768/00-1C-F0-CF-6E-D0
Internal Root Cost : 0
Designated Bridge : 32768/00-1C-F0-CF-6E-D0
Root Port : None
Max Age : 20
Forward Delay : 15
Last Topology Change : 2979
Topology Changes Count : 2
DES-3028:4#sh stp port 25
Command: show stp ports 25
MSTP Port Information
----------------------
Port Index : 25 , Hello Time: 2 /2 , Port STP Enabled , LBD : No
Restricted role : False, Restricted TCN : False
External PathCost : 100 , Edge Port : False/No , P2P : Auto /Yes
Port Forward BPDU : Enabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/001CF0CF6ED0 20000 128 Forwarding Designated
DES-3028:4#sh stp port 26
Command: show stp ports 26
MSTP Port Information
----------------------
Port Index : 26 , Hello Time: 2 /2 , Port STP Enabled , LBD : No
Restricted role : False, Restricted TCN : False
External PathCost : 500 , Edge Port : False/No , P2P : Auto /Yes
Port Forward BPDU : Enabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/001CF0CF6ED0 20000 128 Forwarding Designated
т.е. он не желает признавать Root'ом (1)-го, и упорно считает Root-ом себя?
Но в то же время на (3):
Попеременно - смена значений раз в секунду-две (видимо, по получении bdpu от каждого, из считающих себя Root-ом):
Код:
DES-3028:4#sh stp ins
Command: 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 : 4096 /00-1C-F0-20-62-00
External Root Cost : 100
Regional Root Bridge : 32768/00-1C-F0-CF-6E-ED
Internal Root Cost : 0
Designated Bridge : 4096 /00-1C-F0-20-62-00
Root Port : 26
Max Age : 20
Forward Delay : 15
Last Topology Change : 3204
Topology Changes Count : 8
т.е. признал Root-ом (1) -го, но тут же, несмотря на приоритет:
Код:
DES-3028:4#sh stp ins
Command: 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/00-1C-F0-CF-6E-D0
External Root Cost : 500
Regional Root Bridge : 32768/00-1C-F0-CF-6E-ED
Internal Root Cost : 0
Designated Bridge : 32768/00-1C-F0-CF-6E-D0
Root Port : 25
Max Age : 20
Forward Delay : 15
Last Topology Change : 3232
Topology Changes Count : 8
решил, что Root все-таки (2). Соотвественно порты 25 и 26 становятся попеременно то Forwarding Root:
Код:
DES-3028:4#sh stp port 25
Command: show stp ports 25
MSTP Port Information
----------------------
Port Index : 25 , Hello Time: 2 /2 , Port STP Enabled , LBD : No
Restricted role : False, Restricted TCN : False
External PathCost : 500 , Edge Port : False/No , P2P : Auto /Yes
Port Forward BPDU : Enabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/001CF0CF6ED0 20000 128 Forwarding Root
то Discarding Designated:
Код:
DES-3028:4#sh stp port 25
Command: show stp ports 25
MSTP Port Information
----------------------
Port Index : 25 , Hello Time: 2 /2 , Port STP Enabled , LBD : No
Restricted role : False, Restricted TCN : False
External PathCost : 500 , Edge Port : False/No , P2P : Auto /Yes
Port Forward BPDU : Enabled
MSTI Designated Bridge Internal PathCost Prio Status Role
----- ------------------ ----------------- ---- ---------- ----------
0 8000/001CF0CF6EED 20000 128 Discarding Designated
Соответственно пинги на (1) и (2) ходят стабильно и красиво, на (3) — 75% потерь. При разрыве одного из линков, сеть начинает работать стабильно через 1..3 секунды. Не могу понять - где я неправ?