Ubiquiti discovery and STP mess

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
aurelien personnaz
Member
 
Posts: 17
Joined: Wed Sep 23, 2015 8:10 am
Location: Grenoble, France
Has thanked: 3 times
Been thanked: 7 times

Ubiquiti discovery and STP mess

Mon Jun 13, 2016 2:32 pm

Hello,

I want to report an issue we've had since a few weeks with the ubiquiti discovery and our switches running STP.
It is very probably related to your message v1.4.0 - CRITICAL BUG ALERT from the 28th of may.

We are in the process of splitting a big bridged network into small routed subnets, but the bridged part is still pretty big.

We have some scripts running once a day to discover the topology of the network and detect the new/dropped nodes. This script makes an extensive use of both CDP and the ubiquiti discovery to explore the network.

Since a few weeks, we have noticed that the script was very harmful for the network, generating a huge amount of packet losses. We found out that these packet losses were due to some wrong STP behavior on the switches when some ubiquiti discoveries were running (unwanted flipping between links).

The workaround we have found is to disable the ubiquiti discovery on all the switches running STP on the switched network. The switches are now only discovered by CDP and ignore the ubnt discovery packets. And they don't get crazy anymore.

All the switches are on 1.4.2rc6.
So there seems to be two possible reasons. Either the problem you talked about in your message has not been completely fixed, or the switch is simply dropping some STP packets when submitted to some ubnt discovery traffic and requests.

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: Ubiquiti discovery and STP mess

Mon Jun 13, 2016 2:40 pm

So you are saying even with v1.4.2rc6 you still have a problem when you run your scripts asking all UBNT devices to advertise?
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
aurelien personnaz
Member
 
Posts: 17
Joined: Wed Sep 23, 2015 8:10 am
Location: Grenoble, France
Has thanked: 3 times
Been thanked: 7 times

Re: Ubiquiti discovery and STP mess

Mon Jun 13, 2016 2:54 pm

Yes we do, when the switches have the ubiquiti discovery enabled.

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: Ubiquiti discovery and STP mess

Mon Jun 13, 2016 3:05 pm

OK, I pinged Eric on this.

How many UBNT Discovery devices do you think you have on the segment?

How often are you running a script to have UBNT device re-advertise?
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
aurelien personnaz
Member
 
Posts: 17
Joined: Wed Sep 23, 2015 8:10 am
Location: Grenoble, France
Has thanked: 3 times
Been thanked: 7 times

Re: Ubiquiti discovery and STP mess

Mon Jun 13, 2016 4:20 pm

We have a little more than 80 ubiquiti devices on that network and 15 netonix switches.

The discover command is supposed to run only once on this subnet for each of our script run, but in certain (unlikely) circumstances, it can be two or three times.

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: Ubiquiti discovery and STP mess

Mon Jun 13, 2016 4:35 pm

aurelien personnaz wrote:We have a little more than 80 ubiquiti devices on that network and 15 netonix switches.

The discover command is supposed to run only once on this subnet for each of our script run, but in certain (unlikely) circumstances, it can be two or three times.


OK the number of devices is understood [95 devices].

But how often is this script automatically run?

And when you say unlikely circumstances it is run 2 or 3 times on this interval do you mean this:
Meaning if you said it [the script] runs every hour but sometimes when it runs on the hour the script is executed 2-3 times by mistake instead of once?
This could cause 95 devices to be asked to report up to 3 times so there would be up to 285 advertisements?
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
aurelien personnaz
Member
 
Posts: 17
Joined: Wed Sep 23, 2015 8:10 am
Location: Grenoble, France
Has thanked: 3 times
Been thanked: 7 times

Re: Ubiquiti discovery and STP mess

Mon Jun 13, 2016 4:45 pm

Our script is run once a day, but can be manually called if needed.
And in the end I'm pretty sure that the discover command is ran only once per subnet.

And I forgot to mention it, but during the tests I did to identify the problem, even a single discovery call from the Web interface of a uibiquiti device on the bridged network was messing up the STP tree for the time it was running.

Return to Hardware and software issues

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 22 guests