05-27-2019 01:36 PM
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
05-27-2019 02:24 PM
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:
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.
Note: You must remove the specified switch from the switch stack before you use this command in order to delete a provisioned configuration.
Regards
10-10-2022 11:26 AM - edited 10-10-2022 11:27 AM
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
10-10-2022 11:42 AM
This is expected and normal. The line "switch 1 provision c9300-24s" will be added automatically no matter of your configs.
05-27-2019 06:26 PM
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.
05-23-2021 07:32 AM
I had same problem and it worked for me.
05-23-2021 09:33 AM
Nice to know it works.
12-09-2020 08:57 AM
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
04-06-2021 09:14 PM
"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.
09-09-2024 08:44 AM
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.
12-09-2020 11:12 AM
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)
10-01-2023 11:06 PM
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.
05-13-2024 02:48 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide