1. 程式人生 > >CCNA實驗:實驗三:備份和還原配置檔案

CCNA實驗:實驗三:備份和還原配置檔案

實驗三:備份和還原配置檔案

@toc

一、實驗目標

1.學會通過TFTP伺服器備份配置檔案 2.學會通過TFTP伺服器還原配置檔案

二、實驗步驟

1.使用TFTP伺服器備份交換機配置檔案 2.使用TFTP伺服器還原交換機配置檔案 3.使用TFTP伺服器備份路由器配置檔案 4.使用TFTP伺服器還原路由器配置檔案

三、實驗具體過程

1.分別配置交換機、路由器、伺服器

  • 配置交換機
en 
conf t
no ip domain-lookup
line console 0
logg syn 
exec-t 0 0
exit
inter vlan 1
ip add 192.168.1.1 255.255
.255.0 no shut ip default-gateway 192.168.1.254 end wr
  • 配置路由器
en
conf t
no ip domain-lookup
line console 0
logg syn
exec-t 0 0
exit
inter fa0/0
ip add 192.168.2.1 255.255.255.0
no shut

2.對於實驗步驟一:備份交換機配置檔案

en
copy startup-config tftp:
192.168.1.2   //伺服器的IP地址
可以改名或者不改

然後可以在伺服器的services的TFTP端可以檢視到備份的配置檔案

3.對於實驗一:還原交換機的配置檔案

en
conf t
hostname sw123   //將交換機的名字改變
exit
copy tftp: running-config
192.168.1.2   //伺服器的IP
sw1-config   填寫上次備份的檔名
可以改名或者不改

4.備份和還原路由同上