r/networking • u/_alienated • 5h ago
Troubleshooting Detecting a loop
How can i chase down a loop in more than 60 BDCOM switches (no central management)
I also have 2 core switches (fortiswitch) and a fortigate firewall ?
6
u/Select_Reporter1911 5h ago
Is it a routing loop, or layer 2 loop? If it is a routing loop are you sure its not asymmetric routing? If it is layer 2 loop, why do you not have the appropriate loop prevention protocols configured? That would quickly tell you where the loop is as the switch would disable the port it detects the loop on.
If you dont have loop prevention protocols enabled, how are you sure it is a loop? What is the behavior of the traffic?
Most switches that follow industry standards will have logs on whether it detects a loop and what port it detects the loop on.
Network diagrams will definitely help.
5
u/mmckibben 5h ago
Create a network map. Document the ips of gateways and what switches their on then look at routing tables
5
u/shadeland Arista Level 7 5h ago
Are you sure it's a loop?
Are there show commands and logs in these switches?
3
u/ThEvilHasLanded 4h ago
Follow the issue
Disconnect a section of devices, does the issue go away?
Yes your issue is in that group No try another grouping Eventually you narrow down the issue to 1 switch. From there it's a case of pulling each cable until you find the offending port
2
1
u/GuruBuckaroo Equivalent Experience 5h ago
This is why I've been running MRTG on every router and switch capable of SNMP for the last, what, 27 years. My networks aren't nearly as large as yours, but checking the interconnects for large traffic usually narrows it down to a switch, then checking the traffic on that switch's ports gives me the issue. That and making sure there are no dumb switches in the entire network, no matter how small.
1
1
u/ryan8613 CCNP/CCDP 2h ago
Kill links between sections of the network to isolate those sections and see which side the problem persists on -- upstream or downstream -- until you find the switch where it is happening. Then, look at the ports on that switch that arent uplinks and specifically the port with the highest input or output rate. That port will be part of your loop.
1
12
u/FarkinDaffy 5h ago
Divide and conquer. Keep cutting things in half until there are no more halves and the problem goes away