Switch Ports
Location in Dashboard: Switching
>> Switch Ports
Diagram
Classes
switch (meraki.domains.organizations.networks.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ports | List | [ports] | No |
ports (meraki.domains.organizations.networks.devices.switch)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | min: 1 , max: 127 | No | |
tags | List | String[min: 1 , max: 255 ] | No | |
enabled | Boolean | true , false | No | |
type | Choice | access , routed , stack , trunk | No | |
vlan | Any | Integer[min: 1 , max: 4094 ] or String[matches: `(?:[1-9] | [1-9][0-9] | [1-9][0-9]2 |
voice_vlan | Any | Integer[min: 1 , max: 4094 ] or String[matches: `(?:[1-9] | [1-9][0-9] | [1-9][0-9]2 |
allowed_vlans | Any | Integer[min: 1 , max: 4094 ] or String[matches: `(?:[1-9] | [1-9][0-9] | [1-9][0-9]2 |
stp_guard | Choice | bpdu guard , disabled , loop guard , root guard | No | |
link_negotiation | String | min: 1 , max: 127 | No | |
udld | Choice | Alert only , Enforce | No | |
access_policy_type | Choice | Custom access policy , MAC allow list , Open , Sticky MAC allow list | No | |
mac_allow_list | List | MAC | No | |
sticky_mac_allow_list | List | MAC | No | |
sticky_mac_allow_list_limit | Integer | min: 1 , max: 10 | No | |
peer_sgt_capable | Boolean | true , false | No | |
dai_trusted | Boolean | true , false | No | |
profile | Class | [profile] | No | |
dot3az | Boolean | true , false | No | |
poe | Boolean | true , false | No | |
isolation | Boolean | true , false | No | |
rstp | Boolean | true , false | No | |
storm_control | Boolean | true , false | No | |
flexible_stacking | Boolean | true , false | No | |
port_ids | String | Regex: \d{1,3} | No | |
port_schedule_name | String | min: 1 , max: 127 | No | |
access_policy_name | String | min: 1 , max: 127 | No | |
adaptive_policy_group_name | String | min: 1 , max: 127 | No |
profile (meraki.domains.organizations.networks.devices.switch.ports)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
enabled | Boolean | true , false | No | |
iname | String | min: 1 , max: 127 | No | |
name | String | min: 1 , max: 127 | No |
Config Sample
meraki: domains: - name: EMEA administrator: name: Foo Bar organizations: - name: Dev networks: - name: Dev-main-cx-provider product_types: - appliance - camera - switch - wireless devices: - name: Core Switch 01 switch_ports: - port_ids: 1-4,5,7,10,11,12 name: User Port tags: - tag1 enabled: true type: access vlan: 1 voice_vlan: 100 allowed_vlans: 1-100 isolation: true rstp: true stp_guard: bpdu guard link_negotiation: Auto negotiate port_schedule_name: "Dev Weekend Only Port Schedule" udld: Enforce # access_policy_type: Custom access policy # access_policy_name: Test Policy # mac_allow_list: # - 00:11:22:33:44:55 # sticky_mac_allow_list: # - 00:11:22:33:44:55 # sticky_mac_allow_list_limit: 1 storm_control: true # adaptive_policy_group_name: "Corp Policy" # peer_sgt_capable: false # flexible_stacking: false # dai_trusted: true # profile: # enabled: true # name: "vlan profile" # iname: test # dot3az: # enabled: true - name: DMZ Switch 01 switch_ports: - port_ids: 1-3,5,7 name: User Port tags: - tag1 enabled: true type: access vlan: 1 voice_vlan: 100 allowed_vlans: 1-100 isolation: true rstp: true stp_guard: bpdu guard link_negotiation: Auto negotiate port_schedule_name: "Dev Weekend Only Port Schedule" udld: Enforce # access_policy_type: Custom access policy # access_policy_name: Test Policy # mac_allow_list: # - 00:11:22:33:44:55 # sticky_mac_allow_list: # - 00:11:22:33:44:55 # sticky_mac_allow_list_limit: 1 storm_control: true # adaptive_policy_group_name: "Corp Policy" # peer_sgt_capable: true # flexible_stacking: false dai_trusted: true # profile: # enabled: true # name: "vlan profile" # iname: test # dot3az: # enabled: true