Stack Priority
The stack priority of a stack member determines its role in role election. A larger value indicates a higher priority and higher probability that the stack member is elected as the master switch.
During the stack master election, the switch operating status is compared first and then the stack priority. If two switches run in the same state, the switch with a higher stack priority is elected as the master switch. Therefore, you are advised to set the highest stack priority for the switch that is expected to be the stack master.