📄 seq5.htm
字号:
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>BOSON CCNA COURSE - Lab 5</title>
</head>
<body>
<script language="Javascript">
<!--
function printpage() {
if (window.print)
window.print()
else
alert("Sorry, your browser doesn't support this feature.");
}
//-->
</script>
<FORM>
<p align="left">
<INPUT TYPE="button" VALUE="Print this page" onClick="printpage()"> </p>
</FORM>
<p align="left"> </p>
<p align="left"><b><font face="Times New Roman" size="3"><u><a name="5"></a>LAB 5 - TFTP</u><br>
</font></b></p>
<p align="left"><font face="Times New Roman" size="3">1. In this lab, you are going to configure PC1 as a TFTP-Server. You will then backup and restore router4抯 configuration to the TFTP-Server.<br>
</font></p>
<p align="left"><font face="Times New Roman" size="3">2. Under the NetSim, select PC1 from the Other Devices drop-down menu. Configure PC1 to have an IP address of 195.10.1.2 with a mask of
255.255.255.0 and a default-gateway of 195.10.1.1. Use the winipcfg utility on the PC to do this.
The PC is automatically enabled to be a TFTP server.</font></p>
<p align="left"><font face="Times New Roman" size="2"> c:> winipcfg<br>
</font></p>
<p align="left"><font face="Times New Roman" size="3">3. On router4, make sure you can ping PC1:</font></p>
<p align="left"><font face="Times New Roman" size="2"> router4# ping 195.10.1.2<br>
</font></p>
<p align="left"><font face="Times New Roman" size="3">4. On router4, copy your running-configuration to the tftp-server. You will be prompted for the address of the tftp-server (195.10.1.2).
You will also be prompted for a file name (any name you choose).</font></p>
<p align="left"><font face="Times New Roman" size="2"> router4# copy running-config tftp<br>
</font></p>
<p align="left"><font face="Times New Roman" size="3">5. On the tftp-server (PC1), issue the show tftp-configs command to see if router4抯 configuration was successfully backed up (this is not a standard PC command, but one developed for use with the NetSim).</font></p>
<p align="left"><font size="2" face="Times New Roman"> c:> show tftp-configs<br>
</font><font face="Times New Roman" size="3">
<br>
</font></p>
<p align="left"><font face="Times New Roman" size="3">6. You will now restore the configuration you saved on the TFTP server to NVRAM on router4. Make sure router4抯 NVRAM is currently
empty by issuing the show startup-config command. If it is not empty, use the erase startup-config command to clear it. Restore the configuration
from the tftp-server to NVRAM on router4 with the following copy command (enter the PC抯 IP address and previously-saved file name when prompted):</font></p>
<p align="left"><font face="Times New Roman" size="2"> router4# copy tftp startup-config<br>
</font></p>
<p align="left"><font face="Times New Roman" size="3">7. Issue the show startup-config command. You should now see the restored configuration file in NVRAM.<br>
a. Question: was it necessary to clear out router4抯 NVRAM in order to copy a file into it? Why?</font></p>
<p align="left"> </p>
<p align="left"><font face="Times New Roman" size="2"><span class="724482219-24092001">Copyright (c) 1998-2003 Boson Software, Inc. All Rights Reserved.</span></font></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -