Parameter |
Choices/Defaults |
Comments |
access_policy_number
|
|
Number of the access policy to apply.
Only applicable to access port types.
|
allowed_vlans
|
Default:
all
|
List of VLAN numbers to be allowed on switchport.
|
auth_key
|
|
Authentication key provided by the dashboard. Required if environmental variable MERAKI_KEY is not set.
|
enabled
bool |
|
Whether a switchport should be enabled or disabled.
|
host
string |
Default:
api.meraki.com
|
Hostname for Meraki dashboard
Only useful for internal Meraki developers
|
isolation_enabled
bool |
|
Isolation status of switchport.
|
link_negotiation
|
Choices:
Auto negotiate ←
- 100Megabit (auto)
- 100 Megabit full duplex (forced)
|
Link speed for the switchport.
|
name
|
|
Switchport description.
aliases: description
|
number
|
|
Port number.
|
org_id
|
|
ID of organization.
|
org_name
|
|
Name of organization.
aliases: organization
|
output_level
|
|
Set amount of debug output during module execution
|
poe_enabled
bool |
|
Enable or disable Power Over Ethernet on a port.
|
rstp_enabled
bool |
|
Enable or disable Rapid Spanning Tree Protocol on a port.
|
serial
|
|
Serial nubmer of the switch.
|
state
|
|
Specifies whether a switchport should be queried or modified.
|
stp_guard
|
Choices:
disabled ←
- root guard
- bpdu guard
- loop guard
|
Set state of STP guard.
|
tags
|
|
Space delimited list of tags to assign to a port.
|
timeout
int |
Default:
30
|
Time to timeout for HTTP requests.
|
type
|
|
Set port type.
|
use_https
bool |
|
If no , it will use HTTP. Otherwise it will use HTTPS.
Only useful for internal Meraki developers
|
use_proxy
bool |
|
If no , it will not use a proxy, even if one is defined in an environment variable on the target hosts.
|
validate_certs
bool |
|
Whether to validate HTTP certificates.
|
vlan
|
|
VLAN number assigned to port.
If a port is of type trunk, the specified VLAN is the native VLAN.
|
voice_vlan
|
|
VLAN number assigned to a port for voice traffic.
Only applicable to access port type.
|