I am a student and I want to take the LanMap of the entire Building. There are at least 10 switch boxes with 2 in each floor on a 5 storied building. Each Switch Box contains 2 Switches with 24/48 ports. At least 4 racks are used with the switches for assorting the cables. There are Lan Ports setup at various classrooms connected to the rack and then to the switches.

Right now, I am using a LanTester. I connect one LanTester to the LanPort in the class and one to the Rack. When the 2 light turns ON on the device I map the corresponding wiring. Due to the lack of any reference on the Wiring, the task is seeming very hectic. Wiring is all masked to the wall. Some of the LAN Ports are system connected and some are not.

I am really new at this, as you would know by now. Is there any better way of doing it?

  • Hi Augustus, I removed the parts of your question asking for software, as asking outright for programs will get this closed as off topic. Hopefully, this attracts some more people to give input though Feb 12, 2014 at 20:41

1 Answer 1


I will assume the switches are managed switches running LLDP. You should be able to install OpenLLDP to your laptop to query the switch you're attached to. (A well-managed network will block LLDP transmission to edge ports, but I trust you're working with the network administrator and can get around that problem.)

I'm on a Mac so I downloaded and built the software from source. Now I can run sudo /usr/local/sbin/lldpd -i en0 to collect information from my Ethernet port. After a few seconds /usr/local/bin/lldpneighbors will show me what I'm connected to. Packets are only sent every 30 seconds so sometimes there's a wait. Here's sample output:

Interface 'en0' has 1 LLDP Neighbors: 

Neighbor 1:
    Chassis ID:             MAC Address - 08 2e 5f 12 34 56 
    Port ID:                Locally Assigned - 3
    Time To Live:           120 seconds
    Port Description:       3
    System Name:            Victoria_Switch
    System Description:     ProCurve J9137A Switch 2520-8-PoE, revision S.14.30, ROM S.14.03
    System Capabiltiies:    Bridge/Switch (enabled)
    Management Address:     IPv4 - (ifIndex - 0) (OID: Standard LLDP MIB)
    End Of LLDPDU:  
  • I have no Idea what you just said. Is there any detailed tutorial or page that I can refer from. Thanks for your Input Feb 16, 2014 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.