实验 3:备份和还原配置文件
交换机备份TFTP
Loading "flash:/c2960-lanbase-mz.122-25.FX.bin"... ######################### [OK]Restricted Rights LegendUse, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013.cisco Systems, Inc.170 West Tasman DriveSan Jose, California 95134-1706Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by Cisco Systems, Inc. Compiled Wed 12-Oct-05 22:05 by pt_team Image text-base: 0x80008098, data-base: 0x814129C4Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.24 FastEthernet/IEEE 802.3 interface(s) 2 Gigabit Ethernet/IEEE 802.3 interface(s)63488K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : 000B.BE37.8027 Motherboard assembly number : 73-9832-06 Power supply part number : 341-0097-02 Motherboard serial number : FOC103248MJ Power supply serial number : DCA102133JA Model revision number : B0 Motherboard revision number : C0 Model number : WS-C2960-24TT System serial number : FOC1033Z1EY Top Assembly Part Number : 800-26671-02 Top Assembly Revision Number : B0 Version ID : V02 CLEI Code Number : COM3K00BRA Hardware Board Revision Number : 0x01Switch Ports Model SW Version SW Image ------ ----- ----- ---------- ---------- * 1 26 WS-C2960-24TT 12.2 C2960-LANBASE-MCisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by Cisco Systems, Inc. Compiled Wed 12-Oct-05 22:05 by pt_teamPress RETURN to get started!%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch>en Switch#conf t Enter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname SW1 l SW1(config)#interface vlan 1 SW1(config-if)#ip add 192.168.1.1 255.255.255.0SW1(config-if)#no shutdown SW1(config-if)# %LINK-5-CHANGED: Interface Vlan1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to upSW1(config-if)#end SW1# %SYS-5-CONFIG_I: Configured from console by consoleSW1#ping 192.168.1.2Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/1 msSW1#wr Building configuration... [OK]SW1#copy startup-config tftp: Address or name of remote host []? 192.168.1.2 Destination filename [SW1-confg]? Writing startup-config...!! [OK - 1055 bytes]1055 bytes copied in 0 secs
还原配置文件
SW1#conf t Enter configuration commands, one per line. End with CNTL/Z.SW1(config)#hostname testnametestname(config)#end testname# %SYS-5-CONFIG_I: Configured from console by consoletestname#copy tftp: running-config Address or name of remote host []? 192.168.1.2 Source filename []? SW1-confg Destination filename [running-config]? Accessing tftp://192.168.1.2/SW1-confg... Loading SW1-confg from 192.168.1.2: ! [OK - 1055 bytes]1055 bytes copied in 0 secs SW1# %SYS-5-CONFIG_I: Configured from console by consoleSW1# SW1# SW1#
路由器
Router>en Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#host R1 R1(config)#no ip domain-loR1(config)#line console 0R1(config-line)#logging synR1(config-line)#exec-timeout 00R1(config-line)#inter fa0/0 R1(config-if)#ip add 192.168.1.1 255.255.255.0R1(config-if)#no shutdown R1(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR1(config-if)#end R1# %SYS-5-CONFIG_I: Configured from console by consoleR1#ping 192.168.1.2Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/1 msR1#wr Building configuration... [OK]R1#copy running-config tftp: Address or name of remote host []? 192.168.1.2 Destination filename [R1-confg]? Writing running-config...!! [OK - 632 bytes]632 bytes copied in 0.001 secs (632000 bytes/sec) R1#
转载于:https://www.cnblogs.com/peter1007/p/9318562.html
实验 3:备份和还原配置文件相关推荐
- 轻松备份和还原Firefox配置文件
Transferring a Firefox profile from one computer to another can be a pain if you have to do it manua ...
- 计算机系统的备份与还原实验报告,数据库《数据备份与还原》实验报告.doc
<数据库<数据备份与还原>实验报告.doc>由会员分享,提供在线免费全文阅读可下载,此文档格式为doc,更多相关<数据库<数据备份与还原>实验报告.doc&g ...
- mysql binlog 备份_Mysql数据库的增量备份与还原
一.备份的目的 做灾难恢复:对损坏的数据进行恢复和还原. 二.备份需要考虑的问题 可以接受丢失多少数据: 恢复数据的时间要多久: 恢复数据时是否持续提供服务: 恢复的对象,是一个库,多个表,单个表,还 ...
- ISA server 的备份与还原
前面介绍了几篇关于ISA的文章,今天在来介绍一下ISA server的备份与还原,ISA server的备份与还原十分的简单,在ISA 2004中就新增加了配置文件的导入与导出功能,今天我们在ISA ...
- MariaDB数据库的备份和还原
MariaDB数据库备份和还原 ------------------------------------------------------------------------------------ ...
- windows备份与还原和两个主机的相互通信
DAY02Windows 实验一: 实验名称:windows系统的备份与还原 实验描述:为了保证系统的安全对系统做备份与还原操作系统 实验拓扑: 实验步骤: 步骤一:将急救大师软件安装在虚拟机的系统上 ...
- MySQL中使用innobackupex、xtrabackup进行大数据的备份和还原
大数据量备份与还原,始终是个难点.当MYSQL超10G,用mysqldump来导出就比较慢了.在这里推荐xtrabackup,这个工具比mysqldump要快很多. 本文还参考了:http://blo ...
- H3C路由器的备份与还原(1)
H3C路由器是我们常用到的网络设备,那么该如何进行路由器的备份与还原呢?下面的文章将从两种方法介绍了如何改变VRP的配置从而进行对路由器的备份与还原. 对于路由器来说我们需要保护两个参数的安全,一个就 ...
- DAY02 WINDOWS Ghost系统的备份与还原以及不同虚拟机的通信的实现
实验一 实验名称: ghost做系统的备份与还原 实验描述:对系统进行备份,可以使用户在电脑中病毒或出故障后,可以还原到一个比较纯净的系统环境 实验步骤: 步骤1:点击编辑虚拟机设置-CD/DVD-选 ...
最新文章
- 2、onclickListener冲突
- web人力资源信息系统开发日志②
- 阿里面试:索引失效的场景有哪些?索引何时会失效?
- 施密特出售Google股票套现3.27亿美元
- java optional 用法_Java 8中的Optional: 如何正确使用?
- 美国明确警告德国,3G退网5G手机不需要换号,抽烟酗酒学生不能认定为家庭经济困难,大学食堂凭运动步数打折,这就是今天的大新闻。...
- 不能从远程创建com+对象_红蓝对抗攻防实战:寻找COM对象
- LoadLibrary 失败 GetLastError 126
- 格罗方德今年有望提高汽车芯片产量,并将投入60亿美元扩大产能
- (c语言编程)出现错误:null undeclared identifier
- 提示microsoft incremental linker已停止工作解决方法
- 【王道计组笔记】高速缓存器:局部性原理及性能分析
- oracle同音模糊查询
- 学说不能选计算机专硕的课,初试前先选组,选定离手还不能改?北京邮电大学计算机...
- 期待只在最美的时光遇见你
- 中国计算机学会青年计算机科技论坛
- 如果光猫+hadoop,有化学反应吗?
- Android手机管理工具类
- 实现Excel里每个sheet的排序并整合在一个sheet里
- ArcGIS Engine基础(21)之面积测量(带内外环面积计算方法、地理坐标系和投影坐标系通用)