alliedtelesis / alliedtelesis.awplus / 1.0.0 / module / awplus_linkagg Manage link aggregation groups on AlliedWare Plus network devices | "added in version" 2.9 of alliedtelesis.awplus" Authors: Cheng Yi Kok (@cyk19) preview | supported by networkalliedtelesis.awplus.awplus_linkagg (1.0.0) — module
Install with ansible-galaxy collection install alliedtelesis.awplus:==1.0.0
collections: - name: alliedtelesis.awplus version: 1.0.0
This module provides declarative management of link aggregation groups on AlliedWare Plus network devices.
- name: delete link aggregation group awplus_linkagg: group: 100 state: absent
- name: delete link aggregation group awplus_linkagg: group: 3 state: absent
- name: set link aggregation group to members awplus_linkagg: group: 200 mode: active members: - port1.0.4 - port1.0.3
- name: remove link aggregation group from port1.0.3 awplus_linkagg: group: 200 mode: active members: - port1.0.4
- name: delete link aggregation group awplus_linkagg: group: 200 state: absent
- name: Create aggregate of linkagg definitions awplus_linkagg: aggregate: - { group: 3, mode: active, members: [port1.0.4] } - { group: 100, mode: passive, members: [port1.0.3] }
mode: choices: - active - passive description: - Mode of the link aggregation group. group: description: - Channel-group number for the port-channel Link aggregation group. Range 1-255. purge: default: false description: - Purge links not defined in the I(aggregate) parameter. type: bool state: choices: - present - absent default: present description: - State of the link aggregation group. members: description: - List of members of the link aggregation group. aggregate: description: List of link aggregation definitions.
commands: description: The list of configuration mode commands to send to the device returned: always sample: - - interface port1.0.2 - no switchport access vlan - switchport mode access - switchport access vlan 2 type: list