ansible / ansible.builtin / v2.9.0 / module / nxos_lldp Manage LLDP configuration on Cisco NXOS network devices. | "added in version" 2.5 of ansible.builtin" Authors: Ganesh Nalawade (@ganeshrn) preview | supported by networkansible.builtin.nxos_lldp (v2.9.0) — module
pip
Install with pip install ansible==2.9.0
This module provides declarative management of LLDP service on Cisco NXOS network devices.
- name: Enable LLDP service nxos_lldp: state: present
- name: Disable LLDP service nxos_lldp: state: absent
state: choices: - present - absent default: present description: - State of the LLDP configuration. If value is I(present) lldp will be enabled else if it is I(absent) it will be disabled.
commands: description: The list of configuration mode commands to send to the device returned: always, except for the platforms that use Netconf transport to manage the device. sample: - feature lldp type: list