cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
93879
Views
118
Helpful
8
Replies

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

Thomas Reiling
Level 1
Level 1

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,

Thomas

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

Example:

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.

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_example09186a00807811ad.shtml

HTH,

-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
Hall of Fame
Hall of Fame

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.

smogra
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

Sweta.

P.S. Please rate the helpful answers.

Andrew Khalil
Spotlight
Spotlight

Hello Thomas,

Gretings,

 

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

 

/Removed/

Niginkk822009
Level 1
Level 1

 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

Niginkk822009
Level 1
Level 1

 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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco