网络工程师学习笔记

cisco Switching-升级/更换IOS

2018-07-24  本文已影响92人  凯歌响起

交换机备份

    交换机

Switch(config)# interface vlan 99

Switch(config-if)# ip address 192.168.1.2 255.255.255.0

Switch(config-if)# exit

Switch(config)# interface f0/1

Switch(config-if)# switchport access vlan 99

    电脑

ip设置为192.168.1.1 255.255.255.0即可

查看flash文件名称

Switch#sh flash:

得到****.bin的文件

    开始备份

Switch#copy flash tftp/ftp/usb

Source filename []? ****.bin

Address or name of remote host []? 服务器的地址

交换机升级

    能正常启动

        交换机

Switch(config)# interface vlan 99

Switch(config-if)# ip address 192.168.1.2 255.255.255.0

Switch(config-if)# exit

Switch(config)# interface f0/1

Switch(config-if)# switchport access vlan 99

        电脑

ip设置为192.168.1.1 255.255.255.0即可

        查看要上传的flash文件名称

得到****.bin的文件

        开始升级

Switch#copy tftp/ftp/usb flash

Address or name of remote host []? 服务器的地址

Source filename []? ****.bin

Switchconfig)# no boot system flash:/旧文件

Switch(config)# boot system flash:/新文件

Switch#reload

        如果flash 不够可以删除flash

delete flash:旧文件名

    不能正常启动

断电后按住面板左边的mode键,插入电源插头给交换机加电,然后在界面输入

switch: flash_init

switch: load_helper

switch: copy xmodem:******.bin flash:******.bin

点击超级终端菜单 传输 > 发送文件 选择Xmodem或者Xmodem-1K协议 然后选择IOS文件发送(该方法速度很慢),传输成功后。

switch: boot flash:******.bin

Switch(config)# boot system flash:xxxxxx.bin

上一篇 下一篇

猜你喜欢

热点阅读