Hands-On Lab: Configuring LLDP

This hands-on lab enables LLDP, the vendor-neutral equivalent of CDP, on a Cisco device connected to non-Cisco equipment, and compares its verification output directly against CDP to highlight the similarities and differences between the two protocols.

LLDP ConfigurationVendor-Neutral DiscoveryLLDP Versus CDP

~2 min read · Updated Sep 22, 2026

Lab Objective

Enable LLDP globally on a Cisco switch, verify neighbor discovery works toward both a Cisco and a non-Cisco device, and compare LLDP's output structure against the CDP output examined in the previous lab.

Lab Purpose

CDP, covered in the previous lab, is Cisco-proprietary and only discovers other Cisco devices. LLDP (IEEE 802.1AB) provides equivalent discovery functionality as an open, vendor-neutral standard, making it essential whenever a Cisco switch connects to equipment from another manufacturer.

Lab Topology

Switch1 ---- Gi1/0/1 ---- Switch2 (Cisco)
Switch1 ---- Gi1/0/2 ---- ThirdPartyAP (non-Cisco,
                          LLDP-only device)

Task 1: Enable LLDP Globally

LLDP is disabled by default on Cisco devices, unlike CDP. Enable it globally on Switch1.

Task 2: Verify LLDP Is Running

Confirm LLDP is active and check the configured timers.

Task 3: View LLDP Neighbors

Display the LLDP neighbor summary and confirm both the Cisco switch and the non-Cisco access point appear.

Task 4: View Detailed LLDP Information for the Non-Cisco Device

Display detailed LLDP information specifically for the third-party access point, confirming its system name and management address are discoverable despite not being Cisco equipment.

Solution and Verification

Switch1(config)# lldp run

Switch1# show lldp

Global LLDP Information:
    Status: ACTIVE
    LLDP advertisements are sent every 30 seconds
    LLDP hold time advertised is 120 seconds

Switch1# show lldp neighbors

Device ID       Local Intf     Hold-time  Capability   Port ID
Switch2         Gi1/0/1        120        B,R          Gi1/0/1
ThirdPartyAP    Gi1/0/2        120        W            eth0

-- Both a Cisco switch and a non-Cisco access
-- point are discovered -- something CDP alone
-- could never accomplish for the non-Cisco device

Switch1# show lldp neighbors detail

Chassis id: aabb.cc00.7788
Port id: eth0
System Name: ThirdPartyAP
Management Addresses:
    IP: 192.168.1.80
-- Despite being entirely non-Cisco hardware,
-- its system name and management IP are
-- fully discoverable via LLDP

Key Takeaway

LLDP and CDP serve nearly identical purposes and share similar output structure, but LLDP's status as an open IEEE standard makes it the only viable choice for discovering non-Cisco equipment — in a genuinely mixed-vendor environment, both protocols are often run simultaneously, since CDP may still provide slightly richer detail specifically between Cisco devices.

Written & researched by Dr. Shahin Siami

Related Articles

Hands-On Lab: Configuring IPv6 Static Routes

This hands-on lab configures static routes for IPv6 destinations between two routers, mirroring the IPv4 static routing syntax covered earlier in this series while highlighting the IPv6-specific command keyword and address format.

Continue

Hands-On Lab: Configuring Default Static Routes

This hands-on lab configures a default static route on an edge router to reach the internet through an ISP connection, demonstrating how a single route can represent every otherwise-unknown destination rather than requiring individual routes for each one.

Continue

Hands-On Lab: Configuring and Naming Static Routes

This hands-on lab configures static routes with descriptive names attached using the name keyword, improving documentation and making the routing table significantly easier to interpret for anyone reviewing the configuration later.

Continue

Hands-On Lab: Configuring Static Routing via IP Addresses

This hands-on lab configures static routes using a next-hop IP address rather than an outgoing interface, the generally preferred syntax, and compares the resulting routing table entry against the interface-based approach from the previous lab.

Continue

Hands-On Lab: Configuring Static Routing via Interfaces

This hands-on lab configures static routes using an outgoing interface rather than a next-hop IP address, demonstrating this approach's suitability for point-to-point links and its important limitation on multi-access networks.

Continue

Hands-On Lab: Installing a Wireless LAN Controller

This hands-on lab performs the initial setup of a Wireless LAN Controller, joins a lightweight access point to it, and creates a centrally managed WLAN, demonstrating the controller-based architecture that scales far beyond standalone access points.

Continue