## **Scenario: Post-Mortem – STP Instability Triggered by Path Cost Change**
During the incident review, we found that the initial point of instability occurred on **US-BOS-SW1**, where a sudden change in the STP path cost caused Spanning Tree to recalculate its topology. This triggered temporary reconvergence events across several VLANs, leading to brief interruptions and inconsistent forwarding behavior. Since STP recalculations can propagate quickly, even a single cost mismatch on one interface can result in network-wide effects.
In this post-mortem demonstration, our goal is to validate the issue on the root-cause device and then ensure the same condition does not exist anywhere else in the environment.\
\
**In this walkthrough we will be:**\
\
**Starting with a single-device map to inspect the root cause**
We begin by isolating **US-BOS-SW1** on a dedicated map to examine its STP state, reviewing the interface where the cost value changed and confirming this as the initial trigger. This gives us a focused view of the affected switch before expanding the analysis.
### **Applying a Pre-built STP Intent to all IOS switches**
Once the root-cause behavior is understood, we take the same STP intent and apply it across every IOS switch in the environment. This checks for:
- path-cost consistency
- unexpected role/state changes
- topology change indicators
- any similar mismatches elsewhere
### **Using Dashboards to review STP stability across the site**
Dashboards help us visualize STP metrics across the network, making it easy to spot abnormal patterns or clusters of devices experiencing changes at the same time. This supports both validation and correlation with the original event timeline.
### **Generating automated post-mortem documentation**
We complete the workflow by exporting a documentation package summarizing:
- the detected STP path-cost change on US-BOS-SW1
- results of the STP intent across all switches
- dashboard insights
- CLI-based verification outputs
This creates a complete post-incident analysis ready for ticketing, escalation, or audit purposes.