Replacing a faulty member without losing the configuration
You can replace a faulty member from the stack without affecting the switch configuration using the preconfigure command. The following examples show how to replace a faulty member in a three member stack through two ways:
with MAC address:
switch# show stack Stack ID : 00011060-4bb60b00 MAC Address : 10604b-b60b0b Stack Topology : Ring Stack Status : Fragment Active Split Policy : One-Fragment-Up Uptime : 0d 0h 27m Software Version : KA.15.13.0013 Mbr ID Mac Address Model Pri Status --- ------------- -------------------------------------- --- --------------- 1 10604b-b60b00 HPE J9574A 3810-48G-PoE+-4SFP+ Switch 128 Commander 2 10604b-b64d40 HPE J9573A 3810-24G-PoE+-2SFP+ Switch 128 Standby 3 843497-020cc0 HPE J9587A 3810-24G-PoE+-2XG Switch 128 Member
In this example, member-3 is physically removed from the stack. The stack status shows member-3 as "Missing".switch(config)# show stack Stack ID : 00011060-4bb60b00 MAC Address : 10604b-b60b0b Stack Topology : Chain Stack Status : Fragment Active Split Policy : One-Fragment-Up Uptime : 0d 0h 33m Software Version : KA.15.13.0013 Mbr ID Mac Address Model Pri Status --- ------------- -------------------------------------- --- --------------- 1 10604b-b60b00 HPE J9574A 3810-48G-PoE+-4SFP+ Switch 128 Commander 2 10604b-b64d40 HPE J9573A 3810-24G-PoE+-2SFP+ Switch 128 Standby 3 843497-020cc0 HPE J9587A 3810-24G-PoE+-2XG Switch 128 Missing
The MAC address of member-3 is changed by using another member of the same J-number as member-3 (whose MAC address is “843497-029b40”). Use the preprovisioning command to change the MAC address of member-3.switch(config)# stacking member 3 type J9587A mac-address 843497-029b40 This will save the current configuration. Continue [y/n]? y switch(config)# show stack Stack ID : 00011060-4bb60b00 MAC Address : 10604b-b60b0b Stack Topology : Chain Stack Status : Fragment Active Split Policy : One-Fragment-Up Uptime : 0d 0h 33m Software Version : KA.15.13.0013 Mbr ID Mac Address Model Pri Status --- ------------- -------------------------------------- --- --------------- 1 10604b-b60b00 HPE J9574A 3810-48G-PoE+-4SFP+ Switch 128 Commander 2 10604b-b64d40 HPE J9573A 3810-24G-PoE+-2SFP+ Switch 128 Standby 3 843497-029b40 HPE J9587A 3810-24G-PoE+-2XG Switch 128 Not Joined
You can see that the “Missing” member is provisioned with the new mac-address without affecting any of the member-3 configurations. In this example, the new unit is connected to the stack and powered ON. The unit boots up and joins as member-3. All the configuration related to member-3 is kept intact and applied.switch(config)# show stack Stack ID : 00011060-4bb60b00 MAC Address : 10604b-b60b0b Stack Topology : Ring Stack Status : Active Split Policy : One-Fragment-Up Uptime : 0d 0h 33m Software Version : KA.15.13.0013 Mbr ID Mac Address Model Pri Status --- ------------- -------------------------------------- --- --------------- 1 10604b-b60b00 HPE J9574A 3810-48G-PoE+-4SFP+ Switch 128 Commander 2 10604b-b64d40 HPE J9573A 3810-24G-PoE+-2SFP+ Switch 128 Standby 3 843497-029b40 HPE J9587A 3810-24G-PoE+-2XG Switch 128 Member
without MAC address:
In this example, the MAC address of the faulty member is dropped instead of changing (which is in “Missing” state).switch(config)# stacking member 3 type J9587A This will save the current configuration. Continue [y/n]? y switch(config)# show stack Stack ID : 00021060-4bb60b00 MAC Address : 10604b-b60b0a Stack Topology : Chain Stack Status : Fragment Active Split Policy : One-Fragment-Up Uptime : 0d 0h 29m Software Version : KA.15.13.0013 Mbr ID Mac Address Model Pri Status --- ------------- -------------------------------------- --- --------------- 1 10604b-b60b00 HPE J9574A 3810-48G-PoE+-4SFP+ Switch 128 Commander 2 8851fb-cdd3c0 HPE J9575A 3810-24G-2SFP+ Switch 128 Member 3 HPE J9587A 3810-24G-PoE+-2XG Switch 128 Not Joined
The new unit (of the same type) is connected to the stack and powered ON. The unit boots up and joins as member-3. All the configuration related to member-3 is kept intact and applied.switch(config)# show stack Stack ID : 00011060-4bb60b00 MAC Address : 10604b-b60b0b Stack Topology : Ring Stack Status : Active Split Policy : One-Fragment-Up Uptime : 0d 0h 33m Software Version : KA.15.13.0013 Mbr ID Mac Address Model Pri Status --- ------------- -------------------------------------- --- --------------- 1 10604b-b60b00 HPE J9574A 3810-48G-PoE+-4SFP+ Switch 128 Commander 2 10604b-b64d40 HPE J9573A 3810-24G-PoE+-2SFP+ Switch 128 Standby 3 843497-029b40 HPE J9587A 3810-24G-PoE+-2XG Switch 128 Member
NOTE:
Use the command
stack member <id> remove reboot
to reboot a stack when a stack member is in inconsistent state, and when a failure is also detected.