Spanning Tree Questions

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
david.sovereen@mercury.net
Member
 
Posts: 33
Joined: Tue Sep 29, 2015 6:17 pm
Location: Midland, MI
Has thanked: 0 time
Been thanked: 2 times

Re: Spanning Tree Questions

Mon May 23, 2016 9:30 am

(2016-05-23 09:38 EDT: I edited this post for clarity and additional information, so you may need to re-read it)

I am having difficulty getting my Netonix switches to speak RSTP with anything other than my Cisco switch, which is root.

I have Mikrotik switches/bridges speaking RSTP and when their traffic goes through Netonix switches to get back to the Cisco root bridge, the path cost does not increase and when I packet sniff for BPDUs, the Mikrotiks see BPDUs from the Cisco (root) but not from the Netonix (directly adjacent switch between the Cisco and the Mikrotik).

In my configuration, my Management VLAN is 10 (top VLAN on VLANs tab). Is that causing Netonix not to send out RSTP on VLAN 1 (second VLAN on VLANs tab)? If so, can that be fixed? RSTP BPDUs are supposed to be on VLAN 1 and it seems like they are not for me.

I should add that I even have a path that goes Cisco <-> Netonix (1) <-> Netonix (2) <-> Mikrotik, and in this case, the Mikrotik still sees BPDUs from the Cisco, the Mikrotik does not see any BPDUs from either of the Netonix switches, and the path costs are not increasing as the number of bridge hops increases. The Netonix switches don't even seem to see each other. For example, no matter what I set the path cost to on Netonix (1), Netonix (2) will always see the path to the Cisco through it as root. I haven't found a place in Netonix that reports the distance to root on each port, which would be helpful in troubleshooting this. Both Netonix switches have the Management VLAN as 10. However, VLAN 1 is untagged on the ports connected to the Cisco and Mikrotik RSTP switches.

Thanks,

Dave
Last edited by david.sovereen@mercury.net on Mon May 23, 2016 9:38 am, edited 2 times in total.

User avatar
sirhc
Employee
Employee
 
Posts: 7421
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1609 times
Been thanked: 1326 times

Re: Spanning Tree Questions

Mon May 23, 2016 9:34 am

I have pinged Eric to look at your post, but it helps to know what firmware version you are using.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
david.sovereen@mercury.net
Member
 
Posts: 33
Joined: Tue Sep 29, 2015 6:17 pm
Location: Midland, MI
Has thanked: 0 time
Been thanked: 2 times

Re: Spanning Tree Questions

Mon May 23, 2016 9:36 am

We are running 1.4.0rc 25

User avatar
sirhc
Employee
Employee
 
Posts: 7421
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1609 times
Been thanked: 1326 times

Re: Spanning Tree Questions

Mon May 23, 2016 9:38 am

Can you also post up screen grabs of the VLAN and RSTP and Device/Configuration Tabs I am sure he will want to see them.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
david.sovereen@mercury.net
Member
 
Posts: 33
Joined: Tue Sep 29, 2015 6:17 pm
Location: Midland, MI
Has thanked: 0 time
Been thanked: 2 times

Re: Spanning Tree Questions

Mon May 23, 2016 3:39 pm

How do I upload the images?
Dave
Last edited by david.sovereen@mercury.net on Mon May 23, 2016 4:10 pm, edited 1 time in total.

User avatar
sirhc
Employee
Employee
 
Posts: 7421
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1609 times
Been thanked: 1326 times

Re: Spanning Tree Questions

Mon May 23, 2016 3:59 pm

david.sovereen@mercury.net wrote:How do I upload the images?
Dave


Right below the BLUE SUBMIT button there is an "Upload Attachment" link
You can upload all you need
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
david.sovereen@mercury.net
Member
 
Posts: 33
Joined: Tue Sep 29, 2015 6:17 pm
Location: Midland, MI
Has thanked: 0 time
Been thanked: 2 times

Re: Spanning Tree Questions

Mon May 23, 2016 4:37 pm

This switch sits between a Cisco switch off Port 1 and a Mikrotik off Port 2 speaking RSTP.

Screen Shot 2016-05-23 at 3.37.20 PM.png

Screen Shot 2016-05-23 at 3.37.29 PM.png


Port 2 is in Discarding mode and it should not be. It doesn't seem to be processing RSTP packets from the Cisco and Mikrotiks. Port 2 and Port 3 should be Forwarding/Designated if it were processing RSTP correctly. When I packet sniff on the Mikrotik off Port 2 of the above Netonix switch, I see BPDUs from the Cisco and no BPDUs from the Netonix.

This switch hangs off the above switch on Port 3.

Screen Shot 2016-05-23 at 3.37.42 PM.png

Screen Shot 2016-05-23 at 3.37.52 PM.png


I have to manually set the Path Cost on Port 1 to 1 in order for it to want choose Port 1 as the port to root. Really, Port 1 should be Forwarding/Root and Port 2 should be Forwarding/Designated if it were processing RSTP correctly.

Dave

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Spanning Tree Questions

Mon May 23, 2016 6:11 pm

I'll also need a detailed network diagram to make sense of this.

User avatar
david.sovereen@mercury.net
Member
 
Posts: 33
Joined: Tue Sep 29, 2015 6:17 pm
Location: Midland, MI
Has thanked: 0 time
Been thanked: 2 times

Re: Spanning Tree Questions

Tue May 24, 2016 10:29 am

I'm getting a Netonix shipped to me so I can break it in a lab. I won't be able to confirm until I receive a Netonix in 1-2 days, but the setup will be:

Cisco switch with:

spanning-tree mode rapid-pvst
spanning-tree lan 1 priority 4096

Mikrotik-1

All ports in Bridge with mode=rstp and path cost 10 (default on Mikrotik)

Mikrotik-2

All ports in Bridge with mode=rstp and path cost 10 (default on Mikrotik)

Wire up as follows:

Cisco G0/1 <-> Mikrotik-1 ether1
Mikrotik-1 ether2 <-> Mikrotik-2 ether1

Mikrotik-1 will show ether1 as root port with path cost of 10

Mikrotik-2 will show ether1 as root port with path cost of 20

Now substitute Mikrotik-1 with Netonix switch with VLAN and STP settings as shown in screenshots (I'm guessing this is critical to reproducing the bug), moving cables from Mikrotik-1 ether1 to Netonix Port 1 and Mikrotik-1 ether2 to Netonix Port 2. (both units in screenshots have identical settings for Port 1 and Port 2)

Mikrotik-2 should show ether1 as root port with path cost of 20 (like before), but it will not. It will show ether1 as root port with path cost of 10, and sniffing on that port, which is connected to Netonix Port 2, will show BPDUs from the Cisco and none from the Netonix.

Note that I don't have a Netonix here to lab this out, but as soon as I do (1-2 days), this is what I will be doing. If you have the equipment, time, and willingness to lab this out sooner than I can, and confirm the problem, that would be great.

Dave

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Spanning Tree Questions

Tue May 24, 2016 1:35 pm

david.sovereen@mercury.net wrote:Cisco switch with:

spanning-tree mode rapid-pvst
spanning-tree lan 1 priority 4096


I suspect this is at least part of your problem. PVST is a proprietary Cisco feature and doesn't work with any non-Cisco equipment.

I have a Mikrotik, but I don't have any Cisco equipment so i can't duplicate your setup exactly.

PreviousNext
Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 22 guests