Network testing tool

wdmartin

Wise, Aged Ars Veteran
178
Subscriptor++
I'm not a dedicated networking guy, but I'm frequently called on to figure out whether a given network jack in my building is active, and to retrieve its CDP data if it is.

At the moment I've got an old Dell Latitude E6530 with Wireshare on it which I use for this purpose. But I'm getting really tired of lugging that thing around. Is there some kind of more compact tool out there that can do this job? Any recommendations?
 

Frennzy

Ars Legatus Legionis
85,841
There are good ones, that are isanely expensive, and there decent ones, which aren't. I don't where the cutoff lies for CDP.

But here's an easier test. Log in to the switch and check the port settings.

1. How long has that switch been up?
2. How long was it since the last time that port was up? If the answer to 1 matches the answer to number 2, it's never been plugged in. If not, it's probably active...but proceed with
3. Sh run int mod/slot/port (or whatever naming convention your switch uses). Does it show "dis" or "shut" or anything like that? Then it is admin-down. (can also be seen from just the individual port statistics, syntax depends on model)
4. Are you sure you want to trust CDP? Not all devices respond to it. In fact, many don't. Have you turned on LLDP as well? FDP?
5. Get yourself one of those tiny little link testers that has a simple LED interface. Plug it in. Does it light up? Port is active.

You can use even a simple loopback tester, if you've got access to the switch itself (easier done with a co-worker on a phone though). Those can be had for about $5 online, or made by yourself in about 1 minute. If the link light comes up when the LB tester is plugged into a jack, you've got both physical and logical connection.

For $30, get something like this, which has more intelligence:

https://www.homedepot.com/p/Klein-Tools ... lsrc=aw.ds
 

Frennzy

Ars Legatus Legionis
85,841
I definitely don't have access to log into the switch, alas.

Well, please don't take this the wrong way, then why are you asking? Find someone who does, and your problem goes away. More accurately, it should and will become their problem.

I would *strongly* recommend enabling LLDP on all adapters for hosts, all printers that support it, and *definitely* all switching gear. CDP is great if you're an all Cisco shop...but nobody is. Nobody. (here's another hint...Polycom conference room gear runs LLDP and it can *definitely* decrease your MTTR for simple outages.
 

sryan2k1

Ars Legatus Legionis
46,882
Subscriptor++
https://pockethernet.com/


Well, please don't take this the wrong way, then why are you asking? Find someone who does, and your problem goes away. More accurately, it should and will become their problem.


Sounds like OP is helpdesk or some other "support" style role where it's useful to know if a port is in the right VLAN or not.
 

Frennzy

Ars Legatus Legionis
85,841
Sounds like OP is helpdesk or some other "support" style role where it's useful to know if a port is in the right VLAN or not.

Replying to "Network testing tool":

I was just picking up on "enabled" or not...not L2. If you need to know the VLAN, you have a specific set of requirements that need to be met by a higher level tester. That device you link seems pretty cool, but not really an answer to the OP, and definitely higher priced.
 

wdmartin

Wise, Aged Ars Veteran
178
Subscriptor++
That's pretty close. I'm at an academic library. All the real networking tasks are handled by the university's full-time networking staff. I'm afraid I haven't the faintest idea what LLDP is. I just need to know whether the jack will work when I plug something into it, and whether it's on the correct VLAN (printers versus staff PCs versus public PCs, each of which have their own VLAN).

EDIT: oh, and when one needs to be switched to a different VLAN, networking asks me for the CDP info. I presume they use it for identifying which port on the switch that outlet connects to.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
I have a Linkrunner AT 2000 that does what you want. They run around $1600 to start used.
You can capture CDP on a laptop running linux pretty easily. It can be done on windows too but I haven't found any great tools for it. Wireshark can capture it and filter it for you. Here is a tool I have not tested much:

https://codeload.github.com/chall32/WinCDP/zip/master
 
D

Deleted member 46272

Guest
These cost ~ $350-400:
https://www.amazon.com/Comprobador-red- ... B00UD6G2OY

Does LLDP/CDP (switch model, serial, VLAN, IP, Port ID), port flash, distance test, cable fault test, PoE verification, and basic Layer 3 stuff (DHCP). Can be set with static IP info or DHCP. You use the built-in WiFi web page to access it - it has no display. 2 x AA batteries last for several weeks of use if you shut it down quickly.

I have one - absolutely LOVE it. Suggest the holster if you plan on walking/carrying it around.
 
D

Deleted member 46272

Guest
I have a Linkrunner AT 2000 that does what you want. They run around $1600 to start used.
You can capture CDP on a laptop running linux pretty easily. It can be done on windows too but I haven't found any great tools for it. Wireshark can capture it and filter it for you. Here is a tool I have not tested much:

https://codeload.github.com/chall32/WinCDP/zip/master

I've found U.N.C.L.E. to be a bit more reliable that WINCDP.
https://www.plasmasoft.co.uk/desktop-ap ... dp-sniffer
 

Frennzy

Ars Legatus Legionis
85,841
That device you link seems pretty cool, but not really an answer to the OP


What are you smoking these days man? The tool I linked does exactly what OP wants, which is show CDP data on something smaller than a laptop running wireshark to see the CDP data that way to see if the port is up and what VLAN it's in.

I didn't see *any* reference to VLAN info in the OP. That's what I meant. He asked about a port being active. There are much cheaper solutions that don't require an expensive L2 tester.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
I have a Linkrunner AT 2000 that does what you want. They run around $1600 to start used.
You can capture CDP on a laptop running linux pretty easily. It can be done on windows too but I haven't found any great tools for it. Wireshark can capture it and filter it for you. Here is a tool I have not tested much:

https://codeload.github.com/chall32/WinCDP/zip/master

I've found U.N.C.L.E. to be a bit more reliable that WINCDP.
https://www.plasmasoft.co.uk/desktop-ap ... dp-sniffer
I saw that one and tried it and it won't even open on my machine. :/
Probably a java issue. :rolleyes:
 

JessF

Ars Scholae Palatinae
737
Sounds like you only need something with an ethernet interface and the ability to report incoming CDP information on the interface (sniffing with wireshark or something more CDP specific).

A network testing tool with that capability will have a lot of features you don't need and cost a lot more than what you are using.

A tablet or phone with an USB to ethernet adapter would work if you can find an app for it. You could use a raspberry pi to connect to the ethernet interface and then remote control the pi from your phone (with something like teamviewer) or add a screen to the PI (a touchscreen or maybe a nontouch-screen and just set it up to autostart the program that dumps the incoming CDP info to the screen - bonus points if you set it up with something like text-to-speech and use headphones ;) ).
 

ferzerp

Ars Tribunus Angusticlavius
6,023
Sounds like you only need something with an ethernet interface and the ability to report incoming CDP information on the interface (sniffing with wireshark or something more CDP specific).

A network testing tool with that capability will have a lot of features you don't need and cost a lot more than what you are using.

A tablet or phone with an USB to ethernet adapter would work if you can find an app for it. You could use a raspberry pi to connect to the ethernet interface and then remote control the pi from your phone (with something like teamviewer) or add a screen to the PI (a touchscreen or maybe a nontouch-screen and just set it up to autostart the program that dumps the incoming CDP info to the screen - bonus points if you set it up with something like text-to-speech and use headphones ;) ).


Google turns up quite a few small battery powered devices that will connect to a phone and give you this info. I can't speak to their quality though. The one I looked at was under $200