欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

思科Cisco路由器與交換機配置——配置文件和系統(tǒng)映像備份與恢復實驗案例詳解

  發(fā)布時間:2020-02-18 15:24:43   作者:Stalk   我要評論
這篇文章主要介紹了思科Cisco交換機配置文件和系統(tǒng)映像備份與恢復實驗,結(jié)合具體案例形式詳細分析了思科Cisco交換機備份配置文件和系統(tǒng)映像到TFTP服務器,以及恢復備份的相關(guān)操作命令與使用技巧,需要的朋友可以參考下

本文實例講述了思科Cisco交換機配置文件和系統(tǒng)映像備份與恢復實驗。分享給大家供大家參考,具體如下:

一、實驗目的:將交換機的配置文件和系統(tǒng)鏡像文件備份到TFTP服務器,然后將自身的配置和系統(tǒng)映像刪除,從TFTP服務器上恢復配置文件和系統(tǒng)鏡像

二、拓撲圖如下:

三、實驗步驟:

1、先給服務器Srv1配置ip地址

2、開啟Srv1TFTP服務

3、配置交換機S1

Switch>enable  --進入特權(quán)模式
Switch#config terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1  --修改交換機名為S1
S1(config)#line vty 0 5  --指定虛擬終端個數(shù)
S1(config-line)#password 111  --設置遠程登錄密碼
S1(config-line)#login  --保存密碼配置(必設置)
S1(config-line)#interface vlan 1   --進入到vlan1端口
S1(config-if)#ip address 192.168.1.1  255.255.255.0  --配置vlan1的ip地址
S1(config-if)#no shutdown  --激活端口

S1(config-if)#end  --返回特權(quán)模式
%LINK-5-CHANGED: Interface Vlan1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

S1#
%SYS-5-CONFIG_I: Configured from console by console

S1#copy running-config startup-config  --保存配置
Destination filename [startup-config]? 
Building configuration...
[OK]

(1)備份系統(tǒng)鏡像文件到tftp服務器上(路由器也是一樣的操作)

S1#show flash:  --查看系統(tǒng)鏡像文件的文件名
Directory of flash:/

1 -rw- 4414921 <no date> c2960-lanbase-mz.122-25.FX.bin

64016384 bytes total (59601463 bytes free

S1#copy flash tftp  --將flash的鏡像文件備份到tftp
Source filename []? c2960-lanbase-mz.122-25.FX.bin
Address or name of remote host []? 192.168.1.2  --輸入Sr1地址
Destination filename [c2960-lanbase-mz.122-25.FX.bin]? S1.bin  --設置文件名

Writing c2960-lanbase-mz.122-25.FX.bin....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 4414921 bytes]

4414921 bytes copied in 3.062 secs (1441000 bytes/sec)

備份完畢后可以通過# copy tftp flash來下載備份

(2)備份配置文件(和備份系統(tǒng)鏡像操作一致,路由器也是相同操作)

S1#copy running-config tftp:   -- 將ftp服務器上的配置文件備份到RAM中
Address or name of remote host []? 192.168.1.2  
Destination filename [S1-confg]? 

Writing running-config...!!
[OK - 1092 bytes]

1092 bytes copied in 0 secs

備份完畢后使用# copy tftp running-config 來恢復備份

相關(guān)文章

最新評論