Configure LLDP globally on the device and enable LLDP transmission and reception on a specific interface.
Enable Link Layer Discovery Protocol (LLDP) to allow the device to discover and be discovered by neighboring network devices, facilitating network topology mapping and device identification.
LLDP is a vendor-neutral protocol that enables network devices to advertise information about themselves to other devices on the network. This configuration enables LLDP globally and on specific interfaces to support network discovery and management.
Procedure
| 1. | Use the enable command to access privileged EXEC mode. Example:
|
|
| 2. | Use the configure terminal command to access global configuration mode. Example:
|
|
| 3. | Use the lldp run command to enable LLDP globally on the device. Example:
|
|
| 4. | Use the interface interface-id command to enter interface configuration mode for the interface on which you want to enable LLDP. Example: |
|
| 5. | Use the lldp transmit command to enable the interface to send LLDP packets. Example:
|
|
| 6. | Use the lldp receive commmand to enable the interface to receive LLDP packets. Example:
|
|
| 7. | Use the end command to return to privileged EXEC mode. Example:
|
|
| 8. | Use the show LLDP command to verify the LLDP configuration. Example:
|
|
| 9. | Optional: Use the copy running-config startup-config command to save your entries in the configuration file. Example:
|