Use Case 2: Replacing a switch in a stack

A stack maintains the MAC address of all member switches in its configuration. This is to enable the stack to reform quickly upon reboot. In the event a failed switch needs to be replaced in the stack, the replacement switch will be considered as a new switch joining the stack, and will be assigned an unused member and a default configuration.
Switch# show vsf
VSF Domain ID    : 164423
MAC Address      : b05ada-96f043
VSF Topology     : Chain
VSF Status       : Fragment Active
Uptime           : 0d 10h 30m
VSF MAD          : None
VSF Port Speed   : 1G
Software Version : WC.16.03.0003

Mbr
ID  MAC Address       Model                                  Pri Status
--- ----------------- -------------------------------------- --- ---------------
  1  b05ada-962160     Aruba JL253A 2930F-24G-4SFP+ Switch    128 Missing
 *2  b05ada-96f040     Aruba JL253A 2930F-24G-4SFP+ Switch    250 Commander
  3  b05ada-973680     Aruba JL262A 2930F-48G-PoE+-4SFP Sw... 250 Standby
  4  b05ada-963860     Aruba JL261A 2930F-24G-PoE+-4SFP Sw... 128 Member

In the above stack, member 1 has failed, and needs to be replaced. A replacement switch with the same model number (JL253A) will not take on the role of the switch it replaced, because the MAC address of the replacement switch will be different from the switch that it replaces.

To enable the configuration to assimilate the replacement switch as member 1 in the stack, the MAC address needs to be cleared. Use the CLI command vsf member 1 type JL253A. This will retain all configuration made on member 1 and remove only the MAC address. After the command is executed, the output of show vsf will be as follows:
VSF Domain ID    : 164423
MAC Address      : b05ada-96f043
VSF Topology     : Chain
VSF Status       : Fragment Active
Uptime           : 0d 10h 34m
VSF MAD          : None
VSF Port Speed   : 1G
Software Version : WC.16.03.0003

Mbr
ID  MAC Address       Model                                  Pri Status
--- ----------------- -------------------------------------- --- ---------------
  1                    Aruba JL253A 2930F-24G-4SFP+ Switch    128 Provisioned
 *2  b05ada-96f040     Aruba JL253A 2930F-24G-4SFP+ Switch    250 Commander
  3  b05ada-973680     Aruba JL262A 2930F-48G-PoE+-4SFP Sw... 250 Standby
  4  b05ada-963860     Aruba JL261A 2930F-24G-PoE+-4SFP Sw... 128 Member

Subsequently, any switch model under JL253A, which is connected to the stack, will be assigned member 1 configuration and role.