Switch STP Configuration
Dashboard Location: Switching > Configure > Switch Settings > STP
Spanning Tree Protocol Configuration
Switch Spanning Tree Protocol (STP) configuration in Meraki networks provides administrators with comprehensive loop prevention and network topology management capabilities, enabling rapid spanning tree protocol (RSTP) implementation, bridge priority customization, convergence optimization, and network stability assurance. This functionality supports automatic loop detection, failover mechanisms, redundant path management, and network topology optimization. STP configuration is essential for preventing broadcast storms, maintaining network stability, ensuring redundant connectivity, and providing automatic failover capabilities in enterprise switched networks.
Diagram
Classes
switch (meraki.domains.organizations.networks)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
stp | Class | [stp] | No |
stp (meraki.domains.organizations.networks.switch)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
stp_bridge_priority | List | [stp_bridge_priority] | No | |
rstp | Boolean | true , false | No |
stp_bridge_priority (meraki.domains.organizations.networks.switch.stp)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
switch_profiles | List | String[min: 1 , max: 127 ] | No | |
switches | List | Any[String[matches: ^[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}$ ] or String[min: 1 , max: 127 ]] | No | |
stacks | List | String[min: 1 , max: 127 ] | No | |
stp_priority | Integer | min: 0 , max: 61440 | Yes |
Examples
Example-1: The example below demonstrates switch STP configuration using tested YAML configuration from pipeline fixtures.
meraki: domains: - name: "!env domain" administrator: name: "!env org_admin" organizations: - name: "!env org" networks: - name: "!env network_name" product_types: - appliance - switch - wireless - camera - sensor - cellularGateway switch: stp: rstp: true stp_bridge_priority: - stacks: - "DEV_CORE" stp_priority: 28672