networking:stp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:stp [2025/12/03 15:38] – [During Failure] v1ctor | networking:stp [2025/12/03 16:11] (current) – [Root Guard] v1ctor | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| ==== During Failure ==== | ==== During Failure ==== | ||
| - | Root port sends BPDUs every 2 seconds. If non-root switch stops receiving BPDUs over Root port for 20 seconds, it starts the // | + | Root port sends BPDUs every 2 seconds. If non-root switch stops receiving BPDUs over Root port for 20 seconds, it starts the // |
| ==== RSTP ==== | ==== RSTP ==== | ||
| - | RST improves convergence time. Instead of having a //Blocked// port and spending too much time in // | + | RST improves convergence time. Instead of having a //Blocked// port and spending too much time in // |
| + | |||
| + | ==== PORT-FAST ==== | ||
| + | |||
| + | When port flaps, switch sends TCN (topology change notification) message, which forces all switches to re-calculate the root switch. This is not very efficient when port towards the client flaps. In order to mitigate that, customer facing port is configured with **spanning-tree portfast**. This port will be always on (forwarding). | ||
| + | |||
| + | ==== BPDU Guard ==== | ||
| + | |||
| + | We should not receive BPDUs on the customer facing ports. There is a feature which sets the port to **err-disabled** state if switch receives a BPDU on that port. | ||
| + | |||
| + | ==== Root Guard ==== | ||
| + | |||
| + | Configuration on the Root switch to protect hijacking the Root role. Configured on the ports. | ||
| + | |||
| + | ==== MSTP ==== | ||
| + | |||
| + | Instead of sending BPDU for each VLAN, MSTP aggregates VLANs into the instances and send a single BPDU for that group. | ||
| + | |||
| + | On Arista, by default MST instance 0 is created and all VLANs belong to that instance. | ||
networking/stp.1764776339.txt.gz · Last modified: by v1ctor
