日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發(fā)布時間:2025/3/21 编程问答 13 豆豆
生活随笔 收集整理的這篇文章主要介紹了 实验 3:备份和还原配置文件 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

?

?

?

交換機備份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#

?

轉(zhuǎn)載于:https://www.cnblogs.com/peter1007/p/9318562.html

總結(jié)

以上是生活随笔為你收集整理的实验 3:备份和还原配置文件的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。