Skip to content

LLDP

LLDP (Link Layer Discovery Protocol) is an IEEE 802.1AB standard protocol that enables network devices to advertise and discover information about their directly connected neighbors, providing vendor-neutral network topology discovery capabilities. It periodically transmits Type-Length-Value (TLV) formatted messages containing device identification, capabilities, management addresses, port descriptions, and system information to facilitate network mapping and troubleshooting. LLDP operates independently of network layer protocols and supports both IPv4 and IPv6 management addresses, making it essential for network documentation, asset management, and automated network discovery tools.

Diagram

Diagram

Classes

configuration (iosxe.devices)

NameTypeConstraintMandatoryDefault Value
lldpClass[lldp]No

lldp (iosxe.devices.configuration)

NameTypeConstraintMandatoryDefault Value
runBooleantrue, falseNo
holdtimeIntegermin: 0, max: 65535No
timerIntegermin: 5, max: 65534No
ipv4_management_addressesListIPNo
ipv6_management_addressesListIPNo
management_vlanIntegermin: 1, max: 4095No
system_namesList[system_names]No

system_names (iosxe.devices.configuration.lldp)

NameTypeConstraintMandatoryDefault Value
switch_idIntegermin: 0, max: 17Yes
nameStringNo

Examples

iosxe:
devices:
- name: Device1
configuration:
lldp:
run: true
holdtime: 120
timer: 30
ipv4_management_addresses:
- 192.168.1.10
- 10.0.0.1
ipv6_management_addresses:
- 2001:db8::1
- fe80::1
management_vlan: 100
system_names:
- switch_id: 1
name: Switch-1-Stack-Member
- switch_id: 2
name: Switch-2-Stack-Member