sh run to backup all interface settings
interface GigabitEthernet1/0/1
switchport access vlan 13
shutdown
spanning-tree portfast
interface GigabitEthernet1/0/2
switchport access vlan 13
spanning-tree portfast
interface GigabitEthernet3/0/1
switchport access vlan 11
spanning-tree portfast
interface GigabitEthernet3/0/2
switchport access vlan 11
spanning-tree portfast
Switch#sh inv
NAME: "3", DESCR: "WS-C2960S-24TS-L"
PID: WS-C2960S-24TS-L , VID: V02 , SN: FOC1432W130
NAME: "1", DESCR: "WS-C2960S-48FPS-L"
PID: WS-C2960S-48FPS-L , VID: V03 , SN: FOC1715Z4Z1
NAME: "2", DESCR: "WS-C2960S-24PS-L"
PID: WS-C2960S-24PS-L , VID: V04 , SN: FOC1823Z4NF
Switch#sh switch detail
Switch/Stack Mac Address : 58bc.27ff.b500
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
1 Member f41f.c294.d080 1 1 Ready
2 Member 0008.2f9b.9680 1 1 Ready
*3 Master 58bc.27ff.b500 15 1 Ready
Switch(config)#switch 1 renumber 3
Switch(config)#switch 3 renumber 1
Switch(config)#reload
Switch(config)#default interface ran g1/0/1-48
Switch(config)#default interface ran g3/0/1-48
replace new interface settinges
interface GigabitEthernet3/0/1
switchport access vlan 13
shutdown
spanning-tree portfast
interface GigabitEthernet3/0/2
switchport access vlan 13
spanning-tree portfast
interface GigabitEthernet1/0/1
switchport access vlan 11
spanning-tree portfast
interface GigabitEthernet1/0/2
switchport access vlan 11
spanning-tree portfast