Skip to content

eos_lldp

Collection Note

This module is part of the arista.eos collection. To install the collection, use:

ansible-galaxy collection install arista.eos
Added in version 1.0.0.

Synopsis

  • This module provides declarative management of LLDP service on Arista EOS network devices.

Parameters

Parameter Defaults / Choices Comments
state
str
Default: present
Choices: present, absent, enabled, disabled
State of the LLDP configuration. If value is I(present) lldp will be enabled else if it is I(absent) it will be disabled.

Notes

Note

  • Tested against Arista EOS 4.24.6F

Examples

- name: Enable LLDP service
  arista.eos.eos_lldp:
    state: present

- name: Disable LLDP service
  arista.eos.eos_lldp:
    state: absent

Return Values

Key Data Type Description Returned
commands list The list of configuration mode commands to send to the device always, except for the platforms that use Netconf transport to manage the device.

Authors

  • Ganesh Nalawade (@ganeshrn)