Adding to a stack, or moving switches between stacks (CLI)

You can add switches to a stack by adding discovered Candidates or by moving switches from other stacks that may exist in the same subnet.


[NOTE: ]

NOTE: You cannot add a Candidate that the Commander has not discovered.


In its default configuration, the Commander's Auto-Grab parameter is set to No to give you manual control over which switches join the stack and when they join. This prevents the Commander from automatically trying to add every Candidate it finds that has Auto Join set to Yes (the default for the Candidate).

To allow eligible candidates to automatically join the stack when the Commander discovers it, configure Auto Grab in the Commander to Yes. When you do so, any Candidate discovered with Auto Join set to Yes (the default) and no Manager password, will join the stack, up to the limit of 15 Members.

To manually add a candidate, use:

  • A switch number (SN) to assign to the new member. Member SNs range from show stack view. You can use any SN not included in the listing. (SNs are viewable only on a Commander switch.)

  • The MAC address of the discovered Candidate you are adding to the stack; to see the MAC address, use show stack view.

Finding switch numbers (SNs)

To display all discovered Candidates with their MAC addresses, use the show stack candidates command from the Commander CLI. For example, to list discovered candidates for the above Commander:

Finding MAC addresses

Knowing the available switch numbers (SNs) and Candidate MAC addresses, you can manually assign a Candidate to be a Member of the stack:

Syntax:

stack member <switch-number> mac-address <mac-addr> [ password <password-str>]

For example, if the switch in the above output did not have a Manager password and you want to make it a stack Member with an SN of 2, use the following command:

HP Switch(config)#: stack member 2 mac-address 0060b0-dfla00

Using show stack view then shows the added Member (see Displaying the stack after adding a new member.

Displaying the stack after adding a new member