Thursday, February 2, 2023

Renumber a Cisco Catalyst 3650 Switch Stack

Here's a link to manually change or renumber a Cisco Catalyst 3650 stack number. This also applies to a Cisco Catalyst 3850 since it has an identical IOS-XE architecture. The switch was removed from a stack and re-purposed as a standalone switch. It remained as logical switch number 4 and the interfaces starts with Gi4/0/x which is quite annoying.


C3650#show inventory

NAME: "c36xx Stack", DESCR: "c36xx Stack"

PID: WS-C3650-24PS     , VID: V03  , SN: FDO20161234

 

NAME: "Switch 4", DESCR: "WS-C3650-24PS-S"

PID: WS-C3650-24PS-S   , VID: V03  , SN: FDO20161234

 

NAME: "Switch 4 - Power Supply A", DESCR: "Switch 4 - Power Supply A"

PID: PWR-C2-640WAC     , VID: V02  , SN: LIT2007ABCD

 

 

C3650#show switch

Switch/Stack Mac Address : e00e.dafd.9123 - Local Mac Address

Mac persistency wait time: Indefinite

                                             H/W   Current

Switch#   Role    Mac Address     Priority Version  State

------------------------------------------------------------

*4       Active   e00e.dafd.9123     1      V03     Ready   

 

 

C3650#show run | i switch

switch 4 provision ws-c3650-24ps

 

 

You can't remove the switch <NUMBER> provisioned <PLATFORM> command. The correct way to revert back is to use the switch <NUMBER> renumber <NUMBER> privileged EXEC command, save and reload the switch.

 

C3650#no s?

% Unrecognized command

 

C3650#configure terninal

Enter configuration commands, one per line.  End with CNTL/Z.

C3650(config)#no switch ?

  <1-9>  Switch Number

 

C3650(config)#no switch 4 ?

  provision  Configure Switch provision / offline config

 

C3650(config)#no switch 4 provision ?

  <cr>

 

C3650(config)#no switch 4 provision   

 Error: A switch is already physically present at this location

 

 

C3650#switch ?

  <1-9>  Switch Number

 

C3650#switch 4 ?

  priority  Set the priority of the specified switch

  renumber  Renumber the specified switch number

  stack     Stack port enable or disable

 

C3650#switch 4 renumber ?

  <1-9>  New number of the Switch

 

C3650#switch 4 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.  Do you want to continue?[y/n]y

 

 

C3650#sh int status    // IT STILL SHOWS AS Gi4/0/x; SAVE AND RELOAD THE SWITCH

 

Port      Name               Status       Vlan       Duplex  Speed Type

Gi4/0/1                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/2                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/3                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/4                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/5                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/6                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/7                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/8                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/9                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/10                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/11                     notconnect   1            auto   auto 10/100/1000BaseTX

         

Port      Name               Status       Vlan       Duplex  Speed Type

Gi4/0/12                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/13                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/14                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/15                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/16                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/17                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/18                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/19                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/20                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/21                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/22                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/23                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/0/24                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi4/1/1                      notconnect   1            auto   auto unknown

Gi4/1/2                      notconnect   1            auto   auto unknown

         

Port      Name               Status       Vlan       Duplex  Speed Type

Gi4/1/3                      notconnect   1            auto   auto unknown

Gi4/1/4                      notconnect   1            auto   auto unknown

 

 

C3650#write memory

*Sep 20 11:30:50.555: %SYS-5-CONFIG_I: Configured from console by console

Building configuration...

Compressed configuration from 2583 bytes to 1369 bytes[OK]

 

C3650#reload

Reload command is being issued on Active unit, this will reload the whole stack

Proceed with reload? [confirm]

 

*Sep 20 11:31:12.422: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload command.

*Sep 20 11:31:13.129: %STACKMGR-1-RELOAD_REQUEST: 4 stack-mgr:  Received reload request for all switches, reason Reload command

*Sep 20 11:31:13.130: %STACKMGR-1-RELOAD: 4 stack-mgr:  Reloading due to reason Reload command

*Sep 20 11:31:13.631: %IOSXE-3-PLATFORM: 4 process sysmgr: Reset/Reload requested by [stack-manager].

<Mon Sep 20 11:31:13 2021> Message from sysmgr: Reason Code:[3] Reset Reason:Reset/Reload requested by [stack-manager]. [Reload command]

umount: /proc/fs/nfsd: not mounted

Unmounting ng3k filesystems...

Warning! - some ng3k filesystems may not have unmounted cleanly...

Please stand by while rebooting the system...

Restarting system.

 

 

Booting...

 

<OUTPUT TRUNCATED>

 

 

C3650#show interface status

 

Port      Name               Status       Vlan       Duplex  Speed Type

Gi1/0/1                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/2                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/3                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/4                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/5                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/6                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/7                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/8                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/9                      notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/10                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/11                     notconnect   1            auto   auto 10/100/1000BaseTX

         

Port      Name               Status       Vlan       Duplex  Speed Type

Gi1/0/12                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/13                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/14                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/15                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/16                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/17                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/18                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/19                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/20                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/21                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/22                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/0/23                     notconnect   1            auto   auto 10/100/1000BaseTX

         

Port      Name               Status       Vlan       Duplex  Speed Type

Gi1/0/24                     notconnect   1            auto   auto 10/100/1000BaseTX

Gi1/1/1                      notconnect   1            auto   auto unknown

Gi1/1/2                      notconnect   1            auto   auto unknown

Gi1/1/3                      notconnect   1            auto   auto unknown

Gi1/1/4                      notconnect   1            auto   auto unknown

 

 

C3650#show switch

Switch/Stack Mac Address : e00e.dafd.1234 - Local Mac Address

Mac persistency wait time: Indefinite

                                             H/W   Current

Switch#   Role    Mac Address     Priority Version  State

------------------------------------------------------------

*1       Active   e00e.dafd.1234     1      V03     Ready 

 

 

C3650#sh run | i switch

switch 1 provision ws-c3650-24ps