Copy Config To Other Switch Using Xmodem
Copy Config To Other Switch Using Xmodem
Xmodem
I just had a request to replace an old 24 port switch with a 48 port from the stock.
The old one was a Catalyst 2950, the new one is a Catalyst 3550.
Luckily we do a weekly backup of all our configs with Cattools, so I had the old config
saved. Both the 2950 and the 3550 are Fast Ethernet switches, and have 2 slots for Gigabit
GBICs.
I fired up hyperterminal and connected it to the 3550, first I did "del start" and "reload" to
delete the old startup-config.
Of course the 3550 is one of the older models that doesn't have an USB port yet, so
Xmodem was my (easiest) only option.
On the switch do the following commands to copy the old config to flash :
Switch#sh flash:
Directory of flash:/
Switch#reload
Proceed with reload? [confirm]
00:11:41: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload
Command.
When the switch boots without errors, login again, you'll need the original switchs
passwords as those are also copied.
At this moment port Fa0/1 to 24 will be configured the same as the original switch, so you
might want to set the default values to the same for port 25-48 depending of your needs.
The Gigabit ports will both have the same config as the old switch.
interface FastEthernet0/24
description Legacy
switchport access vlan 180
switchport mode access
no logging event link-status
spanning-tree portfast
NewSwitch#config terminal
NewSwitch(config)#int range fa0/25 - 48
NewSwitch(config-if-range)#description Legacy
NewSwitch(config-if-range)# switchport access vlan 180
% Access VLAN does not exist. Creating vlan 180
NewSwitch(config-if-range)# switchport mode access
NewSwitch(config-if-range)# no logging event link-status
NewSwitch(config-if-range)# spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single host. Connecting
hubs, concentrators, switches, bridges, etc... to this interface when portfast is enabled, can
cause temporary bridging loops. Use with CAUTION
%Portfast will be configured in 24 interfaces due to the range command
but will only have effect when the interfaces are in a non-trunking mode.
You might have to add other vlans manually depending on the original switch.
Next week I have to do a 2960S 24port to 2960S 48port, those already have an USB port
which will make it less painfull then using Xmodem.