cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
36207
Views
55
Helpful
12
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

12 Replies 12

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.

Thank you, Aureliano1223.  Resolved.  I was working on this for hours searching the internet and Cisco Community...also reworded the question a few times and found the answer. Lol.  

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.

sentil-vel
Level 1
Level 1

 

Thanks It works!!!

Please dont try configuration mode. I have resolved my issue.
Before :

*May 13 09:29:30.117: %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to administratively down
*May 13 09:29:30.972: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
*May 13 09:29:31.061: %LINK-3-UPDOWN: Interface GigabitEthernet3/1/1, changed state to down
*May 13 09:29:31.062: %LINK-3-UPDOWN: Interface GigabitEthernet3/1/2, changed state to down
*May 13 09:29:31.062: %LINK-3-UPDOWN: Interface GigabitEthernet3/1/3, changed state to down

Switch(config)#switch 3 re?
% Unrecognized command
Switch(config)#switch 3
% Incomplete command.

After :

Switch#switch 3 renumber 1
WARNING: Changing the switch number may result in a configuration change for that switch. The interface configuration associated with the old switch number will remain as a provisioned configuration. New Switch Number will be effective after next reboot. Do you want to continue?[y/n]? [yes]: y
Switch#wr
[OK]Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]y
*May 13 09:41:18.745: %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to administratively down
*May 13 09:41:19.598: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
*May 13 09:41:19.686: %LINK-3-UPDOWN: Interface GigabitEthernet1/1/1, changed state to down
*May 13 09:41:19.686: %LINK-3-UPDOWN: Interface GigabitEthernet1/1/2, changed state to down
*May 13 09:41:19.688: %LINK-3-UPDOWN: Interface GigabitEthernet1/1/3, changed state to down
*May 13 09:41:19.688: %LINK-3-UPDOWN: Interface GigabitEthernet1/1/4, changed state to down

Review Cisco Networking for a $25 gift card