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
Section titled “Diagram”Classes
Section titled “Classes”configuration (nxos.devices)
Section titled “configuration (nxos.devices)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| lldp | Class | [lldp] | No |
lldp (nxos.devices.configuration)
Section titled “lldp (nxos.devices.configuration)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| holdtime | Integer | min: 1, max: 255 | No | |
| reinit | Integer | min: 1, max: 10 | No | |
| timer | Integer | min: 1, max: 254 | No | |
| tlv_select | String | No | ||
| portid_subtype | Choice | long, short | No | |
| chassis_id | Boolean | true, false | No | |
| portchannel | Boolean | true, false | No |
Examples
Section titled “Examples”Example 1: Basic LLDP with custom timers
nxos: devices: - name: LEAF1 configuration: feature: lldp: true lldp: holdtime: 120 reinit: 2 timer: 30Example 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: trueExample 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