CDP on Windows
I know they have the tools like the fluke that can read cdp information from switch ports. But what I am wondering is if there might be a product out there that would allow you to read cdp messages using a laptop with windows (or some OS.) I am sure there are some programs out there, but the program has to be official i.e. from CISCO, Microsoft or some equivalent software developer due to the location of the equipment.
CCNA certified
Network+ certified
Security+ certified
A+ certified
CCNP in progress
:study:
Network+ certified
Security+ certified
A+ certified
CCNP in progress
:study:
Comments
-
matt79 Member Posts: 27 ■□□□□□□□□□Try wiresharkCCNA certified
Network+ certified
Security+ certified
A+ certified
CCNP in progress
:study: -
tndfr Member Posts: 110I know they have the tools like the fluke that can read cdp information from switch ports. But what I am wondering is if there might be a product out there that would allow you to read cdp messages using a laptop with windows (or some OS.) I am sure there are some programs out there, but the program has to be official i.e. from CISCO, Microsoft or some equivalent software developer due to the location of the equipment.
i have my laptop plugged in and i can see all CDP hitting my card, it depends what you want to do with it? if it is just for information than just use wireshark, if it is to interact with CDP protocol however than use a programming language (this is one of my next projects).
i dont see how wireshark is complicated, just filter CDP (you can do a batch file that only filter CDP at startup), it is a great learning toolWorking on CCNP 642-813 and finishing off MCSA. -
tiersten Member Posts: 4,505There is a CDP monitor tool available but I've never used it and the company is somebody I've never heard of. If they need to be "CISCO, Microsoft or some equivalent software developer" then you're going to find it difficult.
That said, if you can't trust the helpdesk to run Wirestart and do a filter then you're not going to want them messing around with your network ports anyway :P -
Netwurk Member Posts: 1,155 ■■■■■□□□□□So what's the goal here? Maybe you're trying to disable CDP on all devices and want to make sure it is not active anywhere on your intranet.
Could be a good goal if your network is properly documented, but CDP can be a very useful protocol. I would never turn it off in my lab, although I think all serious network gurus should know how to enable and/or disable it.
I keep CDP active in my home lab because I do tons of documentation at work and am too lazy to document my own lab. At home, a show cdp neighbors detail command helps me understand what my latest recabling project accomplished.
A friend of mine once had to help a hospital figure out how to keep their network going after their tech left for a better job. Luckily the old tech had kept CDP enabled on all devices and my buddy was able to keep the whole works going.
Your results may vary
Happy New Year TE friends!!! -
matt79 Member Posts: 27 ■□□□□□□□□□Well helpdesk does not control the port. I just need them to be able to tell me what port they need me to work on. Or copy and paste the information and let me figure it out what port.CCNA certified
Network+ certified
Security+ certified
A+ certified
CCNP in progress
:study: -
QHalo Member Posts: 1,488Thanks but the problem is that helpdesk is not that smart. They do not have any certs or anything so I wanted them to just be able to plug into a port and forward the information that popped up. While wireshark would be neat, it also would be to complicated for them
What's wrong with them plugging in a machine and giving you the MAC of the NIC? All I've ever needed to find a port in a switch. Either that or look at the label on the port on the floor. -
matt79 Member Posts: 27 ■□□□□□□□□□What's wrong with them plugging in a machine and giving you the MAC of the NIC? All I've ever needed to find a port in a switch. Either that or look at the label on the port on the floor.CCNA certified
Network+ certified
Security+ certified
A+ certified
CCNP in progress
:study: -
Daniel333 Member Posts: 2,077 ■■■■■■□□□□I am starting to think this is more a politics and training issue really.
Surely you can trust your help desk people or at least one of them with an exec password? Sit down and show them some commands and diagrams. Might be a good opportunity to mentor.
If you can't then, I wouldn't trust even near the switches at all.
Let us know how this works out. I am really curious.-Daniel -
tndfr Member Posts: 110i really dont understand, if they give you the MAC address or the ip address surely you can narrow it down to the nearest switch where you can check the mac table...?
like i said before, wireshark is not a dark art, any one can use it:
launch it
start Interface monitring
WATCH the screen!
if you really dont trust with this, do the following:
write a batch file that takes a 5 minute capture using wireshark and putt the result in a folder where you can access it (or even email it to you)!Working on CCNP 642-813 and finishing off MCSA. -
Heero Member Posts: 486i really dont understand, if they give you the MAC address or the ip address surely you can narrow it down to the nearest switch where you can check the mac table...?
I'll play devil's advocate here. To find mac address, machine has to be on (5 min aging time on CAM table), and hunting down a mac address takes time, especially on larger networks. You can narrow it down to Layer 3 segment easily with IP. With MAC address, he could have to hunt through several switches to find the originating switch, depending on the environment.
With CDP, you could potentially just plug a laptop into the port and have it display switch name and port.like i said before, wireshark is not a dark art, any one can use it:
launch it
start Interface monitring
WATCH the screen!
if you really dont trust with this, do the following:
write a batch file that takes a 5 minute capture using wireshark and putt the result in a folder where you can access it (or even email it to you)!
He could most certainly leverage wireshark for this. I'm not sure about command line arguements you can pass when you invoke wireshark.exe, but i bet you could come up with a launcher that launches wireshark with a filter for only CDP. Should only be CDP from one source on an access switchport, so just open first packet and see name/switchport. -
tiersten Member Posts: 4,505If all you want is it to display the CDP info for port and switch name then the tool I linked to above should do it.
If you want a project then get the winpcap library and start coding up a simple app that just displays the relevant data. It shouldn't be too difficult as pcap has a simple interface and CDP isn't a complex protocol. The advanced version would also support LLDP -
Heero Member Posts: 486If all you want is it to display the CDP info for port and switch name then the tool I linked to above should do it.
If you want a project then get the winpcap library and start coding up a simple app that just displays the relevant data. It shouldn't be too difficult as pcap has a simple interface and CDP isn't a complex protocol. The advanced version would also support LLDP
I checked it out, the grammar on the website is bad, which makes it look kinda bad. Not that I would care, but if he needs "official" software due to security/management requirements, wireshark with the proper filter may be a better choice. Honestly though, I might just write my own program to display the info. Doesn't seem too hard.
OP, there have been several options presented here. Pick what you want and roll with it. -
matt79 Member Posts: 27 ■□□□□□□□□□
OP, there have been several options presented here. Pick what you want and roll with it.CCNA certified
Network+ certified
Security+ certified
A+ certified
CCNP in progress
:study: