Configuration Guide Vol. 1


8.1.6 Replacing a member switch

As shown in the following figure, in a stack consisting of a member switch A acting as a master switch and a member switch B acting as a backup switch, member switch B is replaced with a member switch C.

Figure 8-5: Replacing a member switch

[Figure Data]

The following table shows the flow for exchanging member switches.

Table 8-7: Flow of switching member switches

Operation Flow and Description

Setting object

(1) Check the license and software of member switch A and Switch C.

  • Verifying Optional Licenses

  • Checking the software version

Member Switch A

Equipment C

(Member Switch C)

(2) Stopping member switch B

Member Switch B

(3) Switch C is moved to one stack as switch number 2.

  • Setting the Switch Number

  • Configuring Stack Features

  • Device restart

Equipment C

(Member Switch C)

(4) Configuration settings for member switch C to connect to member switch A

  • Stack port settings

  • Set master election priority (set to 1)

Equipment C

(Member Switch C)

(5) Transition to two stacks of member switch A and member switch C

  • Stacking port connections

-

Legend:-: Not applicable

<Structure of this section>

(1) Check the license and software of member switch A and Switch C.

Use the operation command to check whether the active member switch A, the option license for Switch C to be replaced, and the version of the software satisfy the conditions for the stack. For details about the conditions, see 7.2.3 Stack configuration conditions.

[Procedure]
  1. Check the optional licensing with show license command on member switch A.

  2. Check the software version with show version software command on member switch A.

  3. Check the optional licensing by show license command on Switch C.

  4. Check the software version with show version software command on Switch C.

(2) Stopping member switch B

Log in to member switch B and stop member switch B.

[Procedure]

  1. 02B> reload stop

    Terminate member switch B.

    You can also stop member switch B from member switch A, which is the master switch. In this case, log in to member switch A and execute the following command.

    > reload switch 2 stop
  2. Turn off the power of member switch B to delete the switch from a stack configuration.

(3) Switch C is moved to one stack as switch number 2.

Set the switch number of Switch C to 2 to enable the stack function.

Points to note

Set the switch number of Switch C to 2. You must then use stack enable command. Then, you must restart the Switch. Therefore, make settings before starting operation. If stack enable command is set, all configurations cannot be changed until the Switch is restarted.

Command examples

  1. # set switch 2

    # configure

    Set the switch number to 2.

  2. (config)# stack enable

    After this command execute, please save configuration editing now in startup-config, and please reboot a device.

    Do you wish to continue ? (y/n):

    Configure the settings to operate on the stack. Enter y for the configuration change confirmation message.

  3. (config)# save

    (config)# exit

    Saves the configuration and returns to administrator mode from configuration command mode.

  4. # reload

    Restarts the Switch. After rebooting, the Switch operates as a member switch for a single stack.

(4) Configuration settings for member switch C to connect to member switch A

Set the minimum configuration for member switch C to connect to member switch A and configure the stack.

Points to note

Set the master election priority of member switch C to 1 so that member switch C does not operate as a master switch even if member switch A restarts due to a failure or other reason when it is connected to member switch A.

The configuration set here is replaced by the configuration set by member switch A, which is the master switch.

Command examples

  1. (config)# interface tengigabitethernet 2/0/29

    (config-if)# switchport mode stack

    (config-if)# exit

    (config)# interface tengigabitethernet 2/0/30

    (config-if)# switchport mode stack

    (config-if)# exit

    Sets the stack port on the Ethernet interface of member switch C (switch number 2).

  2. (config)# switch 2 priority 1

    Sets the master election priority of member switch C (switch number 2) to 1.

  3. (config)# save

    (config)# exit

    Saves the configuration and returns to administrator mode from configuration command mode.

(5) Transition to two stacks of member switch A and member switch C

A member switch A operating as a member switch of a single stack and a member switch C stack port are connected to move to a two-member stack.

Because the master election priority of member switch C is 1, member switch A continues to operate as the master switch, and member switch C automatically restarts.

After reboot, member switch C automatically reboots to synchronize with the configuration of member switch A. Then it operates in a stacked configuration where member switch A is the master switch and member switch C is the backup switch.

[Procedure]

  1. Connect member switch A to the stacking port of member switch C.

  2. # show switch detail

    Execute the operation command show switch detail to confirm that member switch A is running on the stack that is the master switch and member switch C is the backup switch.