This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Switches information

0

How will i get information about switches in a topology using wireshark so i able to find out which switch used by most??

asked 01 Apr '17, 06:42

Rainy's gravatar image

Rainy
6224
accept rate: 0%

edited 01 Apr '17, 06:47

Jasper's gravatar image

Jasper ♦♦
23.8k551284


2 Answers:

1

You may be able to find out about the switches in your environment if they are manageable and have features like CDP or LLDP active. But to be able to capture the packets you need to connect to each switch since they won't be forwarded across switches - you can only see them on a link from each switch. So connecting Wireshark anywhere to the network and hoping to get all information in one spot is not possible.

If the switches are non-managed, you won't be able to find anything about them at all.

answered 01 Apr '17, 06:49

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

i want to find out heavy loaded switches in a topology using wireshark and mininet

(01 Apr '17, 07:15) Rainy

For that you should log into the switches and check their stats, it's much more useful than doing it with captures.

(01 Apr '17, 07:49) Jasper ♦♦

0

Even if you're connected to a switch, you won't see most traffic through other ports, unless it's a managed switch with port mirroring available. I bought a cheap 5 port gigabit managed switch that I configured for port mirroring. That way I can connect it into a network and see traffic passing through that port.

answered 06 Apr '17, 12:08

JamesK's gravatar image

JamesK
6112
accept rate: 0%

This is mininet we're talking about, so all virtual hosts with open vSwitch.

(06 Apr '17, 12:53) Jaap ♦