Enterprise AV Home WiFi Mobile Wifi Support Shop Deals

You can preconfigure (supply a configuration to) a new switch before it joins the switch stack.You can specify the stack member number, the switch type, and the interfaces associated with a switch that is not currently part of the stack.

Note: If you are replacing a switch with the same model in the same position in the stack, you do not need to preconfigure it. The new switch assumes the same configuration as the previous switch.

  1. Issue the member <unit-id> <switchindex> command. To view the supported unit types, use the show supported switchtype command.
  2. Next, configure the unit you just defined with configuration commands, just as if the unit were physically present.

    Ports for the preconfigured unit come up in a detached state.
     
  3. To see the ports, use the show port all command. Now you can configure the detached ports for VLAN membership and any other port-specific configuration.

After you preconfigure a unit type for a specific unit number, attaching a unit with different unit type for this unit number causes the switch to report an error. The show switch command indicates config mismatch for the new unit and the ports on that unit don’t come up. To resolve this situation, you can change the unit number of the mismatched unit or delete the preconfigured unit type using the no member <unit-id> command.

When you add a preconfigured switch to the switch stack, the stack applies either the preconfigured configuration or the default configuration.

For more information see the What are switch stack configuration files and how do they work with my managed switch?

The following table lists the events that occur when the switch stack compares the preconfigured configuration with the new switch.

 Switch Type Is the Same  Stack Member Number  Result
 Yes  Is the same.  The switch stack applies configuration to the preconfigured new switch and adds it to the stack.
 Yes

 Does not match.

  • The switch stack applies its default stack member number to the preconfigured switch and adds it to the stack.
  • The stack member number configuration in the preconfigured switch changes to reflect the new information.
   Is not found in the stack configuration.
  • The switch stack applies the default configuration to the new switch and adds it to the stack.
  • The preconfigured information is changed to reflect the new information.
   Is not found in the preconfigured switch.  The switch stack applies the default configuration to the preconfigured switch and adds it to the stack.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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
Last Updated:07/07/2025 | Article ID: 21906

Our team is here to help!

Phone
Chat
Email