Patent ID: 7352707

Claim:
A processing method enabling each unit in a stacking network device to run Rapid Spanning Tree Protocol (RSTP), which is applied to a stacking network device and enables the stacking network device to utilize a Port Role Selection procedure updtRolesBridge( ) in a Port Role Selection state machine defined in the Rapid Spanning Tree Protocol to rapidly select a port having the best priority from a plurality of ports in the stacking network device for executing Spanning Tree Protocol and the relating algorithm, including the steps of: enabling per Bridge Variables in each unit of the stacking network device to have the same value while proceeding with the process according to the Rapid Spanning Tree Protocol, and enabling any change of one of the variables to be synchronized; taking the value of BridgePortID in the port priority vector as the value in the field of a Protocol Identifier of a Bridge Protocol Data Unit (BPDU) while the BPDU is transmitted on a stack link port, and extracting the value of BridgePortID for message priority vector from the field of Protocol Identifier while receiving the BPDU internally between each unit; while implementing RSTP distribution, taking the value of Root Priority vector as the value for Designated Priority vector for a stack port.