TFTP server 备份思科和华为交换机配置文件
2012-08-08 08:22
686 查看
在这里办公室电脑局域网地址为192.168.17.8,TFTP server软件使用TFTPd32
Cisco交换机备份startup-config文件命令:
Sw#copy startup-config tftp
案例1:
dabaicai>en
Password:
dabaicai#copy star
dabaicai#copy startup-config tftp
Address or name of remote host []? 192.168.17.8
Destination filename [dabaicai-confg]?
!!
6389 bytes copied in 0.076 secs (84066 bytes/sec)
华为S3526交换机备份配置文件使用命令tftp put 配置文件 //TFTP服务器地址/自定义配置文件名
还原则使用TFTP get命令
案例2:
<dabaicai3#>sys
Enter system view , return user view with Ctrl+Z.
[dabaicai3#]tftp put vrpcfg.txt //192.168.17.8/153config
..
Uploading succeeds!
我们也可以尝试备份华为S3526交换机的镜像文件,先查看一下文件名字和大小。
<dabaicai3#>dir
Directory of flash:/
-rwxrwxrwx 1 noone nogroup 3426398 Jul 15 2003 19:58:32 S3526-S3526FM-S3526FS-VRP310-0009.app
-rwxrwxrwx 1 noone nogroup 4219 Aug 04 2012 19:57:39 vrpcfg.txt
7802880 bytes total (4368384 bytes free)
我们把备份文件名字设为153bin。
<dabaicai3#>sys
Enter system view , return user view with Ctrl+Z.
[dabaicai3#]tftp put S3526-S3526FM-S3526FS-VRP310-0009.app //192.168.17.8/153bin
..................................................
.......................................
Uploading succeeds!
华为S2300则命令有所不同,假设TFTP服务器IP为192.168.19.3,需要上传到TFTP服务器的文件为vrpcfg.cfg,则使用命令tftp 192.168.19.3 put vrpcfg.cfg即可。
Cisco交换机备份startup-config文件命令:
Sw#copy startup-config tftp
案例1:
dabaicai>en
Password:
dabaicai#copy star
dabaicai#copy startup-config tftp
Address or name of remote host []? 192.168.17.8
Destination filename [dabaicai-confg]?
!!
6389 bytes copied in 0.076 secs (84066 bytes/sec)
华为S3526交换机备份配置文件使用命令tftp put 配置文件 //TFTP服务器地址/自定义配置文件名
还原则使用TFTP get命令
案例2:
<dabaicai3#>sys
Enter system view , return user view with Ctrl+Z.
[dabaicai3#]tftp put vrpcfg.txt //192.168.17.8/153config
..
Uploading succeeds!
我们也可以尝试备份华为S3526交换机的镜像文件,先查看一下文件名字和大小。
<dabaicai3#>dir
Directory of flash:/
-rwxrwxrwx 1 noone nogroup 3426398 Jul 15 2003 19:58:32 S3526-S3526FM-S3526FS-VRP310-0009.app
-rwxrwxrwx 1 noone nogroup 4219 Aug 04 2012 19:57:39 vrpcfg.txt
7802880 bytes total (4368384 bytes free)
我们把备份文件名字设为153bin。
<dabaicai3#>sys
Enter system view , return user view with Ctrl+Z.
[dabaicai3#]tftp put S3526-S3526FM-S3526FS-VRP310-0009.app //192.168.17.8/153bin
..................................................
.......................................
Uploading succeeds!
华为S2300则命令有所不同,假设TFTP服务器IP为192.168.19.3,需要上传到TFTP服务器的文件为vrpcfg.cfg,则使用命令tftp 192.168.19.3 put vrpcfg.cfg即可。
相关文章推荐
- 华为交换机备份配置文件+还原
- 思科 Cisco IOS配置文件自动备份与回退
- 如何备份思科、锐捷、Juniper的配置文件 推荐
- 思科网络设备IOS及配置文件自动化定时备份与恢复
- 巧用Linux 架设TFTP Server备份路由器的配置文件
- 网络设备(思科,华为交换机、路由器)自动备份配置脚本
- 思科 Cisco IOS配置文件自动备份与回退
- 巧用Linux 架设TFTP Server备份路由器的配置文件
- 巧用Linux 架设TFTP Server备份路由器的配置文件
- 思科路由器配置文件备份和IOS 的备份
- 备份 - spring配置文件详解
- CVS 备份、分发、简化您的配置文件 from [http://www-900.ibm.com/developerWorks/cn/linux/]
- 利用备份文件快速切换网络配置
- 备份的网卡配置文件导致网络故障
- python的PEXPECT模块进行交换机配置文件的自动备份
- archlinux重要配置文件备份
- Esxi主机配置文件备份及还原介绍
- 备份了一个nginx的虚拟主机配置文件报错
- 利用expect脚本实现备份华为交换机配置之(二)
- 将Oracle数据库改为归档模式并启用RMAN备份 如下Linux环境下对Oracle单节点数据库采用文件系统情况的配置归档模式过程。首先查看数据库归档模式和磁盘使用情况,确定归档文件放到什么位置。