Configuring LLDP neighbor aging

LLDP neighbor aging occurs when an interface fails to receive an LLDP frame from the neighbor within the neighbor aging time. The LLDP neighbor aging time is determined by the Time to Live TLV carried in the LLDP frame sent by the neighbor.

LLDP takes either of the following actions when neighbor aging occurs on an interface:

To configure LLDP neighbor aging on an interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 or Layer 3 Ethernet interface view.

interface interface-type interface-number

N/A

3. Enable LLDP neighbor aging on the interface.

lldp neighbor-protection aging { block | shutdown }

By default, LLDP neighbor aging is disabled on an interface.