PARALLAX

meraki_mx_vlan

Manage reviewed legacy Meraki settings on the controller

Collection: cisco.meraki

Full Name: cisco.meraki.meraki_mx_vlan

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manage reviewed legacy Meraki settings on the controller

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
statestrquery
net_namestr
net_idstr
vlan_idint
namestr
subnetstr
appliance_ipstr
fixed_ip_assignmentslist
reserved_ip_rangelist
vpn_nat_subnetstr
dns_nameserversstr
dhcp_handlingstr
dhcp_relay_server_ipslist
dhcp_lease_timestr
dhcp_boot_options_enabledbool
dhcp_boot_next_serverstr
dhcp_boot_filenamestr
dhcp_optionslist

Example

yaml
- name: Query VLANs (authored native example)
  cisco.meraki.meraki_mx_vlan:
    auth_key: example-api-key
    org_id: example-org
    net_id: example-network
    state: query

- name: Configure a VLAN (authored native example)
  cisco.meraki.meraki_mx_vlan:
    auth_key: example-api-key
    org_id: example-org
    net_id: example-network
    state: present
    vlan_id: 10
    name: office-vlan
    subnet: 192.0.2.0/24
    appliance_ip: 192.0.2.1
    dhcp_handling: server
    dns_nameservers: upstream_dns

- name: Remove a VLAN (authored native example)
  cisco.meraki.meraki_mx_vlan:
    auth_key: example-api-key
    org_id: example-org
    net_id: example-network
    state: absent
    vlan_id: 10
Search
    ↑ ↓ move↵ openesc close