.. _cisco.ios.ios_lldp_module: ****************** cisco.ios.ios_lldp ****************** **(deprecated, removed after 2024-06-01) Manage LLDP configuration on Cisco IOS network devices.** Version added: 1.0.0 .. contents:: :local: :depth: 1 DEPRECATED ---------- :Removed in collection release after 2024-06-01 :Why: Newer and updated modules released with more functionality. :Alternative: ios_lldp_global Synopsis -------- - This module provides declarative management of LLDP service on Cisco IOS network devices. Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
state
string
    Choices:
  • present ←
  • absent
  • enabled
  • disabled
State of the LLDP configuration. If value is present lldp will be enabled else if it is absent it will be disabled.

Notes ----- .. note:: - Tested against IOS 15.2 - This module works with connection ``network_cli``. See https://docs.ansible.com/ansible/latest/network/user_guide/platform_ios.html - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide ` - For more information on using Ansible to manage Cisco devices see the `Cisco integration page `_. Examples -------- .. code-block:: yaml - name: Enable LLDP service cisco.ios.ios_lldp: state: present - name: Disable LLDP service cisco.ios.ios_lldp: state: absent Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: .. raw:: html
Key Returned Description
commands
list
always, except for the platforms that use Netconf transport to manage the device.
The list of configuration mode commands to send to the device

Sample:
['lldp run']


Status ------ - This module will be removed in a release after 2024-06-01. *[deprecated]* - For more information see `DEPRECATED`_. Authors ~~~~~~~ - Ganesh Nalawade (@ganeshrn)