arista.eos.eos_lldp module – Manage LLDP configuration on Arista EOS network devices
Note
This module is part of the arista.eos collection (version 9.0.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install arista.eos
.
To use it in a playbook, specify: arista.eos.eos_lldp
.
New in arista.eos 1.0.0
Synopsis
This module provides declarative management of LLDP service on Arista EOS network devices.
Aliases: lldp
Parameters
Parameter |
Comments |
---|---|
State of the LLDP configuration. If value is present lldp will be enabled else if it is absent it will be disabled. Choices:
|
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
Common return values are documented here, the following are the fields unique to this module:
Key |
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: |