meraki_mr_l3_firewall
Manage reviewed legacy Meraki settings on the controller
Collection: cisco.meraki
Full Name: cisco.meraki.meraki_mr_l3_firewall
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage reviewed legacy Meraki settings on the controller
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 | |||
| number | str | |||
| ssid_name | str | |||
| rules | list | |||
| allow_lan_access | bool | true |
Example
yaml
- delegate_to: localhost
meraki_mr_l3_firewall:
allow_lan_access: false
auth_key: abc123
net_id: 12345
number: 1
org_name: YourOrg
rules:
- comment: Integration test rule
dest_cidr: 192.0.2.0/24
dest_port: 80
policy: allow
protocol: tcp
state: present
name: Create single firewall rule
- delegate_to: localhost
meraki_mr_l3_firewall:
allow_lan_access: true
auth_key: abc123
net_id: 123
number: 1
org_name: YourOrg
rules: null
state: present
name: Enable local LAN access
- delegate_to: localhost
meraki_mr_l3_firewall:
auth_key: abc123
net_name: YourNet
number: 1
org_name: YourOrg
state: query
name: Query firewall rules