74. Root Guard of STP security configuration experiment
1. Root Guard parsing
In order to protect the stability of Spanningtree, Root Guard is configured on the designated port of the root bridge or the port on which the switch connects to the non-switch. when a better BPDU is received on the interface configured with Root Guard, the interface will be blocked into the broken state, and will be automatically restored when more BPDU is no longer received.
2. Configure Root Guard
After configuring root guard, we connect to S1 to observe the phenomenon.
We increase the priority of S1, simulate that S4 is no longer receiving more BPDU, and observe the state change of e0Unix0 of S4.