1、使用 tftp服务器对 cisco 3560 配置备份及恢复Switch#copy running-config tftp: Address or name of remote host ? 192.168.166.236Destination filename Switch-confg?要确保交换机和 tftp server之间可以连通就行。恢复的话使用类似命令Switch#copy tftp: running-configAddress or name of remote host ? 192.168.166.236Source filename ?Switch-confg此时会将配置保存
2、至 startup-config 当中 需要重启后就会使用还原回来的配置CISCO 3560 交换机 IOS升级一、设备清单CICSO 3560交换机,安装了超级终端的 PC,TFTP 或 FTP服务器,c3560-advipservicesk9-mz.122-25.SEE2.bin的 IOS二、备份 IOS执行备份前先用 dir、cd、pwd 等命令看下 flash中的目录结构。这台交换机IOS的 bin文件以及 html文件夹都在flash中 c3560-ipbase-mz.122-25.SEB4目录下。1. /* 将原 IOS备份到 IP为 192.168.1.100的 TFTP服务器上
3、 */switch#copy flash:/c3560-ipbase-mz.122-25.SEB4/c3560-ipbase-mz.122-25.SEB4.bin tftp:/192.168.1.100/c3560-ipbase-mz.122-25.SEB4.bin2. /* 将原 IOS备份为 tar文件到 IP为 192.168.1.100的 TFTP服务器上 */switch#archive tar /create tftp:/192.168.1.100/c3560-ipbase-mz.122-25.SEB4.tar flash:/c3560-ipbase-mz.122-25.SEB4三
4、、上传新 IOS/* 将新 IOS复制到 flash的根目录下 */switch#copy tftp:/192.168.1.100/c3560-advipservicesk9-mz.122-25.SEE2.bin flash:/c3560-advipservicesk9-mz.122-25.SEE2.bin四、更改启动设置1. 让交换机用新的 IOS启动switch(config)#boot system flash:/c3560-advipservicesk9-mz.122-25.SEE2.bin2. 设置备用的 IOS启动switch(config)#boot boothlpr flash
5、:/c3560-ipbase-mz.122-25.SEB4/c3560-ipbase-mz.122-25.SEB4.bin或者 delete flash:/c3560-ipbase-mz.122-25.SEB4/c3560-ipbase-mz.122-25.SEB4.binswitch#writeswitch#reload重启后,交换机会使用新的 IOS。3550G-24/48-SMI升级为 3550G-24/48-EMI方法1.准备好 EMI的 IOS,如:c3550-i5q3l2-tar.121-14.EA1a.tar2.准备好 TFTP服务器,并将 TFTP服务器的工作目录指向到 c35
6、50-i5q3l2-tar.121-14.EA1a.tar3.配置交换机,如:configur terminalinterface vlan 1ip address 198.168.0.1 255.255.255.0no shutdown4.运行升级命令archive download-sw /overwrite tftp:/192.168.0.4/c3550-i5q3l2-tar.121-14.EA1a.tar 或 copy tftp:/192.168.0.4/c3550-i5q3l2-tar.121-14.EA1a.tar.bin flash:5.Switch#delete flash:旧的 ios6.switch(config)#boot system flash:c3550-i5q3l2-tar.121-14.EA1a.tar.bin7.switch(config)#write mem8.switch#reload 重新启动,交换机