v2_set_switch_stp
Prevent network loops by configuring STP on a switch: set mode, bridge priority (4096 forces root), and timers. Enabling STP drops ports for ~30s.
Instructions
Enable/disable STP on a switch and set bridge priority and timers (lower priority wins; 4096 forces root). ⚠ Enabling STP triggers ~30 s of listening/learning — ports carrying APs or cameras WILL drop. Do it when the network is quiet. [READ-ONLY MODE: returns the exact payload instead of sending it]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| dryRun | No | ||
| siteId | No | ||
| priority | No | ||
| switchMac | Yes | ||
| loopbackDetectDevice | No | Device-level loopback detection master switch. |