CDP / LLDPInterface Config

lldp receive

Enables LLDP reception on an interface, allowing the device to receive LLDP advertisements from neighboring devices for network discovery and topology mapping.

Syntax·Interface Config
lldp receive

When to Use This Command

  • Enable LLDP receive on an access port to discover connected IP phones or switches.
  • Configure LLDP receive on a trunk port to learn about neighboring switch capabilities and VLAN information.
  • Enable LLDP receive on a router interface to discover directly connected routers for OSPF neighbor verification.
  • Use with 'lldp transmit' to enable full LLDP operation for network monitoring tools.

Command Examples

Enable LLDP receive on an interface

interface GigabitEthernet0/1 lldp receive
Router(config-if)# lldp receive
Router(config-if)#

The command is entered in interface configuration mode. No output is shown if successful; the prompt returns without error.

Verify LLDP receive status on an interface

show lldp interface GigabitEthernet0/1
GigabitEthernet0/1:
  Tx: enabled
  Rx: enabled
  Tx state: IDLE
  Rx state: WAIT_FOR_FRAME

The output shows LLDP transmit and receive status. 'Rx: enabled' confirms LLDP receive is active. 'Rx state: WAIT_FRAME' indicates the interface is listening for LLDP frames.

Understanding the Output

The 'lldp receive' command itself produces no output on success. To verify, use 'show lldp interface [interface]'. The key field is 'Rx: enabled' which confirms LLDP reception is active. 'Rx state' shows the current state of the LLDP receive process: 'WAIT_FOR_FRAME' means it is listening, 'FRAME_RECEIVED' means a frame was just received, and 'IDLE' may indicate no activity. If 'Rx: disabled' appears, LLDP receive is not enabled. In a real network, ensure both Tx and Rx are enabled for full LLDP operation. Use 'show lldp neighbors' to see discovered devices; if none appear, check that LLDP receive is enabled on the interface and that the neighbor also has LLDP enabled.

CCNA Exam Tips

1.

CCNA exam tip: LLDP is a vendor-neutral protocol; Cisco devices support both CDP and LLDP. Know that 'lldp receive' is an interface command.

2.

CCNA exam tip: To enable LLDP globally, use 'lldp run' in global config. Without it, interface commands have no effect.

3.

CCNA exam tip: LLDP and CDP can run simultaneously. The exam may test which protocol is used for specific scenarios (e.g., multi-vendor environments require LLDP).

4.

CCNA exam tip: Remember that 'lldp receive' only enables reception; to send advertisements, also configure 'lldp transmit'.

Common Mistakes

Mistake 1: Enabling 'lldp receive' without first enabling 'lldp run' globally — the interface command will be accepted but LLDP will not operate.

Mistake 2: Forgetting to enable 'lldp transmit' when full LLDP operation is needed — the device will receive but not send advertisements.

Mistake 3: Applying 'lldp receive' on a Layer 3 interface without verifying that the interface is up/up — LLDP only works on active interfaces.

Related Commands

Practice for the CCNA 200-301

Test your knowledge with hundreds of CCNA practice questions covering all exam domains.

Practice CCNA Questions