The invention discloses a
spanning tree protocol convergence method,
spanning tree protocol convergence equipment and a medium, and the method comprises the steps: virtualizing a stacking
system into a single
virtual switch, creating virtual ports of all ports in the stacking
system on main equipment, and when root bridge election is carried out, carrying out root bridge election on the virtual ports; after the standby device and the slave device respectively forward a first BPDU message of the opposite terminal external device to the master device, a root bridge device is determined according to a root bridge calculation result of the master device and a root bridge calculation result of the external device, and when the master device carries out port role election on a virtual port in a second state according to a second BPDU message, the virtual port in the second state is subjected to port role election. The port role and the port state are obtained, the port state of the single virtual port is forwarded to the corresponding standby device or slave device through the master device, and when the
network topology changes, port role election is conducted on the
network topology again through the master device. The stacking
system is virtualized into a switch, and the BPDU messages of the slave device and the standby device are transferred to the master device to be processed, so that the convergence speed of the
spanning tree protocol is increased.