The configuration files record settings for all global and interface-specific settings that define the operation of the stack and individual members. Once a save config command is issued, all stack members store a copy of the configuration settings. If a stack master becomes unavailable, any stack member assuming the role of stack master will operate from the saved configuration files.
When a new, out-of-box switch joins a switch stack, it uses the system-level settings of that switch stack. However, if you want it to store this system level configuration, you must issue a save config command.
You back up and restore the stack configuration using the copy command the same way that you would for standalone switch configuration.
For more information see the How do I preconfigure a switch on my managed switch?
The following table provides switch stack configuration scenarios. Most of the scenarios assume at least two switches are connected through their stacking ports.
| Scenario | Action | Result |
| Stack master election specifically determined by existing stack masters. Note: This is not recommended. |
Connect two powered-on switch stacks through the stacking ports. | Only one of the stack masters becomes the new stack master. No other stack members become the stack master. |
| Stack master election specifically determined by the stack member priority value. |
|
The stack member with the higher-priority value is elected stack master. |
| Stack master election specifically determined by the MAC address. | Assuming that both stack members have the same priority value and firmware image, restart both stack members at the same time. | The stack member with the higher MAC address is elected stack master. |
| Add a stack member. |
|
The stack master is retained. The new switch is added to the switch stack. |
| Stack master failure. | Remove (or power off) the stack master. | One of the remaining stack members becomes the new stack master. All other members in the stack remain stack members and do not reboot. |
This article applies to the following managed switches and their respective firmware:
- M5300 - firmware version 10.0.0.x
-
- M5300-28G (GSM7228S)
- M5300-5G (GSM7252S)
- M5300-28G3 (GSM7328Sv2h2)
- M5300-52G3 (GSM7352Sv2h2)
- M5300-28G_POE+ (GSM7228PSv1h2)
- M5300-52G-POE+ (GSM7252PSv1h2)
- M5300-28GF3 (GSM7328FSv2)
- XSM7224S - firmware version 9.0.1.x