Patent ID: 8117336

Claim:
A method for providing accidental stack join protection, the method comprising: connecting stacking ports of a first switch that is a member of a first stack and a second switch that is a member of a second stack and thereby connecting the first and second stacks; detecting configurations of the first stack and of the second stack; determining whether the detected configurations indicate a stack configuration mismatch which indicates an accidental connection between the first and second stacks, wherein an accidental connection is an unintentional connection between the first and second stacks made by a user; wherein determining whether the detected configurations indicate a stack configuration mismatch includes determining whether the first and second stacks are operational, whether a slot identifier is duplicated between the first and second stacks, and whether a stack identifier associated with the first stack is different than a stack identifier associated with the second stack; and in response to determining that the detected configurations indicate a mismatch which indicates an accidental connection, inhibiting automatic joining of the first and second stacks and allowing the first and second stacks to continue switching traffic with their existing configurations, wherein inhibiting automatic joining of the first and second stacks includes blocking the transmission of data packets and management packets not associated with stacking control and status between the first and second switches and allowing the transmission of packets associated with stacking control and status between the first and second switches, and wherein allowing the first and second stacks to continue switching traffic with their existing configurations includes allowing transmission and reception of network traffic using at least one non-stacking port at one or more of the first and second stacks.