Ran into an issue where I already had a stack of two 2960's that was working properly.  I went to add a third switch to the stack and it took over as switch 1 and thats when the fun began.  

<!--more-->

The switch stack was powered down before the new switch was added.  If it had been added when the stack was powered on I should not have had any issues.  The new switch decided to become switch 1 and the old switch one became switch 3.  This caused all of the port configurations to be wrong so everything that was plugged into the old switch 1 stopped working since it was now switch 3.  Here are the commands I used to fix.

First I did not want the new switch to become master so I used the command:

Switch(config)#switch 3 priority 15

I wanted the second switch to be the backup master so I entered the command:

Switch(config)#switch 2 priority 14

Now I needed to renumber the switchs so they were in the correct order.  I entered the following commands:

Switch(config)#switch 3 renumber 1
Switch(config)#switch 1 renumber 3
Switch(config)#exit
Switch#copy run start

I then reloaded the stack and everything came back up and was working.

