meraki_ms_access_policies
Manage access policies on Meraki MS switches
Collection: cisco.meraki
Full Name: cisco.meraki.meraki_ms_access_policies
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage access policies on Meraki 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_id | str | |||
| net_name | str | |||
| number | int | |||
| name | str | |||
| auth_method | str | |||
| guest_vlan | int | |||
| access_policy_type | str | |||
| systems_management_enrollment | bool | false | ||
| radius_servers | list | |||
| radius_testing | bool | True | ||
| voice_vlan_clients | bool | True | ||
| radius_coa_enabled | bool | |||
| radius_accounting_enabled | bool | |||
| radius_accounting_servers | list | |||
| host_mode | str | |||
| data_vlan_id | int | |||
| voice_vlan_id | int | |||
| suspend_port_bounce | bool | False | ||
| radius_attribute_group_policy_name | str |
Example
yaml
- cisco.meraki.meraki_ms_access_policies:
auth_key: abc123
auth_method: Meraki authentication
name: Meraki authentication policy
net_name: YourNet
org_name: YourOrg
state: present
delegate_to: localhost
name: Create access policy with auth_method is "Meraki authentication"
- cisco.meraki.meraki_ms_access_policies:
access_policy_type: 802.1x
auth_key: abc123
auth_method: my RADIUS server
guest_vlan: 10
host_mode: Single-Host
name: Meraki authentication policy
net_name: YourNet
org_name: YourOrg
radius_accounting_enabled: false
radius_coa_enabled: false
radius_servers:
- host: 192.0.1.18
port: 7890
secret: secret123
state: present
voice_vlan_clients: false
name: Create access policy with auth_method is "my Radius Server"