Configuration Guide Vol. 1


8.1.3 Adding a member switch

As shown in the following figure, add standalone Switch B to a stack consisting of a single member switch A.

Figure 8-2: Adding a member switch

[Figure Data]

The following table describes how to add a member switch.

Table 8-4: Procedure for adding a member switch

Operation Flow and Description

Setting object

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

  • Verifying Software and Optional Licenses

  • Checking the software version

Member Switch A

Equipment B

(member switch B)

(2) Configuring Member Switch B Configuration

  • Setting the model of member switch B

  • Set member switch B stack port #1

  • Setting the master election priority of member switch B

Member Switch A

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

  • Setting the Switch Number

  • Configuring Stack Features

  • Device restart

Equipment B

(member switch B)

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

  • Stack port setting #2

  • Set master election priority (set to 1)

Equipment B

(member switch B)

(5) Migrating to two stacks, member switch A and member switch B

  • Stacking port connections

-

Legend:-: Not applicable

Note #1

When the member switch B is a model that implements a stack-only port, if the member switch B model is set while the stack function is running, the configuration of the corresponding Ethernet interface is automatically created as if the stack port was set for the member switch B stack-only port. Therefore, this operation is not required.

Note #2

This operation is not required for models in which member switch B implements a stack-only port.

When the Switch is restarted after the stack functionality is set, the Switch starts with the Ethernet interface (stack-only port) set as the stack port for the running configuration reflected.

<Structure of this section>

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

Check the active member switch A, the software license and option license of the Switch B to be added, and the software version.

If the functions that are activated by the software license and the optional license differ between member switch A and Switch B, reconfigure the software license and the optional license of Switch B to match the member switch A. If the software version differs between the member switch A and Switch B, update the software of Switch B to the same software version as the member switch A and match it.

[Procedure]
1. > show license
   Date 20XX/10/26 12:00:00 UTC
     Available: SL-L3L-004
       Serial Number        Licensed software
       1500-abcd-0009-0000  SL-L3L-004(AX-P3660-G8)

Check the software and optional licenses on member switch A.

2. > show version software
   Date 20XX/10/26 12:01:00 UTC
   S/W: OS-L3M Ver. 12.0

Check the software version on member switch A.

3. > show license
   Date 20XX/10/26 13:00:00 UTC
     Available: SL-L3L-004
       Serial Number        Licensed software
       1500-1234-0009-0000  SL-L3L-004(AX-P3660-G8)

Check the software license and optional license on Switch B. Make sure that it is the same as the member switch A you checked in step 1.

4. > show version software
   Date 20XX/10/26 13:01:00 UTC
   S/W: OS-L3M Ver. 12.0

Check the software version on Switch B. Make sure that it is the same as the version of the member switch A software that you checked in step 2.

(2) Configuring Member Switch B Configuration

Sets the configuration of member switch B to be added to member switch A. Note that the configuration of the stack port and the master election priority shown below is set for member switch A.

switch 1 priority 20
!
interface hundredgigabitethernet 1/0/49
  switchport mode stack
!
interface hundredgigabitethernet 1/0/50
  switchport mode stack
Points to note

The configuration of member switch B, which is the backup switch, is synchronized with the configuration of member switch A, which is the master switch. For this reason, the following configuration must be set for member switch A:

  • Model of member switch B

  • Stacking port on member switch B

  • Master election priority of member switch B

When a member switch B model is set, the configuration of the Ethernet interface corresponding to the specified model is automatically created. Also, set the master election priority of member switch B to a value smaller than member switch A so that member switch B becomes the backup switch.

Command examples

  1. (config)# switch 2 provision 3660-48xt4qw

    Set the model of the device you plan to use as member switch B. Here, the modelsare set in AX3660S-48XT4QW.

  2. (config)# interface hundredgigabitethernet 2/0/49

    (config-if)# switchport mode stack

    (config-if)# exit

    (config)# interface hundredgigabitethernet 2/0/50

    (config-if)# switchport mode stack

    (config-if)# exit

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

  3. (config)# switch 2 priority 10

    Sets the master election priority of member switch B (switch number 2) to 10.

  4. (config)# save

    (config)# exit

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

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

Set the Switch number of Switch B to 2 to enable the stack function.

Points to note

Set the switch number of Switch B 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.

When stack enable command is set, the following configurations are automatically set at the same time:

  • no service ipv6 dhcp

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 B to connect to member switch A

Sets the minimum configuration for member switch B to connect to member switch A and configure the stack.

Points to note

Set the master election priority of member switch B to 1 so that member switch B 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 hundredgigabitethernet 2/0/49

    (config-if)# switchport mode stack

    (config-if)# exit

    (config)# interface hundredgigabitethernet 2/0/50

    (config-if)# switchport mode stack

    (config-if)# exit

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

  2. (config)# switch 2 priority 1

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

  3. (config)# save

    (config)# exit

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

(5) Migrating to two stacks, member switch A and member switch B

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

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

After reboot, member switch B will automatically reboot 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 B is the backup switch.

[Procedure]

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

  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 B is the backup switch.