If you look at port level logs on Peplink switches you’ll likely see a lot of Rapid Spanning Tree Protocol (RSTP) port related events.
Why are they there and what do they mean?
When switching on a client device connected to a port. 3 events get logged.
The port status shows status changes to link up, then changes to discarding state and it stays in forwarding state.
When powering down the client device no events are logged.
When you power up the client device again the following sequence is logged.
It starts with a log that the port link is down , then the status changes to link up, then changes to discarding state and it stays in forwarding state.
All the above events are normal events that require no attention.
However when you see RSTP port changes when the status of client devices does not change something in the network needs investigating.
This could likely indicate a network loop or duplicate IP address in your local network.