cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
514
Views
1
Helpful
5
Replies

Switch 9200 Stack

gmrodriguez
Level 1
Level 1

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 

 

 

1 Accepted Solution

Accepted Solutions

M02@rt37
VIP
VIP

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.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

5 Replies 5

M02@rt37
VIP
VIP

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.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

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?

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.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

@gmrodriguez 

Pre define switch priority

switch stack-member-number priority new-priority-value

Thanks

MHM