# How can I use CDP and LLDP to verify the switch port at the other end of a link?

Exam: 200-301 — Implementing and Administering Cisco Solutions
Knowledge domain: Network Access
Updated: 2026-11-25T05:30:50.691408+00:00
HTML: https://learningpathx.com/faq/200-301/ccna200301-cdp-lldp-neighbor-evidence.html

## Also asked as

- How do I confirm direct switch cabling with CDP or LLDP neighbor output?
- Which fields in CDP or LLDP show my local port and the connected remote port?

Use Cisco Discovery Protocol (CDP) or Link Layer Discovery Protocol (LLDP) to match the device’s local interface to the advertised remote device and port. CDP is Cisco-specific, and LLDP is standards-based, making it useful across vendors. A neighbor appears when the link and participating protocol directions allow discovery advertisements to be exchanged.

On a Catalyst 9300 running IOS XE 17.15.x, start with `show cdp neighbors` or `show lldp neighbors`. Compare the local interface and the advertised device and remote port ID to your cabling plan. LLDP port ID formats can differ by peer. Compare from both ends where you have access, and check protocol enablement and advertisements if an entry is missing. Neighbor discovery confirms the observed adjacency. Verify VLAN carriage, forwarding state, and reachability separately if you need to prove that the path works.

**References**

* [Cisco Catalyst 9300 IOS XE 17.15.x CDP guide](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/configuration_guide/nmgmt/b_1715_nmgmt_9300_cg/configuring_the_cisco_discovery_protocol.html)
* [Cisco Catalyst 9300 IOS XE 17.15.x LLDP guide](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/configuration_guide/int_hw/b_1715_int_and_hw_9300_cg/configuring_lldp__lldp_med__and_wired_location_service.html)

Source: [Rapid PVST+, EtherChannel, CDP, and LLDP Operations](https://learningpathx.com/news/rapid-pvst-etherchannel-cdp-and-lldp-operations.html)
