Switches and routers already know who their neighbours are. LLDP and CDP are the protocols they use to say so, and they are the raw material for an automatic topology map.
What LLDP and CDP are
LLDP (Link Layer Discovery Protocol) is a vendor-neutral standard. CDP (Cisco Discovery Protocol) is Cisco's own. Both send small periodic messages out of every port that identify the sending device and port. The neighbour stores what it hears.
From neighbour tables to a map
- The monitoring tool reads each device's neighbour table by SNMP.
- Each entry says: my port X connects to device Y port Z.
- Matching entries from both ends confirm a link.
- The tool arranges devices in layers: core, distribution, access.
- Live interface counters are added to each link as utilisation.
Why topology matters for alerts
If a core switch fails, forty devices behind it stop answering. With topology, a monitoring system can see that only one of them is the cause and mark the rest as affected, so you work one problem instead of forty.
Enabling it safely
- Enable LLDP on switch-to-switch and switch-to-router links.
- Disable it on ports facing users and the internet, because it reveals device information.
- Keep CDP and LLDP names consistent so the map is readable.
- Document devices that do not support either protocol and add their links manually.
NexoraUNMS builds its map from LLDP and CDP and highlights failure impact. See topology mapping in NexoraUNMS.
Related guides: NexoraUNMS – Unified Network Management Software
Network Topology Mapping SoftwareHow to Reduce Network Alert NoiseWhat Is a UNMS? A Complete Guide
See NexoraUNMS on a Live Demo Network
Watch monitoring, topology, alerts and configuration backup working together on sample data. Free demo from NexoraSoft; no obligation.
Book a Free Demo +91 98115 51004