switch_show_spanning_tree
View spanning tree status on a switch to verify root bridge, port roles, and loop prevention. Use this command to diagnose network topology issues and ensure stable connectivity.
Instructions
Show spanning tree status on a switch
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>"
},
"name": "switch_show_spanning_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Switch device ID |