Showing results for 
Search instead for 
Did you mean: 

How Do I Remove All Stack Configuration from 3750's?

Thomas Reiling

I had two 3750's stacked and now I want to have each on of them as a standalone switch.  I removed the Stackwise cable but each time they boot up separately now they think they still should be part of the original stack. 

How can I remove all stack configurations from each one?

Thank you,


8 Replies 8

Amit Singh
Cisco Employee
Cisco Employee

Hi Thomas,

You don't need to to erase the configuration - you can just switch off  the stack member you wish to remove, and then unprovision it using the  command:

no switch provision


To remove switch number 2 from a stack. The model number of the switch  is WS-C3750G-48T:

3750(config)# no switch 2 provision ws-c3750g-48t

3750(config)# exit

3750# write memory

Please check this.


-amit singh

I have this same issue, tried the commands listed and received this as a result:


%Switch can not be un-provisioned when it is physically present

Leo Laohoo
VIP Community Legend VIP Community Legend
VIP Community Legend

Console into switch #2 and do the following:

1.  switch 2 renumber 1

2.  Delete config.text and vlan.dat files.  Don't forget to delete the backup files too.

Cisco Employee
Cisco Employee

If a switch stack runs Cisco IOS Release  12.2(20)SE or later and you remove a provisioned switch from the switch  stack, the configuration associated with the removed stack member  remains in the running configuration as provisioned information. In  order to delete all configuration information associated with the  removed switch (a stack member that has left the stack), apply the no switch provision command in global configuration mode.

As mentioned by Amit, use these commands.

3750(config)# no switch 2 provision ws-c3750-48ts
3750(config)# exit
3750# write memory


P.S. Please rate the helpful answers.

Andrew Khalil
Rising star
Rising star

Hello Thomas,



To make each one work separately:

1- we should negate the provision command for switch 2 

To preform that:

3750#show run | include provision

the output will be something like:

switch 1 provision ws-c3750g-24t
switch 2 provision ws-c3750g-24t

now you need to remove the second line:

3750# config ter 

3750(config)# no switch 2 provision ws-c3750g-24t

3750(config)# exit

3750# write memory


2- to delete the current configuration:

3750# write erase

3750# delete flash:vlan.dat

3750# reload


Now it will reboot then work like new! 


Best of luck, 

Please don't forget to rate helpful replies and mark it as a solution! 

Bst Rgds,

Andrew Khalil




 Switch(Config)#no switch 2 provision c9300-48uxm

Switch(Config)#no switch 3 provision c9300-48uxm

Switch(Config)#no switch 4 provision c9300-48uxm

Switch(Config)#no switch 5 provision c9300-48uxm

Switch(Config)#wr mem

Switch(Config)# Reload


 Switch(Config)#no switch 2 provision ws-c3750-48ts

Switch(Config)#no switch 3 provision ws-c3750-48ts

Switch(Config)#no switch 4 provision ws-c3750-48ts

Switch(Config)#no switch 5 provision ws-c3750-48ts

Switch(Config)#wr mem

Switch(Config)# Reload

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers