PARALLAX

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

NameTypeRequiredDefaultDescription
auth_keystryes
hoststrapi.meraki.com
use_proxyboolfalse
use_httpsbooltrue
validate_certsbooltrue
output_formatstrsnakecase
output_levelstrnormal
timeoutint30
org_namestr
org_idstr
rate_limit_retry_timeint165
internal_error_retry_timeint60
statestrpresent
net_namestr
net_idstr
lag_idstr
switch_portslist

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
Search
    ↑ ↓ move↵ openesc close