Solved

Cisco 2950G Switch Configuration restore

Posted on 2014-02-10
9
1,190 Views
Last Modified: 2014-02-10
Hi,

I'm not a cisco expert I just have very basic knowledge about IOS. My issue is that I have two Cisco 2950 switches running IOS. One switch is in production environment and was configured by CCNE guy with intricate VLAN configs. The second switch is in our shop is a backup unit in case something goes wrong. I have captured the configuration from the production switch using putty and serial cable and now have it in the text file. What I need is to update the second backup switch with exactly the same config as the production.

Just to reiterate the saved config file is a terminal dump from "show run". I need to restore on other identical switch. Please help.
0
Comment
Question by:ihost
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 12

Accepted Solution

by:
Infamus earned 500 total points
ID: 39847827
If you want the exact same configuration from original switch (not connecting the backup switch to current network), then use TFTP to backup from the original and restore to the backup switch.

First run TFTP server on your computer, then..

copy run tftp:
destination : your computer IP address
accept default file name and enter

To restore to your backup switch
copy tftp run
source: your computer IP address
file name: the file name you accepted from above
Destination file name : enter

make sure to "copy run start or wr mem" after the config is restored to your running config.
0
 

Author Comment

by:ihost
ID: 39847960
Assuming I'm a complete CISCO newbie, what are basic steps to get factory default  switch configured to accept tftp connection from the laptop? I have copied the flash bin and the running config file from the production switch. And simply want to have a ready to go identical switch available in case the main one fails.
0
 
LVL 12

Assisted Solution

by:Infamus
Infamus earned 500 total points
ID: 39847968
First you need configure IP on the backup switch and there are many ways.

For example.

config t
int vlan 1
ip address 10.1.1.1 255.255.255.0

Now configure your laptop
10.1.1.100 255.255.255.0
DG 10.1.1.1

connect your laptop using console and network cable

Now try to ping 10.1.1.100 from the switch to see if it responds.

Then from the console you need to run the above tftp commands.
0
 
LVL 9

Expert Comment

by:Trenton Knew
ID: 39848034
connect serial cable to the switch,

enter configuration mode (config t)

paste text file to host

done
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 12

Expert Comment

by:Infamus
ID: 39848070
Also make sure that you have the same firmware installed.

sh ver
0
 
LVL 26

Expert Comment

by:Soulja
ID: 39848196
You don't need to configure the swich ip as the default gw. Just make sure the laptop's ip is on the same subnet as the switch ip.

Also, a cleaner method of installing switch software is to use the .tar files and the archive command.

download the appropriate version .tar file not .bin and use this command

archive download-sw /overwrite /forcereload tftp://x.x.x.x/filename.tar


This method will properly replace any directories and such on your switch as well as the bin file.
0
 
LVL 12

Expert Comment

by:Infamus
ID: 39848206
Right you don't need the default gateway as Soulja mentioned.

It's just my habit to add that as it won't hurt anything.

:P
0
 
LVL 26

Expert Comment

by:Soulja
ID: 39848218
Nope won't hurt at all.
0
 

Author Closing Comment

by:ihost
ID: 39848280
Op success! Thank you gentlemen, I was able to update the boot image and clone the config on my stand-by switch. I give credit to Infamus as his directions were the first one posted here, however appreciate everyones input.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is a how to to configure a UCS Ethernet-uplink portchannel via the console. It is easy to do and can be done quite quickly. In certain versions of the UCS manager the portchannel has issues coming up and this is a workaround. I am…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now