Hello,
I put mstpd stack in my Linux embedded system, but I have some troubles with TCN.
My product is a managed switch. I support BPDU in Kernel driver.
I use mstpd in RSTP mode.
I made a ring with 3 switches.
On one switch I have this :
br0 CIST info
enabled yes
bridge id 8.000.00:XX:XX:82:00:71
designated root 0.000.00:E0:0F:B4:1C:B0
regional root 8.000.00:XX:XX:82:00:71
root port eth0.sw4 (#4)
path cost 400000 internal path cost 0
max age 20 bridge max age 20
forward delay 15 bridge forward delay 15
tx hold count 6 max hops 20
hello time 2 ageing time 300
force protocol version rstp
time since topology change 0
topology change count 3215
topology change yes
topology change port eth0.sw1
last topology change port eth0.sw1
br0:eth0.sw1 CIST info
enabled yes role Designated
port id 8.001 state forwarding
external port cost 200000 admin external cost 200000
internal port cost 200000 admin internal cost 0
designated root 0.000.00:E0:0F:B4:1C:B0 dsgn external cost 400000
dsgn regional root 8.000.00:XX:XX:82:00:71 dsgn internal cost 0
designated bridge 8.000.00:XX:XX:82:00:71 designated port 8.001
admin edge port no auto edge port no
oper edge port no topology change ack no
point-to-point no admin point-to-point no
restricted role no restricted TCN no
port hello time 2 disputed no
bpdu guard port no bpdu guard error no
network port no BA inconsistent no
Num TX BPDU 9746 Num TX TCN 6423
Num RX BPDU 9751 Num RX TCN 59
Num Transition FWD 24 Num Transition BLK 24
br0:eth0.sw4 CIST info
enabled yes role Root
port id 8.004 state forwarding
external port cost 200000 admin external cost 200000
internal port cost 200000 admin internal cost 0
designated root 0.000.00:E0:0F:B4:1C:B0 dsgn external cost 200000
dsgn regional root 8.000.00:XX:XX:82:00:31 dsgn internal cost 0
designated bridge 8.000.00:XX:XX:82:00:31 designated port 8.002
admin edge port no auto edge port no
oper edge port no topology change ack no
point-to-point no admin point-to-point no
restricted role no restricted TCN no
port hello time 2 disputed no
bpdu guard port no bpdu guard error no
network port no BA inconsistent no
Num TX BPDU 9762 Num TX TCN 54
Num RX BPDU 9735 Num RX TCN 6419
Num Transition FWD 15 Num Transition BLK 21
Hello,
I put mstpd stack in my Linux embedded system, but I have some troubles with TCN.
My product is a managed switch. I support BPDU in Kernel driver.
I use mstpd in RSTP mode.
I made a ring with 3 switches.
On one switch I have this :
I made a tcpdump to see what happens :
Can you explain why I have a TCN every 2 seconds (hello time) ?
The problem is shown when one switch is connected to an STP switch (which is the root : bridge priority=1).
I didn't set the portmcheck mode.
Thanks
Sebastien
Last edit: Sebastien JEFFROY 2013-09-25