Could some one please tell me :
how to take a backup of the ios image and the running config in a 2950 switch to a tftp server
Also I need to know how to restore the config and the ios file back to the switch throgh tftp
for the router I guess we need to use :
copy running-config tftp:
copy tftp: running-config
What is the command to save the ios image ?
To backup the configuration of a Catalyst 2950 switch you telnet into the switch and run the following command:
copy running-config tftp://192.168.100.1/switch1-running-config
To backup the IOS and the switches web-based device manager (the web interface files) you need to do the following:
archive upload-sw tftp://192.168.100.1/switch1-ios.tar
This will create a tar archive called switch1-ios.tar of the IOS and web device manager files from your switch on your tftp server.
To restore the configuration you can either:
1) use DHCP and TFTP as described in AutoInstall Using DHCP for LAN Interfaces (http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t5/dt_dhcpa.htm ); or
2)you can get the basic networking up on the switch using the console and then telnet into the switch and use the following commands:
copy tftp://192.168.100.1/switch1-running-config running-config
copy running-config startup-config
To restore the IOS archive file to the switch you can:
1) get do the basic network configuration, telnet into the switch and use the following command:
archive download-sw tftp://192.168.100.1/switch1-ios.tar
This assumes that the switch has a working IOS on it already.
2) Extract IOS .bin file from the tar archive and then use the XMODEM protocol and a terminal program such as hyperterm upload the image back onto the switch using the console cable. This is what you need to do if for some reason the switch looses its IOS. See http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml
for more information on how to use XMODEM to do this.