Skip to content

Switch STP Configuration

Dashboard Location: Switching > Configure > Switch Settings > STP

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

switch (meraki.domains.organizations.networks)

Section titled “switch (meraki.domains.organizations.networks)”
NameTypeConstraintMandatoryDefault Value
stpClass[stp]No

stp (meraki.domains.organizations.networks.switch)

Section titled “stp (meraki.domains.organizations.networks.switch)”
NameTypeConstraintMandatoryDefault Value
stp_bridge_priorityList[stp_bridge_priority]No
rstpBooleantrue, falseNo

stp_bridge_priority (meraki.domains.organizations.networks.switch.stp)

Section titled “stp_bridge_priority (meraki.domains.organizations.networks.switch.stp)”
NameTypeConstraintMandatoryDefault Value
switch_profilesListString[min: 1, max: 127]No
switchesListAny[String[matches: ^[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}$] or String[min: 1, max: 127]]No
stacksListString[min: 1, max: 127]No
stp_priorityIntegermin: 0, max: 61440Yes

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