zoukankan      html  css  js  c++  java
  • cisco tftp 备份/恢复

    使用tftp服务器对cisco 3560 配置备份及恢复

    Switch#copy running-config tftp:
    Address or name of remote host []? 192.168.166.236
    Destination filename [Switch-confg]?

    要确保交换机和tftp server之间可以连通就行。
    恢复的话使用类似命令

    Switch#copy tftp:  running-config
    Address or name of remote host []? 192.168.166.236
    Source filename []?Switch-confg

    此时会将配置保存至 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.

    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.

    switch#archive tar /create tftp://192.168.1.100/c3560-ipbase-mz.122-25.SEB4.tar flash:/c3560-ipbase-mz.122-25.SEB4

    三、上传新IOS

    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。

    3550G-24/48-SMI升级为3550G-24/48-EMI方法

    1.准备好EMI的IOS,如:c3550-i5q3l2-tar.121-14.EA1a.tar

    2.准备好TFTP服务器,并将TFTP服务器的工作目录指向到c3550-i5q3l2-tar.121-14.EA1a.tar

    3.配置交换机,如:

    configur terminal

    interface vlan 1

    ip address 198.168.0.1 255.255.255.0

    no shutdown

    4.运行升级命令

    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:旧的ios

    6.switch(config)#boot system flash:c3550-i5q3l2-tar.121-14.EA1a.tar.bin

    7.switch(config)#write mem

    8.switch#reload 重新启动,交换机

  • 相关阅读:
    贪心:字典树openjudge1799-最短前缀
    BFS:noi6044鸣人与佐助
    广搜:codevs-3344(初步bfs)
    2016noip感想(普及组)
    NOI-Openjudge-8462-大盗阿福
    20155326 第12周课堂实践总结(二)String类和Arrays类的学习
    20155326 第12周课堂实践总结(一)
    20155326 实验三 敏捷开发与XP实践
    20155326 2016-2017-2 《Java程序设计》第十周学习总结
    2016-2017-2 20155326实验二《Java面向对象程序设计》实验报告
  • 原文地址:https://www.cnblogs.com/airoot/p/4133901.html
Copyright © 2011-2022 走看看