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服务器上 */

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.bin

2. /* 将原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

三、上传新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.bin

2. 设置备用的IOS启动

switch(config)#boot boothlpr flash:/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.bin

switch#write

switch#reload

重启后,交换机会使用新的IOS。

yantaisolo

作者 yantaisolo