Removing a switch from an existing stack

  • 1
  • Question
  • Updated 3 weeks ago
Is there a procedure to follow to remove switches from an existing stack?
Photo of Robert Lowe

Robert Lowe

  • 197 Posts
  • 46 Reply Likes

Posted 4 weeks ago

  • 1
Photo of Edrei Rodriguez

Edrei Rodriguez, Employee

  • 4 Posts
  • 4 Reply Likes

To remove a unit from the stack, disconnect the cables from the stacking ports. This can be done whether the units are powered on or powered off. When you remove a unit that is powered on, it is still in stacking-enabled mode. To remove the stacking files, enter the stack unconfigure me or stack unconfigure clean command.

The "stack unconfigure me" command returns a unit to the state it had before joining a stack and recovers its startup configuration. The stack unconfigure clean command removes the unit's startup configuration. When you issue either command, the unit operates as a standalone unit once it reboots.

When a unit is removed from a stack, the active controller deletes the unit configuration if it has been dynamically learned.
Photo of Robert Lowe

Robert Lowe

  • 197 Posts
  • 46 Reply Likes
Hi Edrei, thanks for the guidance. Right now i have 2 switches of a 6 switch stack turned off. I want to remove them but when i query the stack with 'show stack' it tells me the two switches are in 'standby'. So it still knows about them. So if i disconnect the cables and loop the switch 4 back to switch 1 to compete the 4 switch stack, will the switch config adjust itself to now only see a 4 switch stack and remove any reference to the 2 removed switches?
Photo of William Hadley

William Hadley, Employee

  • 5 Posts
  • 3 Reply Likes
You can unconfigure a unit member by issuing a stack unconfigure (unit number). So below would be unit 4

stack unconfigure 4.