meraki_ms_link_aggregation
Manage link aggregations on MS switches
Collection: cisco.meraki
Full Name: cisco.meraki.meraki_ms_link_aggregation
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage link aggregations on MS switches
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auth_key | str | yes | ||
| host | str | api.meraki.com | ||
| use_proxy | bool | false | ||
| use_https | bool | true | ||
| validate_certs | bool | true | ||
| output_format | str | snakecase | ||
| output_level | str | normal | ||
| timeout | int | 30 | ||
| org_name | str | |||
| org_id | str | |||
| rate_limit_retry_time | int | 165 | ||
| internal_error_retry_time | int | 60 | ||
| state | str | present | ||
| net_name | str | |||
| net_id | str | |||
| lag_id | str | |||
| switch_ports | list |
Example
yaml
- name: Create LAG
meraki_ms_link_aggregation:
auth_key: '{{ auth_key }}'
state: present
org_name: '{{ test_org_name }}'
net_name: '{{ test_switch_net_name }}'
switch_ports:
- serial: '{{ serial_switch }}'
port_id: "1"
- serial: '{{ serial_switch }}'
port_id: "2"
delegate_to: localhost
- name: Update LAG
meraki_ms_link_aggregation:
auth_key: '{{ auth_key }}'
state: present
org_name: '{{ test_org_name }}'
net_name: '{{ test_switch_net_name }}'
lag_id: '{{ lag_id }}'
switch_ports:
- serial: '{{ serial_switch }}'
port_id: "1"
- serial: '{{ serial_switch }}'
port_id: "2"
- serial: '{{ serial_switch }}'
port_id: "3"
- serial: '{{ serial_switch }}'
port_id: "4"
delegate_to: localhost