Updates STP Settings
PUT {{baseUrl}}/networks/:networkId/switch/stp
Updates STP settings #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: rstpEnabled| boolean| The spanning tree protocol status in network stpBridgePriority| array| STP bridge priority for switches/stacks or switch profiles. An empty array will clear the STP bridge priority settings.
Supports Action Batches
Resource | Operation |
---|---|
/networks/{networkId}/switch/stp | update |
Request Body
{"rstpEnabled"=>"<boolean>", "stpBridgePriority"=>[{"stpPriority"=>"<integer>", "switchProfiles"=>["<string>", "<string>"], "switches"=>["<string>", "<string>"], "stacks"=>["<string>", "<string>"]}, {"stpPriority"=>"<integer>", "switchProfiles"=>["<string>", "<string>"], "switches"=>["<string>", "<string>"], "stacks"=>["<string>", "<string>"]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"rstpEnabled":true,"stpBridgePriority":[{"switches":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"],"stpPriority":4096},{"stacks":["789102","123456","129102"],"stpPriority":28672}]}