12-30-2024 07:22 AM
When booting and power cycling the complete 6 switch stack I noticed that what prior to the reboot switch 1 becomes lets say switch 5.
Is there a way/command where switch 1 will always be switch 1, switch 2 will always be switch 2, and so on.
I know there is a command to change the switch stack number but that can change on a reboot, from my
Solved! Go to Solution.
12-30-2024 07:27 AM
Hello @gmrodriguez
You could configure stack priorities using the switch stack-member-number priority command. This assigns a specific priority value to each switch in the stack, ensuring predictable stack member numbering. A higher priority value increases the likelihood of a switch becoming the stack master and retaining its designated stack number.
For example, you can assign the highest priority (e.g., 15) to the switch you want to always be Switch 1, and progressively lower priorities (e.g., 14, 13, etc.) to the other switches in the stack. By doing this, the switches will retain their stack numbers, and the stack master election process will be more predictable. The configuration might look like this:
switch 1 priority 15
switch 2 priority 14
switch 3 priority 13
This ensures Switch 1 always retains its role as the master and retains its stack member number across reboots.
12-30-2024 07:27 AM
Hello @gmrodriguez
You could configure stack priorities using the switch stack-member-number priority command. This assigns a specific priority value to each switch in the stack, ensuring predictable stack member numbering. A higher priority value increases the likelihood of a switch becoming the stack master and retaining its designated stack number.
For example, you can assign the highest priority (e.g., 15) to the switch you want to always be Switch 1, and progressively lower priorities (e.g., 14, 13, etc.) to the other switches in the stack. By doing this, the switches will retain their stack numbers, and the stack master election process will be more predictable. The configuration might look like this:
switch 1 priority 15
switch 2 priority 14
switch 3 priority 13
This ensures Switch 1 always retains its role as the master and retains its stack member number across reboots.
12-30-2024 09:44 AM
Thank you for this response.
The reason i was looking for this feature is to be able to physically identify which is Switch 1, Switch 2, etc.
So to be clear, after configuring priorities for each switch, on a full reboot of all switches at same time the switches will retain the numbering?
This does not calculate what switch becomes Active or Standby, correct?
12-30-2024 05:22 PM - edited 12-30-2024 05:24 PM
Hello
yes the switch priority’s specify what switch will become the active/standby/member switch’s in the stack (highest number preferred) if there is a tie the stack selection proceeds to lowest switch base mac address
If you reboot the whole stack after manually prioritising the switches then IF and ONLY IF they reboot at the same time will they come back in the switch order you have stated - however if they dont reboot at the same time for some reason or the manually power them down /up in a different order then the switch priority’s can make no difference as such its possible for a member switch with a priority of 1 to be the active switch over a switch with a priority of 15
Lasty the stacking is NOT preemptive so once a switch is selected after reboot as the active /standby they will NOT preempt if a another switch comes on line with a preferred switch priority
renumbering a switch is different altogether
when you renumber a switch it changes the switch’s number (obviously) in the stack but also and most importantly it changes the interfaces numbers aswell so be careful doing this.
12-30-2024 07:28 AM
12-30-2024 07:34 AM - edited 12-30-2024 08:25 AM
Thanks
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide