community.network.icx_linkagg module – Manage link aggregation groups on Ruckus ICX 7000 series switches
Note
This module is part of the community.network collection (version 5.0.2).
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 community.network
.
To use it in a playbook, specify: community.network.icx_linkagg
.
Synopsis
This module provides declarative management of link aggregation groups on Ruckus ICX network devices.
Aliases: network.icx.icx_linkagg
Parameters
Parameter |
Comments |
---|---|
List of link aggregation definitions. |
|
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. Choices:
|
|
Channel-group number for the port-channel Link aggregation group. Range 1-255 or set to ‘auto’ to auto-generates a LAG ID |
|
List of port members or ranges of the link aggregation group. |
|
Mode of the link aggregation group. Choices:
|
|
Name of the LAG |
|
State of the link aggregation group. Choices:
|
|
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. Choices:
|
|
Channel-group number for the port-channel Link aggregation group. Range 1-255 or set to ‘auto’ to auto-generates a LAG ID |
|
List of port members or ranges of the link aggregation group. |
|
Mode of the link aggregation group. Choices:
|
|
Name of the LAG |
|
Purge links not defined in the aggregate parameter. Choices:
|
|
State of the link aggregation group. Choices:
|
Notes
Note
Tested against ICX 10.1.
For information on using ICX platform, see the ICX OS Platform Options guide.
Examples
- name: Create static link aggregation group
community.network.icx_linkagg:
group: 10
mode: static
name: LAG1
- name: Create link aggregation group with auto id
community.network.icx_linkagg:
group: auto
mode: dynamic
name: LAG2
- name: Delete link aggregation group
community.network.icx_linkagg:
group: 10
state: absent
- name: Set members to LAG
community.network.icx_linkagg:
group: 200
mode: static
members:
- ethernet 1/1/1 to 1/1/6
- ethernet 1/1/10
- name: Remove links other then LAG id 100 and 3 using purge
community.network.icx_linkagg:
aggregate:
- { group: 3}
- { group: 100}
purge: true
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: |