Patent attributes
A system and method for electing a master switch includes a management port for coupling a first switch to a management system, a plurality of stacking ports for coupling the first switch to other switches in a stacked switch, and a control unit. The control unit detects one or more first connectivity settings of the management port, exchanges the first connectivity settings with the other switches using at least one of the stacking ports, exchanges second connectivity settings for the other switches using the stacking ports, and elects a master switch for the stacked switch based on the first and second connectivity settings. In some embodiments, the control unit further receives a first management configuration from the management system, exchanges the first management configuration with the other switches, exchanges second management configurations of the other switches, and further elects the master switch based on the first and second management configurations.