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.
|
The following table shows the flow for exchanging member switches.
Operation Flow and Description |
Setting object |
---|---|
(1) Check the license and software of member switch A and Switch C.
|
Member Switch A Equipment C (Member Switch C) |
Member Switch B |
|
(3) Switch C is moved to one stack as switch number 2.
|
Equipment C (Member Switch C) |
(4) Configuration settings for member switch C to connect to member switch A
|
Equipment C (Member Switch C) |
(5) Transition to two stacks of member switch A and member switch C
|
- |
Legend:-: Not applicable
- #
-
This operation is not required for models where member switch C 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 C.
Confirm the software license and option license of Switch C to be replaced with the member switch A that is running, and the software version.
If the functionality that is activated by the software license and option license differs between member switch A and Switch C, set the software license and option license on Switch C according to member switch A. If the software version differs between the member switch A and Switch C, update the software version of Switch C to the same software version as the member switch A and match it.
- [Procedure]
1. > show license Switch 1 (Master) ----------------- 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) Switch 2 (Backup) ----------------- Date 20XX/10/26 12:00:00 UTC Available: SL-L3L-004 Serial Number Licensed software 1500-1234-0009-0000 SL-L3L-004(AX-P3660-G8)
Check the software and optional licenses on member switch A.
2. > show version software Switch 1 (Master) ----------------- Date 20XX/10/26 12:01:00 UTC S/W: OS-L3M Ver. 12.0 Switch 2 (Backup) ----------------- 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 C. Make sure that the software and option licenses for member switch A confirmed in step 1 are the same as the features that are activated.
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 C. Make sure that it is the same as the version of the member switch A software that you checked in step 2.
(2) Stopping member switch B
Log in to member switch B and stop member switch B.
[Procedure]
-
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
-
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.
When stack enable command is set, the following configurations are automatically set at the same time:
-
no service ipv6 dhcp
-
Command examples
-
# set switch 2
# configure
Set the switch number to 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.
-
(config)# save
(config)# exit
Saves the configuration and returns to administrator mode from configuration command mode.
-
# 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
-
(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 C (switch number 2).
-
(config)# switch 2 priority 1
Sets the master election priority of member switch C (switch number 2) to 1.
-
(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]
-
Connect member switch A to the stacking port of member switch C.
-
# 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.