第一步:根据 Flash 卡的容量大小从 CCO 上下载 Catalyst 6509 相应的 Native IOS 系统软件;
通过 show slot0: 可以查看到 Flash 卡的容量,我们所选择的软件大小应该小于或等于 Flash 卡的容量。 假如 Flash 卡容量为 24M ,我们选择 Catalyst 6509 IOS 软件 c6sup22-psv-mz.121-8b.E15 ,该软件用于 S2 MSFC2 ,为服务提供商的特性软件,版本是 12.18b(E15) 。大小为 18.1MB ,与现有的 Flash 卡的容量相当。
这些从 CCO 的软件中心下载 c6sup22-psv-mz.121-8b.E15 保存在机器的 TFTP 主目录里。
第二步:保存现有的 CatOS 系统软件和交换机配置文件;
若软件转换后,交换机不能正常运行,备份和恢复现有的系统软件和配置文件将有利于快速地把系统切换到初始状态。启动 TFTP 服务器进程。
cs6509>(enable) copy slot0: cat6000-sup2k9.7-1-2 tftp
cs6509>(enable)copy config tftp
第三步:删除 Flash 卡上的部分文件以获得充足的存储空间
cs6509>(enable)cd slot0:
cs6509>(enable)dir
cs6509>(enable)delete cat6000-sup2k9.7-1-2
cs6509 >(enable)squeeze slot0:            //
清空 slot0, 否则重启生效上一步
第四步:打开 TFTP 服务器的程序 , IOS 文件拷贝到 Flash 卡和 bootflash 上:
cs6509>(enable)copy tftp flash
ip:*.*.*.*
filename: c6sup22-psv-mz.121-8b.E15
flash device:slot0
bootflash:
dir slot0: dir bootflash: 命令证实 c6sup22-psv-mz.121-8b.E15 文件已经存在于 Flash 卡和 bootflash 上。
第五步:修改交换机的配置寄存器使其下次启动的时候进入 ROM 监视模式:
cs6509>(enable)set boot config-register 0x0
第六步:切换到 MSFC2 ,使其下次按缺省的方式启动:
cs6509>(enable)session 15
msfc1# configure terminal
msfc1(config)# config-register 0x2102
msfc1(config)# end
msfc1r#wr m
msfc1# exit
第七步:在交换状态,重启动交换机使其进入 ROM 监视模式,并在监视模式下手动选择所应该加载的系统软件:
rommon 1 > CONFIG_FILE=
rommon 2 > sync
rommon 3 > boot slot0: c6sup22-psv-mz.121-8b.E15
第八步:在引导完 Cisco IOS 后,格式化 bootflash ,并将 IOS 文件从 Flash 卡上拷贝到 bootflash 上:
router#format sup-bootflash

router#copy slot0: c6sup22-psv-mz.121-8b.E15 sup-bootflash:
第九步:将配置寄存器设置为正常状态,即根据 NVRAM 里的配置文件中的 boot system flash 命令里的系统文件列表逐一尝试启动交换机,以下配置表示交换机首先从 flash 卡上的 c6sup22-psv-mz.121-8b.E15 文件来引导系统,若引导失败,再用引擎 bootflash 上的 c6sup22-psv-mz.121-8b.E15 文件引导系统:
Router(config)# boot system flash slot0: c6sup22-psv-mz.121-8b.E15
Router(config)# boot system flash sup-bootflash: c6sup22-psv-mz.121-8b.E15
Router(config)# config-register 0x102
Router# write memory
Router# reload<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />