LLDP
NX-OSLink 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”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| devices | List | devices | No | |
| device_groups | List | device_groups | No | |
| global | Class | global | No | |
| templates | List | templates | No |
devices (nxos)
Section titled “devices (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
device_groups (nxos)
Section titled “device_groups (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
global (nxos)
Section titled “global (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
templates (nxos)
Section titled “templates (nxos)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| configuration | Class | configuration | No |
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 | |
| port_channel | 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 port_channel: true