Cisco Stacking – How to Remove Switch Provisioning from Individual Switches

ciscostackingswitch

I've been given two switches to work on, which separately have been used in a stack previously. One switch for one stack, and one switch for another st.ack in a different building. So they're not related.

First switch

switch 1 provisioning

Second switch

switch 2 provisioning

As these switches are not related to eachother from a previous stack, how I do remove the switch provisioning for each switch? If I were to attempt to remove the setting, it comes to back to say that it can't be done whilst the switch is present.

The first switch appears to be a master, with the other switch being the slave. Is there a config file that stores the settings for this? I've cleared the startup-configuration but this still remains.

Would I have to connect them both with stacking cables to create a stack first before I can deactivate the setting? These switches will be used individually in the future, so this is why I want the stack removed altogether.

Please advise.

Thanks.

Best Answer

You need to un-provision the removed switch(es) and renumber the current one to be the 1st switch.

Your two switches are now standalone switches. In fact, each of them has turned into a single-switch stack and been acting a role of Active/Master.

To verfiy all previously-provisioned switches and their numbers, issue the commands show run | i provision and show switch.

Below are the sample outputs on a standalone switch which was the 2nd switch of an old two-switch stack (after being broken into two single devices):

#show run | i provision
switch 1 provision ws-c2960x-48lps-l
switch 2 provision ws-c2960x-48lps-l

#show switch
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
 1       Member   0000.0000.0000     0      0       Provisioned
*2       Active   aaaa.bbbb.cccc     15     A0      Ready

Now, the configuration of already-removed switch (1st switch) is still alive on this 2nd switch. You need to unprovision 1st switch, renumber the 2nd switch and reload the switch so it would remove the configuration of already-removed switch and become 1st switch (choose 'Yes' for all questions and save the configuration before reloading it).

    (config)#no switch 1 provision ws-c2960x-48lps-l
    (config)#end
    #switch 2 renumber 1
    #wr
    #reload

I hope it is helpful and answers your question.

Related Topic