ansible / ansible.builtin / v2.9.18 / module / icx_lldp Manage LLDP configuration on Ruckus ICX 7000 series switches | "added in version" 2.9 of ansible.builtin" Authors: Ruckus Wireless (@Commscope) preview | supported by communityansible.builtin.icx_lldp (v2.9.18) — module
pip
Install with pip install ansible==2.9.18
This module provides declarative management of LLDP service on ICX network devices.
- name: Disable LLDP icx_lldp: state: absent
- name: Enable LLDP icx_lldp: state: present
- name: Disable LLDP on ports 1/1/1 - 1/1/10, 1/1/20 icx_lldp: interfaces: - name: - ethernet 1/1/1 to 1/1/10 - ethernet 1/1/20 state: absent state: present
- name: Enable LLDP on ports 1/1/5 - 1/1/10 icx_lldp: interfaces: - name: - ethernet 1/1/1 to 1/1/10
state: choices: - present - absent - enabled - disabled description: - Enables the receipt and transmission of Link Layer Discovery Protocol (LLDP) globally. type: str interfaces: description: - specify interfaces suboptions: name: description: - List of ethernet ports to enable lldp. To add a range of ports use 'to' keyword. See the example. type: list state: choices: - present - absent - enabled - disabled description: - State of lldp configuration for interfaces type: str type: list check_running_config: default: true description: - Check running configuration. This can be set as environment variable. Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter. type: bool
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: - lldp run - no lldp run type: list