1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 实验 3:备份和还原配置文件

实验 3:备份和还原配置文件

时间:2023-03-18 09:28:56

相关推荐

实验 3:备份和还原配置文件

交换机备份TFTP

Loading "flash:/c2960-lanbase-mz.122-25.FX.bin"...######################### [OK]Restricted Rights LegendUse, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software - RestrictedRights clause at FAR sec. 52.227-19 and subparagraph(c) (1) (ii) of the Rights in Technical Data and ComputerSoftware 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- by Cisco Systems, piled Wed 12-Oct-05 22:05 by pt_teamImage 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.8027Motherboard assembly number: 73-9832-06Power supply part number : 341-0097-02Motherboard serial number : FOC103248MJPower supply serial number: DCA102133JAModel revision number : B0Motherboard revision number: C0Model number: WS-C2960-24TTSystem serial number : FOC1033Z1EYTop Assembly Part Number : 800-26671-02Top Assembly Revision Number : B0Version ID : V02CLEI Code Number: COM3K00BRAHardware Board Revision Number : 0x01Switch Ports Model SW Version SW Image------ ----- ----- ---------- ----------* 1 26WS-C2960-24TT12.2C2960-LANBASE-MCisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)Copyright (c) 1986- by Cisco Systems, piled 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>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname SW1lSW1(config)#interface vlan 1SW1(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)#endSW1#%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#wrBuilding configuration...[OK]SW1#copy startup-config tftp:Address or name of remote host []? 192.168.1.2Destination filename [SW1-confg]? Writing startup-config...!![OK - 1055 bytes]1055 bytes copied in 0 secs

还原配置文件

SW1#conf tEnter configuration commands, one per line. End with CNTL/Z.SW1(config)#hostname testnametestname(config)#endtestname#%SYS-5-CONFIG_I: Configured from console by consoletestname#copy tftp: running-config Address or name of remote host []? 192.168.1.2Source filename []? SW1-confgDestination 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 secsSW1#%SYS-5-CONFIG_I: Configured from console by consoleSW1#SW1#SW1#

路由器

Router>enRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#host R1R1(config)#no ip domain-loR1(config)#line console 0R1(config-line)#logging synR1(config-line)#exec-timeout 00R1(config-line)#inter fa0/0R1(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)#endR1#%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#wrBuilding configuration...[OK]R1#copy running-config tftp:Address or name of remote host []? 192.168.1.2Destination filename [R1-confg]? Writing running-config...!![OK - 632 bytes]632 bytes copied in 0.001 secs (632000 bytes/sec)R1#

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。