cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
69182
Views
7
Helpful
2
Replies

Changing the master switch in a stack

rasmus.elmholt
Level 7
Level 7

Hi

 

I have a stack of 2 Cat9200 switch and when they booted switch 2 became the master.

How do I change this without any downtime?

 

SW-1#show switch
Switch/Stack Mac Address : ****.****.**** - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
-------------------------------------------------------------------------------------
1 Standby ****.****.***0 10 V01 Ready
*2 Active ****.****.***1 1 V02 Ready

1 Accepted Solution

Accepted Solutions

luis_cordova
VIP Alumni
VIP Alumni

Hi @rasmus.elmholt,

 

Unfortunately, every change of active switch needs a reset of the switchs:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9200/software/release/16-10/configuration_guide/stck_mgr_ha/b_1610_stck_mgr_ha_9200_cg/managing_switch_stacks.html#concept_j2w_shc_31b

Switch Stack Configuration Scenarios

Most of these switch stack configuration scenarios assume that at least two devices are connected through their StackWise ports.

Table 2. Configuration ScenariosScenarioResult

Active switchelection specifically determined by existing active switches

Connect two powered-on switch stacks through the StackWise ports.

Only one of the two active switchesbecomes the new active switch.

Active switchelection specifically determined by the stack member priority value

  1. Connect two switches through their StackWise ports.

  2. Use the switch stack-member-number priority new-priority-number command to set one stack member with a higher member priority value.

  3. Restart both stack members at the same time.

The stack member with the higher priority value is elected active switch.

Active switchelection specifically determined by the configuration file

Assuming that both stack members have the same priority value:

  1. Make sure that one stack member has a default configuration and that the other stack member has a saved (nondefault) configuration file.

  2. Restart both stack members at the same time.

The stack member with the saved configuration file is elected active switch.

Active switchelection specifically determined by the MAC address

Assuming that both stack members have the same priority value, configuration file, and license level, restart both stack members at the same time.

The stack member with the lower MAC address is elected active switch .

 

Regards

View solution in original post

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

you need to set a priority so the switch 1 always become master

below command help you to change prioty ( make switch 1 as 15 and Switch 2 14)

 

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

luis_cordova
VIP Alumni
VIP Alumni

Hi @rasmus.elmholt,

 

Unfortunately, every change of active switch needs a reset of the switchs:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9200/software/release/16-10/configuration_guide/stck_mgr_ha/b_1610_stck_mgr_ha_9200_cg/managing_switch_stacks.html#concept_j2w_shc_31b

Switch Stack Configuration Scenarios

Most of these switch stack configuration scenarios assume that at least two devices are connected through their StackWise ports.

Table 2. Configuration ScenariosScenarioResult

Active switchelection specifically determined by existing active switches

Connect two powered-on switch stacks through the StackWise ports.

Only one of the two active switchesbecomes the new active switch.

Active switchelection specifically determined by the stack member priority value

  1. Connect two switches through their StackWise ports.

  2. Use the switch stack-member-number priority new-priority-number command to set one stack member with a higher member priority value.

  3. Restart both stack members at the same time.

The stack member with the higher priority value is elected active switch.

Active switchelection specifically determined by the configuration file

Assuming that both stack members have the same priority value:

  1. Make sure that one stack member has a default configuration and that the other stack member has a saved (nondefault) configuration file.

  2. Restart both stack members at the same time.

The stack member with the saved configuration file is elected active switch.

Active switchelection specifically determined by the MAC address

Assuming that both stack members have the same priority value, configuration file, and license level, restart both stack members at the same time.

The stack member with the lower MAC address is elected active switch .

 

Regards