cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
30115
Views
50
Helpful
10
Replies

remove cat 9300 from stack

nflnetwork
Level 1
Level 1

how do i remove a switch from the stack and return it to standalone config ?

 

current config
switch 2 provision c9300-48uxm

 

i tried 

Switch(config)#no switch 2 provision ?
<cr> <cr>

Switch(config)#no switch 2 provision
Error: A switch is already physically present at this location

10 Replies 10

luis_cordova
VIP Alumni
VIP Alumni

Hi @nflnetwork ,

 

Check this discussion of the community:

 

The procedures/steps should be similar to other platforms like 3750

 

Complete these steps in order to remove a switch:

 

  1. Power off the new stack member to be removed.       
  2. Remove the StackWise cable from the switch.   

    Note: The switch stack operation continues uninterrupted during membership changes unless the stack master is removed or powered-on standalone switches or switch stacks are added.

  3. Issue the command no switch stack-member-number provision command.       

Note: You must remove the specified switch from the switch stack before you use this command in order to delete a provisioned configuration.

 

https://community.cisco.com/t5/networking-documents/how-to-add-and-remove-a-cisco-catalyst-3750-switch-from-the/ta-p/3126255

 

Regards

I wonder why it is not working for me?

This switch used to be on a stack but was removed from it after the location lost power and a relocation was necessary.

The switch now is intended to be a standalone switch but the Stack messages will not go away.

This is the device and system details:

 

Switch Ports Model              SW Version        SW Image              Mode   
------ ----- -----              ----------        ----------            ----   
*    1 41    C9300-24S          17.03.05          CAT9K_IOSXE           INSTALL

 

Here is the Stack information:

 

Switch#show switch
Switch/Stack Mac Address : aaaa.bbbb.cccc - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
-------------------------------------------------------------------------------------
*1       Active   aaaa.bbbb.cccc     1      V01     Ready

 

And this is what happens when I tried to stop this one switch from being a "stack".

 

Switch#show run | include provision
switch 1 provision c9300-24s

Switch(config)#no switch 1 provision c9300-24s
 Error: A switch is already physically present at this location

 

 

This is expected and normal. The line "switch 1 provision c9300-24s" will be added automatically no matter of your configs.

balaji.bandi
Hall of Fame
Hall of Fame

if the only switch it is in the stack(it is not stack, since standalone switch)

 

do below steps :

 

#switch 2 renumber 1 ( ask to confirm, Press Y )

save the config

reload and test.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I had same problem and it worked for me.

Nice to know it works.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi All

 

I tried both:

no switch stack-member-number provision command. 

and 

switch stack-member-number renumber command. 

But no successes......only provision commnad is available.

 

I really don't know how I can change the SW number or priority.

 

Regards

"renumber" command available in privileged exec mode (enable mode, NOT config terminal mode), while "provision" is global configuration mode command (config terminal). renumber command will take effect only after reloading.

balaji.bandi
Hall of Fame
Hall of Fame

what is the model of switch and what version of code running.

 

SW number or priority. do in the # prompt not config t prompt. ( do not forget to write)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

chritiangar
Level 1
Level 1

If you have one switch showing a stack, simply remove the CLI configuration for it:

switch 1 provision c9300-48p
no switch 2 provision c9300-48p
exit

Next, use the 'show inv' command to look for the switch model:

config t
switch 1 provision c9300-48p
?

After identifying the correct model, save your configuration and reload the switch. Make sure the switch is not in production and wait for the appropriate maintenance window to perform the reload.

Review Cisco Networking products for a $25 gift card