In this manner, in particular embodiments, without modifying the spanning tree protocol processing related to the network port roles, the spanning-tree protocol event processing and flooding in the distribution layer is minimized when there is a network topology change in the access layer of the data network 100.