How do you clean up stacking config and port info after a stack member has been removed?
After removing a stack member by logging into the master node - and running "unconfigure stacking" {node address or slot number} then "reboot" {node address or slot number}.
The stack member you chose to remove will reboot and return to factory defaults. However the master node still "thinks" there is a stack member and shows all ports as being present - present and disabled.
The status of the master (in this case originally a 2 stack) when a show "stacking" is run - you see that it has "stacking enabled - master"
Many thanks Henrique (and Brandon)...................................................................................
This is was how it was configured.
Slot-1 XXXXXSW01.2 # sh slotSlots Type Configured State Ports
--------------------------------------------------------------------
Slot-1 X440-24p X440-24p Operational 24
Slot-2 X440-24p Empty 24
Slot-3 Empty 0
...................................................................................................
And now no slot info at all. Config is also without phantom ports.