Skip to content

LLDP

Link Layer Discovery Protocol (LLDP) configuration manages global LLDP behavior on NX-OS devices. Settings include holdtime multiplier, reinitialization delay, transmit interval, TLV selection, port ID subtype format, chassis ID MAC override, and port-channel member LLDP participation.

Diagram
NameTypeConstraintMandatoryDefault Value
lldpClass[lldp]No

NameTypeConstraintMandatoryDefault Value
holdtimeIntegermin: 1, max: 255No
reinitIntegermin: 1, max: 10No
timerIntegermin: 1, max: 254No
tlv_selectStringNo
portid_subtypeChoicelong, shortNo
chassis_idBooleantrue, falseNo
portchannelBooleantrue, falseNo

Example 1: Basic LLDP with custom timers

nxos:
devices:
- name: LEAF1
configuration:
feature:
lldp: true
lldp:
holdtime: 120
reinit: 2
timer: 30

Example 2: LLDP with short port ID subtype for interoperability

nxos:
devices:
- name: LEAF1
configuration:
feature:
lldp: true
lldp:
holdtime: 120
timer: 30
portid_subtype: short
chassis_id: true

Example 3: LLDP with port-channel member participation and TLV selection

nxos:
devices:
- name: LEAF1
configuration:
feature:
lldp: true
lldp:
holdtime: 120
reinit: 2
timer: 30
portid_subtype: long
portchannel: true