.. _cisco.nxos.nxos_lldp_global_module:
***************************
cisco.nxos.nxos_lldp_global
***************************
**LLDP resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module configures and manages the Link Layer Discovery Protocol(LLDP) attributes on NX-OS platforms.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
dictionary
|
|
A list of link layer discovery configurations
|
|
holdtime
integer
|
|
Amount of time the receiving device should hold the information (in seconds)
|
|
port_id
integer
|
|
This attribute defines if the interface names should be advertised in the long(0) or short(1) form.
|
|
reinit
integer
|
|
Amount of time to delay the initialization of LLDP on any interface (in seconds)
|
|
timer
integer
|
|
Frequency at which LLDP updates need to be transmitted (in seconds)
|
|
tlv_select
dictionary
|
|
This attribute can be used to specify the TLVs that need to be sent and received in the LLDP packets. By default, all TLVs are advertised
|
|
|
dcbxp
boolean
|
|
Used to specify the Data Center Bridging Exchange Protocol TLV
|
|
|
management_address
dictionary
|
|
Used to specify the management address in TLV messages
|
|
|
|
v4
boolean
|
|
Management address with TLV v4
|
|
|
|
v6
boolean
|
|
Management address with TLV v6
|
|
|
port
dictionary
|
|
Used to manage port based attributes in TLV messages
|
|
|
|
description
boolean
|
|
Used to specify the port description TLV
|
|
|
|
vlan
boolean
|
|
Used to specify the port VLAN ID TLV
|
|
|
power_management
boolean
|
|
Used to specify IEEE 802.3 DTE Power via MDI TLV
|
|
|
system
dictionary
|
|
Used to manage system based attributes in TLV messages
|
|
|
|
capabilities
boolean
|
|
Used to specify the system capabilities TLV
|
|
|
|
description
boolean
|
|
Used to specify the system description TLV
|
|
|
|
name
boolean
|
|
Used to specify the system name TLV
|
|
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 | include lldp.
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 of the configuration after module completion.
States replaced and overridden have the same behaviour for this module.
|