.. _cisco.nxos.nxos_lldp_interfaces_module:
*******************************
cisco.nxos.nxos_lldp_interfaces
*******************************
**LLDP interfaces resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages interfaces' configuration for Link Layer Discovery Protocol (LLDP) on NX-OS platforms.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
A list of link layer discovery configurations for interfaces.
|
|
name
string
/ required
|
|
Name of the interface
|
|
receive
boolean
|
|
Used to enable or disable the reception of LLDP packets on that interface. By default, this is enabled after LLDP is enabled globally.
|
|
tlv_set
dictionary
|
|
Used to configure TLV parameters on the interface
|
|
|
management_address
string
|
|
Used to mention the IPv4 or IPv6 management address for the interface
|
|
|
vlan
integer
|
|
Used to mention the VLAN for the interface
|
|
transmit
boolean
|
|
Used to enable or disable the transmission of LLDP packets on that interface. By default, this is enabled after LLDP is enabled globally.
|
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the NX-OS device by executing the command show running-config | section ^interface.
The state parsed reads the configuration from running_config option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the parsed key within the result.
|
|
state
string
|
Choices:
merged ←
- replaced
- overridden
- deleted
- gathered
- rendered
- parsed
|
The state the configuration should be left in
|