免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7603 | 回复: 6
打印 上一主题 下一主题

CISCO路由器与交换机的TFTP备份问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-08-17 21:20 |只看该作者 |倒序浏览
我在工作时想把我们单位的CISCO交换机与路由器的配置用CISCO的TFTP备份软件保存下来,以防设备出问题时没有备份,到时能迅速予以恢复,可始终
不成功。
    我的做法是在用于备份的计算机上安装CISCO TFTP1、1的软件。然后进入交换机和路由器的超级用户状态用COPY命令备份,但始终不成功。
    请问各位高手:用TFTP备份该怎么做才能成功呢?
    附录:我的操作环境。
    WINDOWS2000的操作系统下用其自带的超级终端软件。
    操作时的步骤如下:先打开TFTP软件,然后连接路由器的CONS口与计算机的串口,连好后进入超级用户界面如下:
    #router  copy  running-config tftp
      然后输入主机的IP地址和备份的文件名开始备份操作,但每次备份开始后总报告错误。
    请问这是我的操作错误呢?还是什么原因呢?请各位予以指点。
    谢谢。

论坛徽章:
0
2 [报告]
发表于 2003-08-17 22:52 |只看该作者

CISCO路由器与交换机的TFTP备份问题

希望下面的资料对你有用
Backing up your router IOS


1. Log in to Router and go into privileged mode by typing enable (or en).

2. Make sure you can connect to the TFTP host
    Type ping 192.168.10.254

    Router#ping 192.168.10.254
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.10.254, timeout is 2 seconds:
    !!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 32/41/68 ms

3. Type show flash to see the contents of flash memory.  Since there is only one file in flash, you see the
    same file as the show version command displays.

4. Type show version at the router privilege mode prompt to get the name of the IOS currently running on
    the router.  Notice the file name is  c2500-d-l_113-5.bin.

    Router#show version

    ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
    BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTW
    ARE (fc1)
    Router uptime is 20 minutes
    System restarted by power-on
    System image file is "flash:c2500-d-l_113-5.bin", booted via flash
    Processor board ID 03240944, with hardware revision 00000000
    Bridging software.
    X.25 software, Version 3.0.0.
    1 Ethernet/IEEE 802.3 interface(s)
    1 Serial network interface(s)
    32K bytes of non-volatile configuration memory.
    8192K bytes of processor board System flash (Read ONLY)
    Configuration register is 0x2102

5. Once you know you have good Ethernet connectivity to the TFTP host and you also know the IOS
    file name, backup your IOS by typing copy flash tftp.  This command tells the router to
    copy the contents of flash (this is where the IOS is stored by default) to a TFTP host.

    Router#copy flash tftp

    System flash directory:
    File  Length   Name/status
      1   6078548  c2500-d-l_113-5.bin
    [6078612 bytes used, 2309996 available, 8388608 total]
    Address or name of remote host [255.255.255.255]? type 192.168.10.254

    Source file name? type c2500-d-l_113-5.bin

    Destination file name [c2500-d-l_113-5.bin]? press enter

    Verifying checksum for 'c2500-d-l_113-5.bin' (file # 1)...  OK
    Copy 'c2500-d-l_113-5.bin' from Flash to server
      as 'c2500-d-l_113-5.bin'? [yes/no] type y                        
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Upload to server done
    Flash copy took 0:01:53 [hh]

That's it! The file is now stored in the TFTP hosts default directory.

Backing up the router configuration

1. From Router, ping the TFTP host to make sure you have IP connectivity:

    Router#ping 192.168.10.254

2. From Router, type copy run tftp:

    Router#copy run tftp
    Remote host [ ]?

3. Type the ip address of the tftp host (192.168.10.254):

    Remote host [ ] ? 192.168.10.254
    Name of configuration file to write [Router-confg)? Press enter to accept the default name
    Write file Router-confg on host 192.168.10.254? [confirm] Press enter

.

论坛徽章:
0
3 [报告]
发表于 2003-08-18 08:34 |只看该作者

CISCO路由器与交换机的TFTP备份问题

pc的网卡联上

论坛徽章:
0
4 [报告]
发表于 2003-08-18 20:52 |只看该作者

CISCO路由器与交换机的TFTP备份问题

很让我伤心,我再次实验又失败了。在路由器上PINGTFTP服务器的地址无法通过。在交换机上能通过,但仍旧都无法备份。

论坛徽章:
0
5 [报告]
发表于 2003-08-19 10:02 |只看该作者

CISCO路由器与交换机的TFTP备份问题

用tftp备份,必须用你的计算机用网卡连上才行!在计算机机上运行tftp,然后,你telnet上,或者用超级终端连上你的设备都行,输入
copy xxx  tftp     xxx为你想要备份的东西!
然后输入你的tftp机器的地址,然后是你要备份东西的文件名,这样就ok了!

论坛徽章:
0
6 [报告]
发表于 2009-02-20 10:52 |只看该作者

实验成功了

非常感谢。。。

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
7 [报告]
发表于 2009-02-20 12:11 |只看该作者
如果仅仅备份配置的话,用超级终端或者CRT 复制粘贴或者抓文本都可以的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP