PARALLAX

meraki_mx_static_route

Manage reviewed legacy Meraki settings on the controller

Collection: cisco.meraki

Full Name: cisco.meraki.meraki_mx_static_route

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
net_idstr
net_namestr
namestr
subnetstr
gateway_ipstr
statestrpresent
fixed_ip_assignmentslist
reserved_ip_rangeslist
route_idstr
enabledbool
gateway_vlan_idint

Example

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

- name: Configure a static route (authored native example)
  cisco.meraki.meraki_mx_static_route:
    auth_key: example-api-key
    org_id: example-org
    net_id: example-network
    state: present
    name: office-route
    subnet: 192.0.2.0/24
    gateway_ip: 192.0.2.1
    fixed_ip_assignments:
      - mac: '02:00:00:00:00:01'
        ip: 192.0.2.10
        name: office-server

- name: Remove a static route (authored native example)
  cisco.meraki.meraki_mx_static_route:
    auth_key: example-api-key
    org_id: example-org
    net_id: example-network
    state: absent
    route_id: example-route
Search
    ↑ ↓ move↵ openesc close