📄 copylab.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Show Lab</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>
<INPUT TYPE="button" VALUE="Print this page" onClick="printpage()">
</FORM>
<p><font face="Arial, Arial, Helvetica" color="#008000" size="4"><b>Copy Lab
Overview</b></font></p>
<p><font face="Arial"><i>Objective</i>: In
this lab we will become
familiar with the Router Configuration as well as be introduced to the
Copy Commands Available to us in the Cisco IOS.<br>
<i>Lab Equipment</i>: We will be using eRouter
1. To select eRouter 1 click on the button "eRouter" located at the top of the screen.</font></p>
<p><font color="#FF00FF">1</font>. Get to the router prompt.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer</option>
<option>Router></option>
</select></p>
<p><font color="#FF00FF">2</font>. Enter Privilege Mode.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router>enable</option>
<option>Router#</option>
</select></p>
<p><font color="#FF00FF">3</font>. Show the active configuration in memory. The currently active configuration script running on the router is referred
to as the <i>running-config</i> on the routers command-line interface. Note
that
privileged mode is required. The running configuration script is <b>not</b>
automatically saved on a Cisco router, and will be lost in the event of power
failure. The running configuration must be manually saved with the <i>copy</i>
command.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router#show running-config</option>
</select></p>
<p><font color="#FF00FF">4.</font> <font face="Times New Roman">Try and
show the configuration stored in NVRAM, this is your <i>startup-config</i>. We
have not saved the configuration so there is not one to show. </font></p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router#show startup-config</option>
</select></p>
<p><font color="#FF00FF">5.</font> <font face="Times New Roman">Copy
the current active configuration to NVRAM. The current active
configuration is in RAM and we would like to save it so that in the event the of a
power outage the router will still boot up with our configuration. </font></p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router#copy running-config startup-config</option>
</select></p>
<p><font color="#FF00FF">6.</font> <font face="Times New Roman">Now show
the configuration stored in NVRAM. </font></p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router#show startup-config</option>
</select></p>
<p><font color="#FF00FF">7.</font> If we decided that we would like to start
configuring the router from scratch we could erase the <i>startup-config</i> and reload
the router. This will enable us to completely delete <b>ALL</b>
configuration on the router so that we can start from scratch. What command will
delete your configuration file in NVRAM.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router#erase startup-config</option>
</select></p>
<p><font face="Arial, Arial, Helvetica"><font color="#FF00FF">8.</font> </font>
<font face="Times New Roman">Now that we have deleted our configuration lets
reload the router. The router notices that you have a configuration and
asks you if you would like to save it before you reload. We do not want to
save it so we are going to select </font>
<font face="Terminal" size="2">no</font><font face="Times New Roman">. </font></p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router#reload</option>
</select></p>
<p><font face="Arial, Arial, Helvetica"><font color="#FF00FF">9.</font> </font>
<font face="Times New Roman">After
the router is done rebooting lets look at the startup configuration file again.
Because we did not save it before we reloaded there is nothing
there. </font></p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router#show startup-config</option>
</select></p>
<p><font color="#FF00FF">10.</font> Now lets change the hostname of your router
to <b>Boson</b>. What command will do this? </p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Router#config terminal</option>
<option>Router(config)#hostname Boson</option>
<option>Boson(config)#exit</option>
<option>Boson#</option>
</select></p>
<p><font color="#FF00FF">11.</font> After we changed the hostname we will now
reload the router and when the router asks we will save our configurations.</p>
<p><select size="1" name="D1">
<option selected>- Click here to View Answer -</option>
<option>Boson#reload</option>
</select></p>
<p><font color="#FF00FF">12. </font>After the router is done reloading notice
that the routers hostname is still there this is because we saved the
configuration before we reloaded.</p>
<p> </p>
<p><font face="Arial, Arial, Helvetica" size="4" color="#008000"><b>Basic Copy Commands Lab</b></font></p>
<p><font face="Times New Roman"><font color="#FF00FF">1.</font> Login to the Router and get to the
Privileged Mode Prompt(#).</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">2.</font> View your running configuration.
_____________________</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">3.</font> Show
your configuration stored in NVRAM. Did you see anything? _____________________</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">4.</font> Now
copy your current active configuration into NVRAM. What command will do
this? ___________________</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">5.</font> Now
again show your configuration stored in NVRAM. _____________________</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">6.</font> Erase
your configuration stored in NVRAM. _____________________</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">7.</font> Reload
the router and do not save your changes. What command did you use?
__________________</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">8</font>. Now
again show your configuration stored in NVRAM. _____________________</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">9.</font> Change
your routers hostname to <b>Boson</b>. What command did this? ________________________</font></p>
<p><font face="Times New Roman"><font color="#FF00FF">10</font>. Reload
the router again but this time save your changes. </font></p>
<p><font face="Times New Roman"><font color="#FF00FF">11.</font> Notice
that your hostname was not deleted. This is because we saved our
configuration.</font></p>
<p> </p>
<p> </p>
<p><font face="Arial" 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 + -