Renumbering stack members
If you did not provision the stack for the switches when you first created the stack, it is possible that members did not acquire the desired member numbers. The stack members can be renumbered.
A four member stack is used in the following example with switches A, B, C, and D. These switches inadvertently acquired member numbers 1, 3, 2, and 4, respectively. Switch B acquired member number 3 and switch C acquired member number 2. The stack should have A=member 1, B=member 2, C=member 3, and D=member 4.
In the global config context, enter the
remove
command option for switch B (member 3) and switch C (member 2):switch(config)# stack member 3 remove
switch(config)# stack member 2 remove
This command clears the MAC address of the member 2 configuration to allow switch C’s MAC address to be entered in the next command, without a duplicate MAC address occurring in the stack.
All configurations on the removed member switch are deleted, not just the stacking configuration.
Enter the following command:
switch(config)# stack member 2 type <J-number> mac-address <B's MAC address>
switch(config)# stack member 3 type <J-number> mac-address <C's MAC address>
Reboot switch B (new member 2) and then switch C (new member 3).
To confirm that each switch now has the desired member number, enter the
show stacking
command.